Create agent
Create an agent from a config object
请求头
xi-api-key
查询参数
enable_versioningDeprecated
Deprecated: all agents are versioned. This parameter is ignored.
请求
This endpoint expects an object.
conversation_config
Conversation configuration for an agent
platform_settings
Platform settings for the agent are all settings that aren't related to the conversation orchestration and content.
workflow
Workflow for the agent. This is used to define the flow of the conversation and how the agent interacts with tools.
name
A name to make the agent easier to find
响应
Successful Response
agent_id
ID of the created agent
错误
422
Agents Create Request Unprocessable Entity Error