API Reference
The public API lives at https://api.ara.so/v3. An ara_ API key is bound to
the Ara workspace where it was created.
Get an API key
- Sign in to Ara and open your workspace.
- Open Settings → Ara CLI.
- Under API keys for CI, select Generate key.
- Choose the narrowest scopes and an expiration, then copy the key.
Treat the key like a password. Store it in a secret manager, never in source control or browser code.
Verify the key
Set the key in your shell and call /v3/self:
The response includes the organization ID bound to the key:
Use that value in the remaining examples:
Try the API
List connected repositories
Requires repos:read.
Start a session
Requires run. Replace acme/web with a repository connected to the workspace.
The response includes a session_id. Session creation is asynchronous.
Read the session
Requires sessions:read.
Common scopes
Use the narrowest scopes that work. Secret values are write-only and can never be read back through the API.
For exact request fields, response schemas, and every public endpoint, open the full endpoint reference.