Retry the failed rows
Queues a run (trigger: retry, parent_run_id: the run first launched) that calls only the rows still failing, keeping their row numbers. By default only recoverable failures are retried. Same rules as starting a run: one run at a time per project (409), 402 when the workspace cannot afford it unless force=true, 403 while Dataflow is switched off. 409 nothing_to_retry when no row qualifies. The retry has its own max_cost_per_run budget.
ApiKeyAuthX-Api-Key<token>id*stringThe run's id (GET /v1/projects/{id}/runs, or the answer of POST /v1/projects/{id}/runs)
1 <= lengthinclude_non_recoverable?stringAlso call again the rows that would most likely fail the same way: invalid rows and 4xx other than 402, 408 and 429.
"true""false"force?stringStart even if the workspace cannot afford every row; the run pauses when credits run out.
"true""false"Idempotency-Key?stringAny unique string of yours (a UUID), so that sending the request again does not create it twice: for 24 hours, the same request with the same key answers the first answer again, with the header Idempotent-Replayed: true. The key is the workspace's, per route and path; sent with another body or query, it is refused (422 idempotency_key_reused); while the first request still runs, 409 idempotency_key_in_progress. Answers 5xx, 409 and 429 are not kept: the same key can be sent again.
^[\x20-\x7e]{1,255}$Queued
application/json- response
id*stringproject_id*stringstatus*stringqueued → started → finalizing (its files are written) → completed or failed. paused: out of credits, resumed on its own once credits are back. cancelling: stops after the calls in flight
"queued""started""paused""finalizing""completed""failed""cancelling""cancelled"reason*|Why it failed, paused or was cancelled. failed: max_cost (stopped at max_cost_per_run with rows left), error_rate (more than half the rows failed), source_unreachable, mapping_invalid, api_key_invalid (the project's key, or the managed key, cannot be used), input_missing, paused_timeout (paused more than 7 days), endpoint_<why> (the endpoint can no longer run), internal_error (the run could not be processed after several attempts). paused: insufficient_credits. cancelled: killed_by_admin or account_halted_by_admin, null for a cancel of yours
trigger*string"api""schedule""retry"parent_run_id*|For a retry, the run whose failed rows it calls again
total*integerRows frozen for the run
done*integerRows with a result: ok + ko
ok*integerko*integerRows that failed or were invalid
credits*integerCredits used, as api.piloterr.com bills them: per call, the endpoint's credit_cost per row answered 200 or 404 (404 free on some endpoints); per row, credit_cost per result; per GB, at least credit_cost per row (the size is billed apart). Failed rows cost nothing. Includes search_credits. What max_cost_per_run caps
search_credits*integerWhat a search input's searches cost at launch (included in credits); 0 otherwise
created_at*stringstarted_at*string|nullpaused_at*string|nullfinished_at*string|nullduration_ms*|Since the run started, until it finished or now
results_expired_at*|When the results and files were deleted, 30 days after the run finished
eta_seconds*|Estimated time left while the run is started, from its pace so far; null otherwise
curl -X POST 'https://dataflow.piloterr.com/v1/runs/string/retry-failed'{
"id": "cm4j3x5tv000bl208c9mz1qkf",
"project_id": "cm4hz9r2k0003l208f1qd7vtx",
"status": "queued",
"reason": null,
"trigger": "retry",
"parent_run_id": "cm4j1m8ws0009l208b6yk3pne",
"total": 1,
"done": 0,
"ok": 0,
"ko": 0,
"credits": 0,
"search_credits": 0,
"created_at": "2026-11-10T09:15:00.000Z",
"started_at": null,
"paused_at": null,
"finished_at": null,
"duration_ms": null,
"results_expired_at": null,
"eta_seconds": null
}