---
title: "GET /list-agent-versions/{agent_id}"
method: GET
path: "/list-agent-versions/{agent_id}"
---

# GET /list-agent-versions/{agent_id}

`GET /list-agent-versions/{agent_id}`

## Request

- Base URL: `https://api.retellai.com`
- URL: `https://api.retellai.com/list-agent-versions/{agent_id}`
- Auth: HTTP bearer

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

## Path parameters

- `agent_id` string, required

## Query parameters

- `limit` integer
- `sort_order` 'ascending' | 'descending'
- `pagination_key` string

## Response `200`

Successfully retrieved a page of agent versions.

- object
  - `pagination_key` string: Pagination key for the next page.
  - `has_more` boolean, required: Whether more results are available.
  - `items` AgentVersionSummary[], required
    - `version` integer, required: Version number of the agent.
    - `is_published` boolean, required: Whether the agent version is published.
    - `version_title` string: Optional title of the agent version.
    - `version_description` string: Optional description of the agent version.
    - `base_version` integer: Version that this agent version was based on.
    - `last_modification_timestamp` integer, required: Last modification timestamp in milliseconds since epoch.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `422`: Unprocessable Content
- `429`: Too Many Requests
- `500`: Internal Server Error

## Changes

- **2026-10-16** `ca41f0dbb297`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/retellai/apis/retell-sdk/changes/list-agent-versions/:agent_id/get.md)

---

[API](https://skmtc.dev/retellai/apis/retell-sdk.md) - [All operations](https://skmtc.dev/retellai/apis/retell-sdk/llms.txt) - [OpenAPI document](https://skmtc.dev/retellai/apis/retell-sdk/revisions/e482acaa292c?raw)
