v5

OpenAPI 3.1.02026-08-043621,4011.8 MB
Agents Platform

List Agent Branches

Returns a list of branches an agent has

get/v1/convai/agents/{agent_id}/branches

Path parameters

agent_idstring required

The id of an agent. This is returned on agent creation.

Example:agent_3701k3ttaq12ewp8b7qv5rfyszkz

The id of an agent. This is returned on agent creation.

Query parameters

include_archivedboolean

Whether archived branches should be included

Whether archived branches should be included

limitinteger

How many results at most should be returned

How many results at most should be returned

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.

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"
      }
    }
  ]
}