Async Jobs
Delete Run API
Delete an async job and its data
DELETE
Delete an async job and all associated data. This operation is permanent.
The unique job identifier (e.g.,
run_abc123).Response
Returns204 No Content on successful deletion.
Deletion Behavior
- Completed jobs: Can be deleted immediately
- Cancelled jobs: Can be deleted immediately
- Running jobs: Must be cancelled first before deletion
- Queued jobs: Must be cancelled first before deletion
Example: Cancel and Delete
Error Responses
| Status | Description |
|---|---|
400 | Cannot delete running/queued job |
404 | Job not found |
500 | Internal server error |

