Agents Platform

Rebase A Branch Onto Main

Changed on

Pull changes from a source branch (defaults to main) into this branch as a new version, preserving this branch's own changes on conflicts.

post/v1/convai/agents/{agent_id}/branches/{branch_id}/rebase

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}/rebase
  • 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 source branch to merge from.

Example:agtbrch_8901k4t9z5defmb8vh3e9361y7nj

Query parameters

source_branch_idstring nullable

The ID of the branch to pull changes from. Defaults to the agent's main branch.

Example:agtbrch_8901k4t9z5defmb8vh3e9361y7nj

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.

Request body

BodyRebaseABranchOntoMainV1ConvaiAgentsAgentIdBranchesBranchIdRebasePost required

Response

Successful Response

unknown required

Changes