API
The web application is a client of the same HTTP API you can call. Every route and schema is described by an OpenAPI document, and each deployment serves an interactive reference at /docs on its API host.
Note Paths and fields change as the platform grows. Treat your deployment's interactive reference as the source of truth.
Authenticate
Request a token with your username and password, form-encoded. The response contains an access_token.
curl -X POST https://<api-host>/api/v1/session/token \
-d 'username=<username>' \
-d 'password=<password>'
Call the API
Send the token as a bearer token. For example, to list data structures:
curl https://<api-host>/api/v1/data-structures \
-H 'Authorization: Bearer <access_token>'
Same rules as the application
API calls go through the same authorization as the web application. A token can read and do exactly what its user can, and no more.
Typed client
The web application uses a TypeScript client generated from the same OpenAPI schema, so the reference and the client cannot drift.