v3

OpenAPI 3.1.02026-07-31350397683.8 KB
Rerun Simulation Results

Rerun Simulation Results

Rerun an explicit list of test_results in their existing simulation run.

Resolves the run from the provided test_result_ids (which must all share one simulation and one run), then defers to create_same_run_reruns for eligibility, the retry cap, idempotency, and the org rerun settings.

Auth: standard API key / JWT, or X-Webhook-Secret (LiveKit agent / eval). When using webhook secret, the org is derived from the simulation itself.

post/v1/rerun-simulation-results

Headers

X-Webhook-Secretstring nullable
X-API-Keystring required

API key required to authenticate requests.

Request body

simulation_idstring required

ID of the simulation the test_results belong to

test_result_idsinteger[] required

IDs of existing test_results to rerun in their same simulation run.

forceboolean

When True, bypass the simulation's rerun settings gates (enable_rerun_failed_test_results / enable_rerun_on_custom_error). Structural checks (retry cap, idempotency) still apply. Use for manual UI-triggered reruns.

Response

Successful Response

simulation_run_idstring required

ID of the existing simulation run the reruns were added to

simulation_result_idsstring[] required

IDs of the newly created rerun test_results

agent_idstring required

ID of the agent associated with the simulation run

statusstring