v45

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

Get draft detail

Deprecated. By-id reads are kept working during the v1 coexistence window (~1 month). A v1 draftId remains resolvable. Migrate to GET /agent/{id}/branches/{branchId}/draft. Will be removed at the sunset date.

Returns the latest revision of a draft along with its edit history.

get/agent/{id}/drafts/{draftId}

Path parameters

idstring required

The agent ID.

draftIdstring required

The draft ID

Query parameters

limitinteger

Max number of edit history entries to return (1-100)

Response

Successful response

statusboolean

Example response

{
  "status": true
}