curl --location --request POST 'http://dev-cn.your-api-server.com/v1/agents/' \
--header 'authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "<string>",
"voice": "<string>",
"analysis_schema": {},
"metadata": {},
"pathway_id": "<string>",
"language": "<string>",
"webhook": "<string>",
"model": "<string>",
"first_sentence": "<string>",
"tools": [
{}
],
"dynamic_data": {},
"interruption_threshold": 123,
"max_duration": {}
}'{
"status": "success",
"message": "Successfully updated agent 46f37229-7d12-44be-b343-6e68274cfbea.",
"updates": {
"model": "enhanced"
}
}