Headers
Bearer token (JWT) from OAuth2 login
Response
Unique identifier for the API key
The full decrypted API key (starts with “sk-”)
First few characters of the API key
Optional name for the API key
ISO 8601 timestamp of creation
Whether the key is currently active
Whether this is the default key
Security Sensitive: This endpoint returns the full, unencrypted API key. Only use this endpoint when absolutely necessary, such as for automatic authentication flows. Never expose the returned key in client-side code or logs.
Decryption Method: The API key is decrypted using your Cognito user identity as the decryption key. This ensures that only you can decrypt your own API keys, even if the encrypted data is compromised.
Frontend Integration: This endpoint is designed for frontend applications that need to automatically authenticate users for Chat/Test features without requiring them to manually copy-paste their API key.
If no default key is set, this endpoint will return the first (oldest) active API key, similar to the 
/api/v1/auth/keys/default endpoint.Rate Limiting: This endpoint may have stricter rate limiting than other endpoints due to its security-sensitive nature. Implement appropriate caching in your application.

