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