Api Keys
- Written for
- + Written for
- Deprecated
- + Deprecated
- Applies to
- + Applies to
Api Keys
Backend API — secret key (Authorization: Bearer sk_…).
6 routes. Each row is one endpoint with its explanation, required scope, and whether it honours the Idempotency-Key header.
Method & path | Scope | Idem | Explanation |
|---|---|---|---|
|
| List end-user API keys the tenant minted for its users/organizations. Never the secret. | |
|
| Mint an end-user API key for a user or organization. Returns the ak_ secret once. | |
|
| Verify a presented ak_ secret. Returns the subject + claims, or valid:false. Rate-limited. | |
|
| Read one end-user API key by id (prefix + metadata, never the secret). | |
|
| Update an end-user API key: name, claims, or expiry. | |
|
| Revoke an end-user API key. It stops verifying immediately; the record is kept. |