Example:New Admin Key
Create an organization admin API key
Create a new admin-level API key for the organization.
Body
application/json
Body
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.
Returns a list of assistants.
Query Parameters
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
Default:20
Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.
Allowed values:ascdesc
Default:desc
A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.
Response
200 application/json
Response
OK
ListAssistantsResponse
Example:list
Represents an assistant that can call the model and use tools.
Show Child Parameters
Example:asst_abc123
Example:asst_abc456
Example:false