Skip to main content
GET
JavaScript
The response contains version summaries for either a voice or chat agent. To retrieve a version’s full configuration, use Get Agent or Get Chat Agent with that version. The response is paginated. Read version summaries from items, then pass the returned pagination_key while has_more is true.

Authorizations

Authorization
string
header
required

Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"

Path Parameters

agent_id
string
required

Unique ID of the agent whose versions are being listed.

Minimum string length: 1
Example:

"16b980523634a6dc504898cda492e939"

Query Parameters

limit
integer
default:50

Maximum number of items to return.

Required range: x <= 1000
sort_order
enum<string>
default:descending

Sort order for results.

Available options:
ascending,
descending
pagination_key
string

Pagination key for fetching the next page.

Response

Successfully retrieved a page of agent versions.

pagination_key
string

Pagination key for the next page.

has_more
boolean

Whether more results are available.

items
object[]