Swagger Petstore - OpenAPI 3.0
GET/assistantsDeprecated

List assistants

Lists all assistants available to the authenticated user. Use limit to control the number of results per page and order to sort by creation date. Pagination cursors after and before allow you to navigate through large result sets.

4 parameters
limitintegeroptional
Maximum number of assistants to return per page. Must be between 1 and 100. Defaults to 20 when omitted.
Default:20
orderstringoptional
Sort order by creation date: `asc` for ascending or `desc` for descending. Defaults to `desc` when omitted.
Allowed:ascdescDefault:desc
afterstringoptional
Pagination cursor. Pass an assistant ID to retrieve results after that point in the list.
beforestringoptional
Pagination cursor. Pass an assistant ID to retrieve results before that point in the list.

2 status codes
200Returns a paginated list of assistant objects with their configurations, including id, name, model, instructions, and tools.
objectstringrequired
dataarray<Assistant>required
first_idstringrequired
last_idstringrequired
has_morebooleanrequired
429Returned when the request rate limit is exceeded.
errorobjectrequired

Error handling

limit must be between 1 and 100; values outside this range are rejected. order must be either asc or desc. A 429 is returned when the request rate limit is exceeded.