curl --request PATCH \
--url https://api.example.com/v1/voiceai/agents/{agent_id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"conversation_config": {
"language": "<string>",
"voice_id": "<string>",
"first_message": "<string>",
"system_prompt": "<string>",
"temperature": 0.5,
"use_rag": true,
"tools": [
{
"name": "<string>",
"description": "<string>",
"enabled": true
}
]
},
"knowledge_base": [
"<string>"
]
}
'{
"agent_id": "<string>",
"name": "<string>",
"conversation_config": {
"language": "<string>",
"voice_id": "<string>",
"first_message": "<string>",
"system_prompt": "<string>",
"temperature": 123,
"use_rag": true,
"tools": [
{
"name": "<string>",
"description": "<string>",
"enabled": true
}
]
},
"created_at": 123,
"phone_number_id": "<string>",
"knowledge_base": [],
"phone_numbers": []
}Update a specific agent by ID
curl --request PATCH \
--url https://api.example.com/v1/voiceai/agents/{agent_id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"conversation_config": {
"language": "<string>",
"voice_id": "<string>",
"first_message": "<string>",
"system_prompt": "<string>",
"temperature": 0.5,
"use_rag": true,
"tools": [
{
"name": "<string>",
"description": "<string>",
"enabled": true
}
]
},
"knowledge_base": [
"<string>"
]
}
'{
"agent_id": "<string>",
"name": "<string>",
"conversation_config": {
"language": "<string>",
"voice_id": "<string>",
"first_message": "<string>",
"system_prompt": "<string>",
"temperature": 123,
"use_rag": true,
"tools": [
{
"name": "<string>",
"description": "<string>",
"enabled": true
}
]
},
"created_at": 123,
"phone_number_id": "<string>",
"knowledge_base": [],
"phone_numbers": []
}API key for authentication
The ID of the agent to update
Show child attributes
0 <= x <= 1Successful Response
Show child attributes