List an agent's spec versions
GEThttps://platform.docana.com/api/v1/agents/:agentId/versions/
Returns one page of up to 50 versions of the agent's spec history, newest first, with the current and published version numbers. Page older versions with before. The version numbers are what diffAgents accepts as version on an agentId side, so this is how callers discover what to diff. Legacy agents without artifact-backed specs report currentVersion: null and no versions.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The agent's spec version history page
The request body, query, or path failed validation. See validationErrors.
The API key or session is missing, expired, or malformed.
No access to the agent
Agent not found
Unexpected server error.