pydo.genai.create_simulation_run()
Generated on 1 Oct 2026
from pydo version
v0.43.0
Usage
client.genai.create_simulation_run(
body={
"agent_config": {...},
"evaluation_config": {...},
"exploration_budget": 123,
...,
},
)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
agent_configobject optionalConfiguration of the candidate agent under test for a simulation run.
Show child properties
agent_deployment_uuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000Optional agent deployment to run. Defaults to the agent's current deployment when unset.
agent_uuidstring 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.
evaluation_configobject 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
metric_uuidsarray 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.star_metricobject optionalShow child properties
metric_uuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000namestring optionalExample:
example namesuccess_thresholdnumber optionalExample:
123The success threshold for the star metric.
This is a value that the metric must reach to be considered successful.success_threshold_pctinteger optionalExample:
123The success threshold for the star metric.
This is a percentage value between 0 and 100.
exploration_budgetinteger optionalExample:
123Optional run-level journeys-per-scenario override. When set, overrides each scenario's exploration_budget.
judge_model_uuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000Optional model override for the judge. Platform default when unset.
max_turnsinteger optionalExample:
123Optional run-level turn budget. When set, overrides each scenario's max_turns.
namestring optionalExample:
example nameOptional run name.
scenario_set_uuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000UUID of the existing scenario set to execute. The set must be ready.
user_simulator_configobject optionalOptional user simulator model settings such as temperature and max_tokens.
user_simulator_model_uuidstring 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.