Create agent branch

Create a new branch from a given version of any branch

Pfadparameter

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

Header

xi-api-keystringOptional

Anfrage

This endpoint expects an object.
parent_version_idstringErforderlich
ID of the version to branch from
namestringErforderlich<=140 characters
Name of the branch. It is unique within the agent.
descriptionstringErforderlich<=4096 characters
Description for the branch
conversation_configmap from strings to anyOptional
Changes to apply to conversation config
platform_settingsmap from strings to anyOptional
Changes to apply to platform settings
workflowobjectOptional
Updated workflow definition
include_draftbooleanOptionalStandardwert ist false

When true, the new branch uses the caller’s draft procedure set instead of the branch tip. Requires parent_version_id to be the branch tip.

Antwort

Successful Response
created_branch_idstring
ID of the created branch
created_version_idstring
ID of the first version on the created branch

Fehler

422
Branches Create Request Unprocessable Entity Error