Estimate a retry of the failed rows
Which failed rows a retry would call again, and what it would cost. Rows count once, at their latest attempt across the run and its retries; the run or any of its retries may be given. Nothing is started.
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"The estimate
application/json- response
run_id*stringThe run first launched, which the retry belongs to
rows*integerRows the retry would call
recoverable*integerFailed rows worth calling again: timeouts, network errors, 402, 408, 429, 5xx
non_recoverable*integerInvalid rows and other 4xx, left out unless include_non_recoverable=true
credit_cost*integercredits*integerCredits the retry may spend: its rows at credit_cost, or less under the project's max_cost_per_run (the cap plus one row)
estimated*booleanTrue for an endpoint billed per row or per GB: a row's cost is only known from its answer, credit_cost is its minimum
available*|Credits left; null when unknown
curl -X GET 'https://dataflow.piloterr.com/v1/runs/string/retry-failed'{
"run_id": "cm4j1m8ws0009l208b6yk3pne",
"rows": 1,
"recoverable": 1,
"non_recoverable": 0,
"credit_cost": 1,
"credits": 1,
"estimated": false,
"available": 4200
}