{
"basic_details": {
"agent_name": "Customer Support", // Required
"description": "Agent description",
"category": 1,
"purpose": 1,
"agent_type": 1, // 1=Voice, 2=Chat, 3=Telephony, 4=General
"chatbot_name": "Support Bot",
"chatbot_welcome_message": "Welcome!",
"chatbot_image": "image_url", // Can be uploaded as file
"agent_privacy": 0, // 0=Private, 1=Public
"agent_prompt": "You are a helpful assistant...",
"voice_id": "KYiVPerWcenyBTIvWbfY",
"voice_provider": 1,
"transcriber_provider": 2,
"transcriber_language": "en",
"tone": "professional",
"style": "conversational",
"instruction_sensitivity": "medium"
},
"configuration": {
"context_awareness": true,
"memory_recall": true,
"sentiment_analysis": true,
"interruption_handling": true,
"agent_terminate_instruction": "...",
"agent_terminate_messages": "..."
},
"knowledge_base": {
"tools": [
{ "id": 1, "isEnabled": true }
],
"sub_agents": [
{ "id": 2, "isEnabled": true }
],
"text_knowledge_bases": [
{ "name": "KB1", "content": "..." }
]
},
"phone_numbers": ["+1234567890"],
"denials": {
"denied_words": ["word1", "word2"],
"denied_topics": ["topic1", "topic2"]
},
"dispositions_config": {
"dispositions": [...]
},
"guardrails": {
...
},
"metadata_config": {
"metadata_input": ["field1", "field2"],
"metadata_output": ["field1", "field2"]
}
}