Cancel Task
Tasks & Workflows
Cancel Task
Cancel a pending, queued, or running task
POST
Cancel Task
POST /tasks//cancel
Request cancellation of an in-progress async task. Use this to abort energy model runs, shading computations, or other queued work that is no longer needed.Notes
- Only tasks with status
pending,queued, orrunningcan be cancelled. - Attempting to cancel a task that is already
completed,failed, orcancelledreturns a409 Conflicterror. - Returns
404if the task does not exist in the current workspace. - Requires a write session (workspace write access).
- The response contains the updated task record with status set to
cancelled. - Poll GET /tasks/ to confirm cancellation if the task was mid-execution.
