pydo.genai.patch_cancel_simulation_run()
Generated on 1 Oct 2026
from pydo version
v0.43.0
Usage
client.genai.patch_cancel_simulation_run(
run_uuid="\"123e4567-e89b-12d3-a456-426614174000\"",
body={
"run_uuid": "123e4567-e89b-12d3-a456-426614174000",
},
)Description
To cancel an in-progress simulation run, send a PATCH request to /v2/gen-ai/simulation_runs/{run_uuid}/cancel.
Parameters
run_uuidstring requiredUUID of the simulation run to cancel. Returned by
CreateSimulationRun
and listed viaListSimulationRuns. The run must be in a non-terminal
status; already-terminal runs return an error.run_uuidstring optionalExample:
123e4567-e89b-12d3-a456-426614174000UUID of the run to cancel.
Request Sample
Response Example
More Information
See /v2/gen-ai/simulation_runs/{run_uuid}/cancel in the API reference for additional detail on responses, headers, parameters, and more.