Create draft

Create a new draft for an agent

Pfadparameter

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

Header

xi-api-keystringOptional

Abfrageparameter

branch_idstringErforderlich
The ID of the agent branch to use

Anfrage

This endpoint expects an object.
conversation_configmap from strings to anyErforderlich
Conversation config for the draft
platform_settingsmap from strings to anyErforderlich
Platform settings for the draft
workflowobjectErforderlich
Workflow for the draft
namestringErforderlich
Name for the draft
tagslist of stringsOptional
Tags to help classify and filter the agent

Antwort

Successful Response

Fehler

422
Drafts Create Request Unprocessable Entity Error