List an agent's branches
GEThttps://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
- 200
- 400
- 401
- 403
- 404
- 500
The branches of the agent
The request body, query, or path failed validation. See validationErrors.
The API key or session is missing, expired, or malformed.
The caller is authenticated but not allowed to perform this operation.
Agent not found or no access to the application
Unexpected server error.