Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Agent ID
Agent name
1 - 128"Customer Support Agent"
Agent description
2000"An AI agent that helps customers with their inquiries"
Agent instructions (system prompt)
10000"You are a helpful customer support agent..."
Agent policy — business rules auto-injected into the prompt (set to null to clear)
10000"Refunds are only allowed within 30 days of purchase."
Model configuration
{
"model": "openai/gpt-4o",
"modelSettings": { "temperature": 0.7 }
}Voice pipeline configuration
{
"pipelineMode": "batch",
"voiceId": "EXAVITQdyfvLewQXW32eyLI"
}Memory configuration
{ "enabled": true, "lastMessages": 20 }Additional metadata
{ "category": "support" }Knowledge base configuration for RAG (set to null to detach)
{
"knowledgeBaseId": "550e8400-e29b-41d4-a716-446655440000",
"topK": 5,
"similarityThreshold": 0.7
}Resolution criteria for evaluating conversation outcomes (max 5). Replaces all existing criteria when provided. Set to [] to clear.
[
{
"label": "Payment confirmed",
"description": "Customer confirms the payment date and amount"
}
]Agent updated successfully
Agent ID
Organization ID
Agent name
"Customer Support Agent"
Agent instructions
Agent status
draft, active, archived Agent version
Model configuration
Created at timestamp
Updated at timestamp
Agent description
Agent policy (business rules)
Voice configuration
Memory configuration
Additional metadata
Knowledge base configuration for RAG
Created by user ID