Get API key identity
Discover your workspace, scopes, profile, and rate limits from an API key
Authorizations
API key authentication.
Keys start with ak_ prefix.
Example: Authorization: Bearer ak_live_xxxxxxxxxxxx
Response
API key identity
The authentication scheme used by the caller.
api_key Always "active" on success — disabled or expired keys fail authentication with 401 before this response is produced.
active Capability class derived server-side from the key's scopes.
inference, management, mixed The API key's resource ID (not a secret).
The key's display prefix (e.g. "ak_live_abc1").
Human-readable key name.
The workspace this key is scoped to.
Granted scopes for fine-grained capability decisions.
Key expiry, or null if the key does not expire.