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 (always true for this endpoint)
Whether this is the default key
Encrypted version of the full key (not shown to user)
Version of encryption used
Automatic Selection: This endpoint is designed for automatic API key selection when users log in. It returns the oldest key, which is typically the user’s primary or first-created key.
Only active API keys are considered. If you have inactive keys, they will not be returned by this endpoint.
If you want to get the user’s preferred API key instead of just the oldest one, use the 
/api/v1/auth/keys/default endpoint which respects user preferences.
