GET /list-agent-versions/{agent_id}

Changed on

List stored versions of a voice or chat agent with pagination.

Request

  • Base URL
    https://api.retellai.com
  • Auth
    HTTP bearer

Path parameters

agent_idstring required
Example:16b980523634a6dc504898cda492e939

Unique ID of the agent whose versions are being listed.

Query parameters

limitinteger

Maximum number of items to return.

sort_order'ascending' | 'descending'

Sort order for results.

pagination_keystring

Pagination key for fetching the next page.

Response

Successfully retrieved a page of agent versions.

pagination_keystring

Pagination key for the next page.

has_moreboolean required

Whether more results are available.

Example response

{
  "items": [
    {
      "version": 3,
      "base_version": 2,
      "last_modification_timestamp": 1703413636133
    }
  ]
}

Changes