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>",
"model": "<string>",
"first_sentence": "<string>",
"tools": [
{}
],
"dynamic_data": {},
"interruption_threshold": 123,
"keywords": [
"<string>"
],
"max_duration": {}
}'{
"agent": {
"agent_id": "2c565dc7-f41f-43db-a99f-e4c8ba9d7d18",
"webhook": null,
"dynamic_data": null,
"interruption_threshold": null,
"first_sentence": null,
"model": "enhanced",
"voice_settings": null,
"voice": "maya",
"prompt": "...",
"temperature": null,
"max_duration": 30,
"language": "ENG",
"tools": null
}
}