새 브랜치 생성

모든 브랜치의 지정된 버전에서 새 브랜치를 생성합니다.

경로 매개변수

agent_idstring필수

에이전트의 ID입니다. 에이전트 생성 시 반환됩니다.

헤더

xi-api-keystring선택 사항

요청

This endpoint expects an object.
parent_version_idstring필수

브랜치를 생성할 버전 ID

namestring필수<=140 characters

브랜치 이름입니다. 에이전트 내에서 고유해야 합니다.

descriptionstring필수<=4096 characters

브랜치 설명

conversation_configmap from strings to any or null선택 사항

대화 구성에 적용할 변경 사항

platform_settingsmap from strings to any or null선택 사항

플랫폼 설정에 적용할 변경 사항

workflowobject or null선택 사항

업데이트된 워크플로 정의

include_draftboolean선택 사항기본값 false

true인 경우 새 브랜치는 브랜치 팁 대신 호출자의 초안 절차 세트를 사용합니다. parent_version_id가 브랜치 팁이어야 합니다.

응답

성공 응답

created_branch_idstring

생성된 브랜치 ID

created_version_idstring

생성된 브랜치의 첫 번째 버전 ID

오류

422
Unprocessable Entity Error