Update template
Update specific fields of an existing template configuration.
Authorizations
API key for authentication
Path Parameters
Template resource ID
^[A-Za-z0-9]{22}$Body
Partial update request (PATCH semantics - only provided fields are updated)
Human-readable template name
1 - 200"Updated Template Name"
Template description
1000"Updated description"
Type of simulation (matches SimulatorType enum from agents API)
SIMULATOR_VOICE, SIMULATOR_OUTBOUND_VOICE, SIMULATOR_SMS, SIMULATOR_CHAT, SIMULATOR_WEBSOCKET, SIMULATOR_LIVEKIT, SIMULATOR_OPENAI_REALTIME, SIMULATOR_OPENAI_ENDPOINT, SIMULATOR_TTS, SIMULATOR_TRANSCRIPTION, SIMULATOR_VOICE_TO_VOICE, SIMULATOR_NOOP "SIMULATOR_VOICE"
Simulation-specific configuration (null = no change, {} = clear)
{ "updated_field": "value" }Instructions for the simulated customer behavior
"Updated customer instructions..."
Associated agent ID
^[A-Za-z0-9]{22}$"3zfmuDbVQsi4GaseDtiVcS"
List of metric IDs (null = no change, [] = clear)
["new_metric_1"]List of persona IDs (null = no change, [] = clear)
["new_persona_1"]Associated test set ID
"testset_new123"
Number of simulation iterations to run
1 <= x <= 1000025
Number of parallel simulations to run
1 <= x <= 10010
Maximum number of test cases to sample
x >= 1100
Per-iteration parameter overrides (null = no change, [] = clear)
[]Response
Template updated successfully
Template configuration resource for reusable simulation setups.
Templates define complete simulation configurations including agent references, customer prompts, metrics, personas, and execution parameters.