List organization API keys
Retrieve a paginated list of organization admin API keys.
Query Parameters
Return keys with IDs that come after this ID in the pagination order.
Order results by creation time, ascending or descending.
Allowed values:ascdesc
Default:asc
Maximum number of keys to return.
Default:20
Response
200 application/json
Response
A list of organization API keys.
ApiKeyList
Example:list
Show Child Parameters
Example:false
Example:key_abc
Example:key_xyz
Authentication
Query Parameters
Create an organization admin API key
Create a new admin-level API key for the organization.
Body
application/json
Body
Example:New Admin Key
Response
200 application/json
Response
The newly created admin API key.
AdminApiKey
Example:organization.admin_api_key
Example:key_abc
Example:Administration Key
Example:sk-admin...def
Example:sk-admin-1234abcd
Example:1711471533
Show Child Parameters
Authentication
Body
Retrieve a single organization API key
Get details for a specific organization API key by its ID.
Path Parameters
The ID of the API key.
Response
200 application/json
Response
Details of the requested API key.
AdminApiKey
Example:organization.admin_api_key
Example:key_abc
Example:Administration Key
Example:sk-admin...def
Example:sk-admin-1234abcd
Example:1711471533
Show Child Parameters
Authentication
Path Parameters
Delete an organization admin API key
Delete the specified admin API key.
Path Parameters
The ID of the API key to be deleted.
Response
200 application/json
Response
Confirmation that the API key was deleted.
Example:key_abc
Example:organization.admin_api_key.deleted
Example:true
Authentication
Path Parameters
Assistants
Build Assistants that can call models and use tools.