GET /v1/agents/{agent_id}/versions
GET
/v1/agents/{agent_id}/versionsAuthorization
AuthorizationBearer token · headerrequiredPath parameters
agent_idstring<uuid>requiredAgent id
Query parameters
limitinteger<int64>min 1 · max 200
afterstring<uuid>orderOrderParamNewest first when omitted.
Allowed:
ascdescResponses
200One page, newest first unless order=asc.
itemsAgentVersionBody[]requiredShow propertiesHide properties
Array of
AgentVersionBodyagent_idstring<uuid>requiredconfigobjectrequiredThe config this version was published with.
Skill grants retain their requested `version` selectors, which resolve
independently when each session is created.
created_atstring<date-time>requiredidstring<uuid>requiredmodel_provider_idstring<uuid>requiredversioninteger<int32>requiredNumbered per agent from 1.
next_cursorstring<uuid> | nullrequired`None` on the last page.
400Bad limit, cursor, order, or path parameter.
errorErrorDetailrequiredShow propertiesHide properties
codeErrorCoderequiredThe machine-readable half of an error response, and the field a client
branches on. Closed: every error carries exactly one of these.
Allowed:
unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternalmessagestringrequired401Missing, malformed, or invalid bearer token.
errorErrorDetailrequiredShow propertiesHide properties
codeErrorCoderequiredThe machine-readable half of an error response, and the field a client
branches on. Closed: every error carries exactly one of these.
Allowed:
unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternalmessagestringrequired403Caller lacks agent.read.
errorErrorDetailrequiredShow propertiesHide properties
codeErrorCoderequiredThe machine-readable half of an error response, and the field a client
branches on. Closed: every error carries exactly one of these.
Allowed:
unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternalmessagestringrequired404No such agent, or the caller cannot see it.
errorErrorDetailrequiredShow propertiesHide properties
codeErrorCoderequiredThe machine-readable half of an error response, and the field a client
branches on. Closed: every error carries exactly one of these.
Allowed:
unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternalmessagestringrequired