Headers
Bearer token (JWT) from OAuth2 login
Response
Unique identifier for the API key
First few characters of the API key (e.g., “sk-1234”)
Optional name for the API key
ISO 8601 timestamp of creation
Whether the key is currently active
Whether this is the default key (true if explicitly set)
Encrypted version of the full key (not shown to user)
Version of encryption used
Intelligent Fallback: If no default key is explicitly set, this endpoint automatically falls back to the first (oldest) active API key. This ensures users always get a usable key even if they haven’t set a default.
Setting a Default: Use the 
PUT /api/v1/auth/keys/{key_id}/default endpoint to explicitly set a default key. This is useful if you have multiple API keys and want to designate one as your primary key.Check the 
is_default field to determine whether the returned key is an explicitly set default (true) or a fallback to the first key (false).
