Retry failed and skipped rows
POST
/api/v1/batches/{id}/retry_failed
executions:write
Async
Bumps retry_count on failed rows under the per-row cap, requeues skipped rows, clears their stale terminal state, and restarts processing; poll getBatch. Re-checks workflow_inactive and live_mode_forbidden. Requires executions:write.
Asynchronous: the response is 202 Accepted. Poll
GET /batches/{id}
until status is terminal.
Path parameters
| Name | Type | Description |
|---|---|---|
idrequired |
integer |
Batch id. Scoped to the calling api_client; a foreign id returns |
Responses
-
202 Retry started
application/json-
dataBatchSchema: Batch
-
idinteger -
objectstring -
workflow_idinteger -
statusstring `completed` means every row reached a terminal status, even when some rows failed (see `failed_count`). `failed` means the batch itself stopped on an unexpected error; it is not accepted by `filter[status]` on `listBatches`. One ofpendingrunninginterruptedcompletedcancelledfailed -
execution_modestring One oftestlive -
external_referencestring, nullable -
total_countinteger -
completed_countinteger -
failed_countinteger -
started_atstring (date-time), nullable -
completed_atstring (date-time), nullable -
created_atstring (date-time) -
updated_atstring (date-time)
-
-
metaMetaSchema: Meta
-
request_idstring required Correlation id for this request. Also sent as the `X-Request-Id` response header; quote it when contacting support.
-
202 example{ "data": { "id": 77, "object": "batch", "workflow_id": 1, "status": "pending", "execution_mode": "test", "external_reference": "rentvine-batch-001", "total_count": 1, "completed_count": 1, "failed_count": 1, "started_at": "2026-05-08T18:41:05Z", "completed_at": "2026-05-08T18:41:05Z", "created_at": "2026-05-08T18:41:05Z", "updated_at": "2026-05-08T18:41:05Z" }, "meta": { "request_id": "7d4c2f48-9a1b-4c3d-8e2f-1a2b3c4d5e6f" } } -
-
401 Missing, malformed, expired or revoked bearer token. The
WWW-Authenticateheader carries the RFC 6750 challenge.application/json401 example{ "error": { "code": "unauthorized", "message": "A valid bearer token is required.", "details": [], "request_id": "7d4c2f48-9a1b-4c3d-8e2f-1a2b3c4d5e6f", "doc_url": "https://cascades.crscreditapi.com/docs/api/errors/unauthorized" } } -
403
insufficient_scopeorlive_mode_forbiddenapplication/json403 example{ "error": { "code": "validation_failed", "message": "The request could not be processed.", "details": [ { "field": "execution_mode", "message": "must be test or live" } ], "request_id": "7d4c2f48-9a1b-4c3d-8e2f-1a2b3c4d5e6f", "doc_url": "https://cascades.crscreditapi.com/docs/api/errors/validation_failed" } } -
404 Resource does not exist or belongs to another tenant / api_client
application/json404 example{ "error": { "code": "not_found", "message": "The requested resource was not found.", "details": [], "request_id": "7d4c2f48-9a1b-4c3d-8e2f-1a2b3c4d5e6f", "doc_url": "https://cascades.crscreditapi.com/docs/api/errors/not_found" } } -
409
batch_not_retryableorworkflow_inactiveapplication/json409 example{ "error": { "code": "batch_not_retryable", "message": "Batch is in status completed and has no retryable rows.", "details": [], "request_id": "7d4c2f48-9a1b-4c3d-8e2f-1a2b3c4d5e6f", "doc_url": "https://cascades.crscreditapi.com/docs/api/errors/batch_not_retryable" } } -
429 Rate limit exceeded (60 req/min per IP on
/api/v1, 600 req/hour per token prefix, or 300 req/5 min per IP globally). The body is the standard error envelope andRetry-Aftergives the seconds until the window resets.application/json429 example{ "error": { "code": "rate_limited", "message": "Rate limit exceeded. Retry later.", "details": [], "request_id": "7d4c2f48-9a1b-4c3d-8e2f-1a2b3c4d5e6f", "doc_url": "https://cascades.crscreditapi.com/docs/api/errors/rate_limited" } }