List published versions

Deprecated
View as Markdown
**Deprecated on the v2 branch model.** Migrate to `GET /agent/{id}/branches/{branchId}/revisions`. When `ENABLE_BRANCH_MODEL` is on, this endpoint returns `409 versioning_v2_migration_required` with the `Deprecation: true` header. See the [migration guide](/voice-agents/deprecations/agent-versioning-migration). | List published versions for an agent with pagination and optional pin filter. The `total` value currently represents the total number of published versions for the agent, not necessarily the filtered count when `isPinned` is used.

Authentication

AuthorizationBearer

API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.

Path parameters

idstringRequiredformat: "^[a-f\d]{24}$"
The agent ID.

Query parameters

limitintegerOptional1-100Defaults to 20

Number of versions to return (1-100, default 20)

skipintegerOptional>=0Defaults to 0

Number of versions to skip (default 0)

isPinnedbooleanOptional
Filter by pinned status

Response

Successful response
statusboolean
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error