provider Agents Platform POST /v1/convai/agents/{agent_id}/branches
@utdk/elevenlabs /v1/convai/agents/{agent_id}/branches
Create A New Branch
Create a new branch from a given version of any branch
agent_id path required
The id of an agent. This is returned on agent creation.
string
xi-api-key header
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.

Try it

Authentication
Configure credentials for ElevenLabs API Documentation
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

createBranchRoute
POST/v1/convai/agents/{agent_id}/branches
Create a new branch from a given version of any branch

Parameters

required

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

Input

required

ID of the version to branch from

required

Name of the branch. It is unique within the agent.

required

Description for the branch

Changes to apply to conversation config

Changes to apply to platform settings

Updated workflow definition

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import elevenlabs from '@utdk/elevenlabs';

await elevenlabs.createBranchRoute()