List agent branches
Returns a list of branches an agent has
Path parameters
agent_id
The id of an agent. This is returned on agent creation.
Headers
xi-api-key
Query parameters
include_archived
Whether archived branches should be included
limit
How many results at most should be returned
include_commit_status
Whether to compute how far each branch has diverged from main (commits_ahead/commits_behind). This walks the version DAG of every branch, so it is slow on agents with long histories and is off by default, leaving those fields null.
Response
Successful Response
results
meta
Errors
422
Branches List Request Unprocessable Entity Error