Authentication
The API authenticates with a bearer API key. Create and manage keys in the Console → API keys.
Creating a key
- Open API keys in the console.
- Click Create key, name it, and choose its scopes.
- Copy the secret immediately — it's shown once and stored only as a hash.
bash
export AXOM_KEY="axom_live_…"Using a key
Send it as a bearer token on every request:
bash
curl https://console.axomlabs.ai/api/jobs \
-H "Authorization: Bearer $AXOM_KEY"Scopes
| Scope | Grants |
|---|---|
train | Submit and manage training / contraction runs |
read | Read jobs, models, datasets, metrics, usage |
datasets | Upload and manage datasets |
models | Manage and download trained models |
billing | Read usage and billing |
Revoking
Revoking a key from the console stops it working immediately. Keys are never recoverable — rotate by creating a new one and deleting the old.
TIP
The console UI itself uses a session cookie (Google / GitHub / email sign-in). API keys are for programmatic access — SDK, CI, and scripts.