cancel_run
Cancel an in-flight simulation run.
Works on runs in built, queued, or computing status. Cleans up compute resources (terminates EC2 instance, Celery task, or Batch job).
Returns 409 if the run is already in a terminal state (complete, cancelled, or error).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run ID to cancel |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |