Create agent

Create an agent from a config object

Headers

xi-api-keystringRequired

Query parameters

use_tool_idsbooleanOptionalDefaults to false

Use tool ids instead of tools specs from request payload.

Request

This endpoint expects an object.
conversation_configobjectRequired

Conversation configuration for an agent

platform_settingsobjectOptional

Platform settings for the agent are all settings that aren’t related to the conversation orchestration and content.

namestringOptional

A name to make the agent easier to find

Response

Successful Response

agent_idstring

ID of the created agent

Errors