Assistants

List assistants

Returns a list of assistants.

get/assistants

Query parameters

limitinteger

A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.

order'asc' | 'desc'

Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.

afterstring

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.

beforestring

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

OK

objectstring required
first_idstring required
last_idstring required
has_moreboolean required

Example response

{
  "object": "list",
  "data": [
    {
      "temperature": 1,
      "top_p": 1
    }
  ],
  "first_id": "asst_abc123",
  "last_id": "asst_abc456"
}

Changes

Changed in 10 of the 163 revisions of this API.16221

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

  • 74cbcf73838f1128See the full diff
    • ▲

      response property data/items/description list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • ▲

      response property data/items/instructions list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • ▲

      response property data/items/metadata list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • ▲

      response property data/items/name list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • ▲

      response property data/items/temperature list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • ▲

      response property data/items/tools/items/oneOf[subschema #3: Function tool]/function/strict list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • ▲

      response property data/items/top_p list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • ▲

      the // response property's maxLength was unset from 512 for the response status

      response-property-max-length-unset

    • ▲

      the // response property's maxLength was unset from 256000 for the response status

      response-property-max-length-unset

    • ▲

      the // response property's maxLength was unset from 256 for the response status

      response-property-max-length-unset

    • ▲

      the // response's property type changed from object to no type for status

      response-property-type-changed

    • ●

      removed the optional property /// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property /// from the response with the status

      response-optional-property-removed

    • ○

      endpoint deprecated

      endpoint-deprecated

    • ○

      added subschema #2 to the // response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added subschema #1 subschema #2 to the // response property anyOf list for the response status

      response-property-any-of-added

    • ○

      the response's property default value false was removed for the status

      response-property-default-value-removed

    • ○

      the response's property default value 1 was removed for the status

      response-property-default-value-removed

    • ○

      the response's property default value 1 was removed for the status

      response-property-default-value-removed

    • ○

      response property data/items/ deprecated

      response-property-deprecated

    • ○

      removed subschema #1 from the // response property oneOf list for the response status

      response-property-one-of-removed

    This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 6ab43fe7798e21See the full diff
    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ▲

      added subschema #1 to the // response property oneOf list for the response status

      response-property-one-of-added

    • ○

      removed subschema #2 from the // response property allOf list for the response status

      response-property-all-of-removed

    • ○

      added subschema #2 to the // response property allOf list for the response status

      response-property-all-of-added

    • ○

      removed subschema #1 from the // response property oneOf list for the response status

      response-property-one-of-removed

  • 15156e46769c21See the full diff
    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ▲

      added subschema #1 to the // response property oneOf list for the response status

      response-property-one-of-added

    • ○

      removed subschema #2 from the // response property allOf list for the response status

      response-property-all-of-removed

    • ○

      added subschema #2 to the // response property allOf list for the response status

      response-property-all-of-added

    • ○

      removed subschema #1 from the // response property oneOf list for the response status

      response-property-one-of-removed

    • ○

      the response property /////// became required for the status

      response-property-became-required

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added

    • ▲

      added to the // response property oneOf list for the response status

      response-property-one-of-added

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added

    • ○

      removed the none enum value from the /// response property for the response status

      response-property-enum-value-removed

    • ○

      removed from the // response property oneOf list for the response status

      response-property-one-of-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog