Agent Versioning - Drafts
List active drafts
Changed onDeprecated on the v2 branch model. Migrate to GET /agent/{id}/branches (openDraftId/hasOpenDraft). When ENABLE_BRANCH_MODEL is on, this endpoint returns 409 versioning_v2_migration_required with the Deprecation: true header. See the migration guide.
List all active (non-discarded) drafts for an agent.
get/agent/{id}/drafts
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/agent/{id}/drafts
- AuthHTTP bearer
Path parameters
idstring required
The agent ID.
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