Agents Platform
List Agent Branches
Changed onReturns a list of branches an agent has
get/v1/convai/agents/{agent_id}/branches
Request
- Base URLhttps://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
- Authnone declared
Path parameters
agent_idstring required
The id of an agent. This is returned on agent creation.
Example:agent_3701k3ttaq12ewp8b7qv5rfyszkz
Query parameters
include_archivedboolean
Whether archived branches should be included
limitinteger
How many results at most should be returned
include_commit_statusboolean
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.
Headers
xi-api-keystring nullable
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Response
Successful Response
Example response
{
"results": [
{
"access_info": {
"access_source": "creator",
"creator_email": "john.doe@example.com",
"creator_name": "John Doe",
"is_creator": true,
"role": "admin"
}
}
]
}Changes
- info
added the optional property
//to the response with the status
- info
- info
added the optional property
//to the response with the status
- info