Skip to main content

List API Keys

Retrieve a list of API keys belonging to the authenticated user.

Response

object
Response status information
integer
HTTP status code (200)
string
Status message
array
Array of API key objects
integer
API key ID
string
Type of key: ‘private’ or ‘public’
string
Descriptive name for the key
string
The actual key (only returned on creation)
array
Array of allowed CORS origins
array
Array of assistant IDs the key can access
boolean
Whether the key supports transient assistants
integer
Owner user ID
string
Owner email address
string
ISO 8601 creation timestamp
string
ISO 8601 last update timestamp
The key_value field is only returned when creating a new API key. It cannot be retrieved later for security reasons.

Error Responses

object
Unauthorized - Invalid or missing authentication