Update specific fields of an existing agent configuration.
API key for authentication
Agent resource ID
^[A-Za-z0-9]{22}$Partial update request (PATCH semantics - only provided fields are updated)
Human-readable agent name
1 - 200"Updated Agent Name"
Agent type. 5 types are supported:
MODEL_TYPE_VOICE, MODEL_TYPE_OUTBOUND_VOICE, MODEL_TYPE_CHAT, MODEL_TYPE_SMS, MODEL_TYPE_WEBSOCKET "MODEL_TYPE_VOICE"
Phone number in E.164 format or SIP address for voice/SMS agents
200"+9876543210"
Custom API endpoint URL
200"https://api.newexample.com/agent"
Agent instructions/system prompt
"Updated instructions..."
Simulator-specific configuration (null = no change, {} = clear)
{ "key": "value" }
Workflow configuration (null = no change, {} = clear)
{ "workflow": "config" }
Associated metric IDs (null = no change, [] = clear)
["new_metric_1"]
Associated test set IDs (null = no change, [] = clear)
["new_testset_1"]
Agent updated successfully
Agent configuration resource.
Note: The active field (soft delete status) is managed internally and not exposed in API responses.