List a batch's documents
GET
The batch's documents in item order. Filter by outcome (the keys of counts), e.g. failed for the items that need attention.
header
AuthorizationBearer <token>Authorization: Bearer dr_live_… or dr_test_…
id*stringoutcome?stringValue in
"pending""rendered""failed""canceled"limit?integerRange
1 <= value <= 100cursor?stringOK
application/json- response
object*unknowndata*array<>next_cursor*string|nullcurl -X GET 'https://druckling-nine.vercel.app/v1/batches/string/documents'Example Response200
{ "object": "list", "data": [ { "id": "string", "object": "document", "status": "queued", "template": "string", "version": 0, "filename": "string", "format": "pdf", "content_type": "string", "image": { "page": 0, "scale": 0, "width": 0, "height": 0 }, "pages": 0, "size_bytes": 0, "url": "string", "expires_at": "2019-08-24T14:15:22Z", "error": { "code": "string", "message": "string", "field": "string" }, "einvoice": { "format": "factur-x", "syntax": "cii", "profile": "string", "customization_id": "string", "attachment": "string" }, "batch": { "id": "string", "index": 0 }, "language": "string", "signature": { "certificate": "string", "certificate_name": "string", "subject": "string", "level": "B-B", "signed_at": "2019-08-24T14:15:22Z", "test_certificate": true }, "storage": { "bucket": "string", "status": "pending", "key": "string", "error": "string", "attempts": 0, "delivered_at": "2019-08-24T14:15:22Z" }, "test_mode": true, "created_at": "2019-08-24T14:15:22Z" } ], "next_cursor": "string"}