Create a template
Create a new simulation configuration template.
Authorizations
API key for authentication
Body
Human-readable template name
1 - 200"Customer Support Voice Template"
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"
Associated agent ID
^[A-Za-z0-9]{22}$"3zfmuDbVQsi4GaseDtiVcS"
Template description
1000"Standard voice simulation template for customer support scenarios"
Simulation-specific configuration (JSONB)
{ "greeting": "Hello, how can I help you?" }
Instructions for the simulated customer behavior
"You are a customer calling about a delayed food delivery..."
List of metric IDs to evaluate
["metric_abc123"]
List of persona IDs for customer simulation
["persona_xyz789"]
Associated test set ID
"testset_abc123"
Number of simulation iterations to run
1 <= x <= 1000010
Number of parallel simulations to run
1 <= x <= 1005
Maximum number of test cases to sample from test set
x >= 150
Per-iteration parameter overrides
[]
Response
Template created successfully
Template configuration resource for reusable simulation setups.
Templates define complete simulation configurations including agent references, customer prompts, metrics, personas, and execution parameters.