simulation_runs
Cancel a simulation run
Cooperatively cancels a pending or running simulation run: the row is marked cancelled and the worker's Celery task is best-effort revoked. The database is the source of truth — the worker re-reads the row before every terminal write, so a missed revoke signal is safe.
Idempotent: a run that has already reached a terminal status is returned unchanged with 200, so this is safe to call twice.
post/v1/simulation/runs/{sim_run_id}/cancel
Path parameters
sim_run_idstring uuid required
Response
Successful Response
Changes
Changed in 1 of the 3 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○