Create agent

Create an agent from a config object

Headers

xi-api-keystringRequired

Request

This endpoint expects an object.
conversation_configobjectRequired
Conversation configuration for an agent
platform_settingsobject or nullOptional
Platform settings for the agent are all settings that aren't related to the conversation orchestration and content.
workflowanyOptional
Workflow for the agent. This is used to define the flow of the conversation and how the agent interacts with tools.
namestring or nullOptional
A name to make the agent easier to find
tagslist of strings or nullOptional
Tags to help classify and filter the agent

Response

Successful Response
agent_idstring
ID of the created agent

Errors