Get draft detail

Deprecated
View as Markdown

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.

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.
draftIdstringRequired
The draft ID

Query parameters

limitintegerOptional1-100

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

Response

Successful response
statusboolean
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error