API keys
Retrieve an API key
Retrieves the metadata for an existing API key by its unique identifier. The raw secret is never returned — only token_prefix, permission_mode, project_scope, and lifecycle fields.
get/v2/api-keys/{api_key_id}
Path parameters
api_key_idstring required
API key id to retrieve (e.g. 01H...).
Query parameters
include_budgetboolean
When true, embed the api-key-scoped budget (config and limits only, no live usage) on the returned record.
Response
API key retrieved successfully.