Skip to navigation

List agent versions

Lists the published versions of an agent, newest first. The first page (offset 0) always includes the active version on top of limit, so it can return up to limit + 1 versions. Later pages skip the active version, so increase offset by limit to read the next page.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

model_idstringRequired

Agent ID. You can find it on the agent’s page in your dashboard.

Query parameters

limitintegerOptional1-100Defaults to 20
Versions returned per page, not counting the active version on the first page. Between 1 and 100.
offsetintegerOptional>=0Defaults to 0
Number of versions to skip, not counting the active version.

Response

200
statusstringOptional
Whether the request was successful.
responseobjectOptional

Errors

400
Bad Request Error
404
Not Found Error