Authentication
Every request carries a scoped bearer token. Create one in Settings → API, send it in the Authorization header, and it acts with least privilege.
Bearer tokens
Authenticate with a token in the Authorization header. The scheme must be Bearer (case-insensitive); the API accepts nothing else. Talon tokens are prefixed tlk_ so secret scanners can spot a leak, stored only as a SHA-256 hash, and shown in full exactly once, at creation.
Creating a token
Create and revoke tokens under Settings → API, on the Auth tab (/settings/api), with Create token. Admins, engineers and analysts can create tokens and revoke any token in the organisation, not only their own; readonly users can't.
Copy the secret when it's shown — it isn't recoverable. Revocation takes effect on the next request. The token list shows each token's name and type, its prefix, its Scope (Organisation or the workspace), its scopes under Permissions, when it was last used, and its status.
Community Edition limits
The Community Edition — an instance on a Community key — gets the whole API, writes and the MCP server included.
audit:read and users:read sound like reads, but they need the administer capability, so they count as write scopes and only an admin can grant them. The same goes for users:provision, the scope an identity provider's SCIM connection uses — see SCIM provisioning.
Scopes
Each endpoint requires one scope. A role can grant a scope when it has the capability behind it: view (every role), propose and operate (admin, engineer, analyst), administer (admin only).
| Scope | Endpoints | Granted by |
|---|---|---|
| me:read | GET /me | Any role |
| workspaces:read | GET /workspaces, GET /workspaces/{id} | Any role |
| detections:read | GET /detections, GET /detections/{id}, GET /detections/{id}/yaml | Any role |
| coverage:read | GET /coverage, /coverage/gaps, /coverage/navigator-layer, /adversaries, /adversaries/compare, /mitre/techniques/{techniqueId} | Any role |
| alerts:read | GET /alerts | Any role |
| cases:read | GET /cases, GET /cases/{id} | Any role |
| change_requests:read | GET /change-requests, GET /change-requests/{id} | Any role |
| standards:read | GET /standards | Any role |
| threat_feeds:read | GET /threat-feeds, /threat-intel/kev, /threat-intel/indicators | Any role |
| threat_models:read | GET /threat-models, GET /threat-models/{id} | Any role |
| scenarios:read | GET /scenarios | Any role |
| proposals:read | GET /proposals | Any role |
| library:read | GET /library, GET /library/{source}/{id} | Any role |
| deployments:read | GET /deployment-targets, GET /deployments | Any role |
| integrations:read | GET /integrations | Any role |
| kanban:read | GET /kanban/cards | Any role |
| agents:read | GET /agent-runs, GET /agent-runs/{id} | Any role |
| notifications:read | GET /notifications (org-scoped token) | Any role |
| license:read | GET /license (org-scoped token) | Any role |
| sourcetypes:read | GET /sourcetypes | Any role |
| blueprints:read | GET /blueprints, GET /blueprints/{id} | Any role |
| validate:read | GET /validate/summary | Any role |
| search:read | GET /search/sources | Any role |
| detections:propose | POST /detections, PATCH /detections/{id} — personal tokens only | Admin, engineer, analyst |
| alerts:write | PATCH /alerts/{id} | Admin, engineer, analyst |
| cases:write | POST /cases, PATCH /cases/{id}, POST /cases/{id}/notes | Admin, engineer, analyst |
| kanban:write | POST /kanban/cards | Admin, engineer, analyst |
| search:execute | POST /search | Admin, engineer, analyst |
| audit:read | GET /audit-logs (org-scoped token) | Admin |
| users:read | GET /users (org-scoped token) | Admin |
| users:provision | SCIM 2.0 user provisioning at /api/scim/v2 — outside /api/v1 (org-scoped token) | Admin |
The org-wide endpoints — /audit-logs, /users, /notifications and /license — refuse a workspace-bound token with 403, because their data isn't partitioned by workspace.
Example request
Confirm a token's identity and scopes with a call to /me: