Retry Run Task
Run
Retry Run Task
Retry a single failed or skipped task within a completed run
POST
Retry Run Task
Retry a single task from a completed run without restarting the entire run. The task is reset to
pending and the run relaunches to process it. Only one retry can be queued at a time per squid — no other run may be active.
Headers
string
required
Your API authentication token. Value:
Token YOUR_API_KEYPath Parameters
string
required
Hash ID of the task to retry. Retrieve this from the Get Run Tasks endpoint (
data[].user_task).Constraints
- The run must be completed (
is_done: true). Retrying while the run is still active returnsRunInProgress. - No other run may be active for the same squid. If one is,
ClusterBusyis returned. - The run must not have already reached its
max_unique_results_per_runcap — if it has, retrying won’t scrape anything new andRunCapReachedis returned. Launch a new run instead. - A 5-minute cooldown applies between retries of the same task. Retrying too soon returns
RetryCooldown.
Code Examples
Response
200
Error Responses
400 RunInProgress
400 ClusterBusy
400 RunCapReached
400 RetryCooldown