Skip to main content
PUT
Update agent

Authorizations

X-API-KEY
string
header
required

Path Parameters

agent_id
string
required

Body

application/json
name
string
objective
string
instruction
string
task
string
faqs
string
sample_conversations
string
custom_variables
string[]
config
object

Only the settings the dashboard's agent editor sets for the agent's channel (see Providers & models). Any other key (alias spellings, nested sections, prompt text, placeholder values) is refused with 400; prompt text belongs in the top-level fields and per-call values in custom_variables.

tools
string[]
questionnaire
object
knowledge_base_id
string
pronunciation_dictionary_id
string
sentiment_analysis
object

Response

Updated agent