Skip to main content
POST
Queue Sms Simulation Run
Integration Prompt for AI Agents
New: agent_version_idDeprecated: prompt_id. Same uuid, still works. If both are sent and they differ, the request is 400.

Headers

X-Organization-Id
string
X-API-Key
string
required

API key required to authenticate requests.

Body

application/json

Pydantic model for simulation run request

simulation_id
string
required

ID of the simulation to be run

prompt_id
string<uuid> | null
deprecated

Deprecated. Use agent_version_id. Same uuid, still works.

agent_version_id
string<uuid> | null

Agent version UUID associated with this run

knowledge_base_id
string<uuid> | null

Knowledge base UUID associated with this run

digital_human_ids
string[] | null

Digital human IDs to be used in the simulation

terminate_overlapping_simulations
boolean | null
default:false

If true, all overlapping conversations with same pair of phone numbers will be ended

runs_per_digital_human
integer | null

Optional per-run override for how many test_results to spawn per selected digital human. Falls back to experiments.settings.runs_per_digital_human, then to 1.

Required range: x > 0

Response

Successful Response

simulation_run_id
string
required

ID of the created simulation run

simulation_result_ids
string[]
required

IDs of the created simulation results (test results)

agent_id
string
required

ID of the agent associated with the simulation run

status
string
default:success

Status of the response

terminated_conversations
Terminated Conversations · object[] | null

List of conversations that were terminated due to overlapping phone numbers