Batches
Retry the failed items
For a finished batch with failed items: those items are rendered again as new renders (the old render id stays in error.previous_render_id), earlier combined files are dropped and the batch is processing until it finishes again. Zero-retention batches can't be retried: their items keep no data once they finish. Nor can a batch with combine whose succeeded items' files expired or were deleted: its new combined files couldn't hold those items.
post/v1/batches/{batch_id}/retry-failed
Request
- Base URL: https://api-eu.dynamicdocumentapi.com
- URL: https://api-eu.dynamicdocumentapi.com/v1/batches/{batch_id}/retry-failed
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Path parameters
batch_idstring required
Batch id (bat_…).
Headers
Idempotency-Keystring
Replays the stored response for 24 h; a different body with the same key → 422.
Response
Example response
{
"error": {
"code": "item_files_expired"
},
"files": [
{
"bytes": 1843200,
"content_type": "application/zip",
"file_id": "file_01J9ZM1X3F7R8K2C4V6B8N0P2R",
"filename": "certificates.zip"
}
],
"id": "bat_01J9ZN4T6V8X0Z2B4D6F8H0K2M",
"template_id": "tpl_01J9ZK3M7Q8V5W2X4Y6Z8A0B1C"
}Changes
No recorded changes to this operation across all 2 revisions of this API.