v45

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0114775543.6 KB
Agent Versioning - Drafts

List active drafts

Deprecated 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

Path parameters

idstring required

The agent ID.

Response

Successful response

statusboolean

Example response

{
  "status": true
}