Get branch

View as Markdown

Return a single branch summary, including draft state (openDraftId, hasOpenDraft) and head revision.

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.
branchIdstringRequiredformat: "^[a-f\d]{24}$"
The branch ID.

Response

Successful response.
statusboolean
dataobject
Branch document plus derived fields used by list and detail views.

Errors

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