Update an existing agent with a new configuration. You can update any of the agent’s properties including name, language, voice settings, and states. The update will generate a new version of the latest draft configuration of the agent. The response includes headers about rate limiting.
The API Key created in Rounded Studio.
The ID of the agent to update.
The agent data to update and generate a new configuration version. Some properties updates won't generate a new version as they are global settings and have immediate effect without requiring a deployment. These properties are:
namewebhook_urlwebhook_subscriptionssecure_recording_urlsFor other properties, a new version will be created and available to be deployed. Properties definitions are the same as the agent create request, see POST /v1/agents for the complete schema definition. The response includes headers about rate limiting.
en, fr, fr-FR, fr-BE, fr-CA, es, de, it, nl, pl, ar, pt, el, hr, zh high, medium, low event_variable_value_updated, event_all_variables_resolved, event_call_status_updated, event_call_recording_status_updated, event_call_answer_type_updated, event_task_transition, event_transcript, event_transcript_complete, event_phone_call_connected, event_phone_call_ended, event_phone_call_did_not_connect, event_web_call_connected, event_web_call_ended, event_recording, event_action, event_synthesizer_consumption, event_post_call, event_pipedream_connection Successfully updated agent
The agent data retrieved after the update.
Response message indicating the result of the operation. It will be different depending on the update type (when a new version is created or not).
"Agent draft configuration updated to version 2. Deploy it to make it active."
"Agent global settings updated successfully."
{
"details": [
{
"field": "email",
"message": "Invalid email format"
}
],
"message": "An error occurred while processing your request",
"status": 400,
"type": "generic_error"
}HTTP status code of the response.