Skip to main content
POST
Create Agent Draft

Headers

x-api-key
string | null

Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.

Path Parameters

agent_id
string
required

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

Example:

"agent_3701k3ttaq12ewp8b7qv5rfyszkz"

Query Parameters

branch_id
string
required

The ID of the agent branch to use

Example:

"agtbrch_8901k4t9z5defmb8vh3e9361y7nj"

Body

application/json
conversation_config
AuthoredConversationalConfigAPIModel · object
required

Complete version 2 conversation config for the draft

platform_settings
Platform Settings · object
required

Platform settings for the draft

workflow
AgentWorkflowRequestModel · object
required

Workflow for the draft

Example:
name
string
required

Name for the draft

tags
string[] | null

Tags to help classify and filter the agent

Example:

Response

Successful Response