dots.v2.genAi.simulation_runs.post()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v2.genAi.simulation_runs.post(body: ApiCreateSimulationRunInputPublic, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | ApiCreateSimulationRunOutput>Description
To create a simulation run, send a POST request to /v2/gen-ai/simulation_runs. The scenario set must be ready. Judge and user simulator models are optional and use platform defaults when omitted. The run is returned in the pending state.
Parameters
agentConfigobject optionalConfiguration of the candidate agent under test for a simulation run.
Show child properties
agentDeploymentUuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000Optional agent deployment to run. Defaults to the agent's current deployment when unset.
agentUuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000UUID of the agent to exercise as the candidate.
namestring optionalExample:
example nameDisplay name of the candidate agent. Persisted with the run.
evaluationConfigobject optionalOptional configuration that opts a simulation run into an evaluation. When
included on the create-run request, the platform reserves a
model_evaluation_run linked to this simulation run and dispatches the
evaluation automatically after the simulation finishes. The evaluation
reuses the simulation run's judge_model_uuid.Show child properties
metricUuidsarray of strings optionalExample:
["example string"]Evaluation metric UUIDs (from the evaluation metrics catalog). Must be
simulation-eligible (multi-turn) metrics; the create request is rejected
if any UUID is unknown or ineligible.starMetricobject optionalShow child properties
metricUuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000namestring optionalExample:
example namesuccessThresholdnumber optionalExample:
123The success threshold for the star metric.
This is a value that the metric must reach to be considered successful.successThresholdPctinteger optionalExample:
123The success threshold for the star metric.
This is a percentage value between 0 and 100.
explorationBudgetinteger optionalExample:
123Optional run-level episodes-per-scenario override. When set, overrides each scenario's exploration_budget.
judgeModelUuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000Optional model override for the judge. Platform default when unset.
maxTurnsinteger optionalExample:
123Optional run-level turn budget. When set, overrides each scenario's max_turns.
namestring optionalExample:
example nameOptional run name.
scenarioSetUuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000UUID of the existing scenario set to execute. The set must be ready.
userSimulatorConfigobject optionalOptional user simulator model settings such as temperature and max_tokens.
userSimulatorModelUuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000Optional model override for the user simulator. Platform default when unset.
Request Sample
Response Example
More Information
See /v2/gen-ai/simulation_runs in the API reference for additional detail on responses, headers, parameters, and more.