List published versions
Changed onDeprecated 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.
| 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.
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/agent/{id}/versions
- AuthHTTP bearer
Path parameters
The agent ID.
Query parameters
Number of versions to return (1-100, default 20)
Number of versions to skip (default 0)
Filter by pinned status
Response
Successful response
Example response
{
"status": true
}Changes
- warning
added the new
multi_agentsenum value to the///////response property for the response status
- warning
- breaking
added the pattern
^[a-f\d]{24}$to thepathrequest parameterid - info
endpoint deprecated
- info
added the non-success response with the status
- breaking