Get an agent branch
GEThttps://platform.docana.com/api/v1/agents/:agentId/branches/:branchId/
Returns a single branch by id, with version: the branch's latest spec version, to pass as baseVersion when writing to it with updateAgentSpec.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The branch
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.
Branch not found, not owned by this agent, or no access to its application
Unexpected server error.