Deployments

List all deployments

Returns a list of your deployments. The deployments are returned sorted by creation date, with the most recent deployments appearing first.

get/v2/deployments

Query parameters

limitinteger

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

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

starting_afterstring

A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with 01JJ1HDHN79XAS7A01WB3HYSDB, your subsequent call can include after=01JJ1HDHN79XAS7A01WB3HYSDB in order to fetch the next page of the list.

A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with 01JJ1HDHN79XAS7A01WB3HYSDB, your subsequent call can include after=01JJ1HDHN79XAS7A01WB3HYSDB in order to fetch the next page of the list.

ending_beforestring

A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with 01JJ1HDHN79XAS7A01WB3HYSDB, your subsequent call can include before=01JJ1HDHN79XAS7A01WB3HYSDB in order to fetch the previous page of the list.

A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with 01JJ1HDHN79XAS7A01WB3HYSDB, your subsequent call can include before=01JJ1HDHN79XAS7A01WB3HYSDB in order to fetch the previous page of the list.

Response

List all deployments

object'list' required
has_moreboolean required

Example response

{
  "data": [
    {
      "prompt_config": {
        "messages": [
          {
            "content": [
              {
                "image_url": {
                  "url": "https://picsum.photos/id/1/200/300"
                }
              }
            ]
          }
        ]
      }
    }
  ]
}

Changes

Changed in 26 of the 251 revisions of this API.23323

    • added the new greenpt enum value to the data/items/prompt_config/provider response property for the response status 200

      response-property-enum-value-added

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

    • added the new meta enum value to the data/items/prompt_config/provider response property for the response status 200

      response-property-enum-value-added

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

    • removed the max enum value from the data/items/prompt_config/model_parameters/reasoningEffort response property for the response status 200

      response-property-enum-value-removed

    • removed the xhigh enum value from the data/items/prompt_config/model_parameters/reasoningEffort response property for the response status 200

      response-property-enum-value-removed

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

    • added the new max enum value to the data/items/prompt_config/model_parameters/reasoningEffort response property for the response status 200

      response-property-enum-value-added

    • added the new xhigh enum value to the data/items/prompt_config/model_parameters/reasoningEffort response property for the response status 200

      response-property-enum-value-added

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

    • removed the max enum value from the data/items/prompt_config/model_parameters/reasoningEffort response property for the response status 200

      response-property-enum-value-removed

    • removed the xhigh enum value from the data/items/prompt_config/model_parameters/reasoningEffort response property for the response status 200

      response-property-enum-value-removed

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

    • added the new max enum value to the data/items/prompt_config/model_parameters/reasoningEffort response property for the response status 200

      response-property-enum-value-added

    • added the new xhigh enum value to the data/items/prompt_config/model_parameters/reasoningEffort response property for the response status 200

      response-property-enum-value-added

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

    • removed the max enum value from the data/items/prompt_config/model_parameters/reasoningEffort response property for the response status 200

      response-property-enum-value-removed

    • removed the xhigh enum value from the data/items/prompt_config/model_parameters/reasoningEffort response property for the response status 200

      response-property-enum-value-removed

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

    • added the new max enum value to the data/items/prompt_config/model_parameters/reasoningEffort response property for the response status 200

      response-property-enum-value-added

    • added the new xhigh enum value to the data/items/prompt_config/model_parameters/reasoningEffort response property for the response status 200

      response-property-enum-value-added

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

    • removed the max enum value from the data/items/prompt_config/model_parameters/reasoningEffort response property for the response status 200

      response-property-enum-value-removed

    • removed the xhigh enum value from the data/items/prompt_config/model_parameters/reasoningEffort response property for the response status 200

      response-property-enum-value-removed

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

    • added the new max enum value to the data/items/prompt_config/model_parameters/reasoningEffort response property for the response status 200

      response-property-enum-value-added

    • added the new xhigh enum value to the data/items/prompt_config/model_parameters/reasoningEffort response property for the response status 200

      response-property-enum-value-added

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

Of the 251 revisions, 71 have no diff computed.