Create draft

Create a new draft for an agent

路径参数

agent_idstring必需
The id of an agent. This is returned on agent creation.

请求头

xi-api-keystring可选

查询参数

branch_idstring必需
The ID of the agent branch to use

请求

This endpoint expects an object.
conversation_configmap from strings to any必需
Conversation config for the draft
platform_settingsmap from strings to any必需
Platform settings for the draft
workflowobject必需
Workflow for the draft
namestring必需
Name for the draft
tagslist of strings可选
Tags to help classify and filter the agent

响应

Successful Response

错误

422
Drafts Create Request Unprocessable Entity Error