Agents Platform

Get Agent Branch

Changed on

Get information about a single agent branch

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

Request

  • Base URL
    https://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.elevenlabs.io/v1/convai/agents/{agent_id}/branches/{branch_id}
  • Auth
    none declared

Path parameters

agent_idstring required

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

Example:agent_3701k3ttaq12ewp8b7qv5rfyszkz
branch_idstring required

Unique identifier for the branch.

Example:agtbranch_0901k4aafjxxfxt93gd841r7tv5t

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

idstring required
namestring required
agent_idstring required
descriptionstring required
created_atinteger required
last_committed_atinteger required
is_archivedboolean required
protection_status'writer_perms_required' | 'admin_perms_required'
auto_rebaseboolean
current_live_percentagenumber

Percentage of traffic live on the branch

Example response

{
  "access_info": {
    "access_source": "creator",
    "creator_email": "john.doe@example.com",
    "creator_name": "John Doe",
    "is_creator": true,
    "role": "admin"
  },
  "most_recent_versions": [
    {
      "access_info": {
        "access_source": "creator",
        "creator_email": "john.doe@example.com",
        "creator_name": "John Doe",
        "is_creator": true,
        "role": "admin"
      },
      "merged_authors": [
        {
          "access_source": "creator",
          "creator_email": "john.doe@example.com",
          "creator_name": "John Doe",
          "is_creator": true,
          "role": "admin"
        }
      ]
    }
  ]
}

Changes