Skip to navigation

List active drafts

Deprecated
View as Markdown

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.

Authentication

AuthorizationBearer

API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.

Path parameters

idstringRequiredformat: "^[a-f\d]{24}$"
The agent ID.

Response

Successful response
statusbooleanOptional
datalist of objectsOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error