start_simulation
Start a flood simulation run for a built scenario.
The scenario must be in 'built' status. Returns 202 with the new run. The run transitions through: built → queued → computing → processing → complete.
After starting, poll get_run_status to track progress. Returns 409 if the scenario is not in the correct state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario_id | Yes | The scenario ID to run | |
| compute_backend | No | Compute backend: 'local' (Celery), 'ec2' (dedicated instance), or 'batch' (AWS Batch spot, cheapest). Default: 'local' | local |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |