Deployments

List deployment versions

Changed on

List saved versions across deployment variants, including drafts, newest first. Resolve the deployment by key or ID. Optionally filter by variant_id. Use the version _id with starting_after or ending_before to paginate.

get/v2/deployments/{keyOrID}/versions

Request

  • Base URL
    https://my.orq.ai
  • URL
    https://my.orq.ai/v2/deployments/{keyOrID}/versions
  • Auth
    HTTP bearer

Path parameters

keyOrIDstring required

Deployment key or ID.

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

starting_afterstring ulid

Version _id after which to fetch the next page.

ending_beforestring ulid

Version _id before which to fetch the previous page.

variant_idstring uuid

Return versions of this variant only.

Response

Deployment versions retrieved.

object'list' required
has_moreboolean required

Example response

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

Changes

    • warning

      added the new munito enum value to the //// response property for the response status

    • warning

      added the new munito enum value to the /// response property for the response status

    • warning

      added the new particle enum value to the //// response property for the response status

    • warning

      added the new particle enum value to the /// response property for the response status

    • info

      the response's property default value changed from 01M640RME986JGHM1WAXX066VX to 01M644XDP89JQ7B1ZK7HQMZ62B for the status

    • info

      the response's property default value changed from 01M63PG4VW384Q1DN3PKNP4CJ4 to 01M640RME986JGHM1WAXX066VX for the status

    • info

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

    • info

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

    • info

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

    • info

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