Skip to main content

List an agent's branches

GET 

https://platform.docana.com/api/v1/agents/:agentId/branches/

Returns the branches of an agent. By default only the live MAIN and CANDIDATE branches are returned; pass includeInactive=true to also see DISCARDED history (and any legacy SUPERSEDED rows from before promote stopped producing that status). applicationId narrows the result to branches scoped to that application (plus company-wide ones); omit it to validate company-wide access and return every branch visible under the caller's company.

Request

Responses

The branches of the agent