Retrieve an API key
Retrieve an API key by ID.
Authentication
AuthorizationBearer
Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.
Path parameters
id
The ID of the temporary API key to retrieve.
Response
API key details.
id
API key ID.
name
Key name.
prefix
Key prefix.
is_test
Test or production key.
expiry_date
Expiry date.
max_usage
Max usage count. -1 = unlimited.
rate_limit
Requests per minute. null uses the organization default.
spending_limit
Spending limit in USD.
created
When the API key was created.
unique_organization_id
Owning organization UUID.
Errors
401
Unauthorized Error
404
Not Found Error