cURL
curl --request PUT \ --url https://api.comm.com/api/v1/voice/agents/{agent}/optimizer \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "system_prompt": "<string>", "answered_calls_per_test": 250, "test_volume_percent": 50, "is_enabled": true } '
{ "message": "Optimizer updated successfully", "optimizer": { "id": "<string>", "name": "<string>", "agent_id": "<string>", "system_prompt": "<string>", "answered_calls_per_test": "<string>", "test_volume_percent": "<string>", "is_enabled": "<string>", "current_test_id": "<string>", "is_active": true } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The agent ID
255
2000
1 <= x <= 500
0 <= x <= 100
"Optimizer updated successfully"
Show child attributes