Confirm several uploads
Confirm up to 50 uploaded documents in one call, each as documents.upload_confirm (verifies the stored object, plan gate, idempotent on documents already confirmed). A failed item returns ok=false with its error and does not stop the others. reading applies to all of them (unset: the organization's default).
Authorization
bearerApiKey Create a scoped API key in the Adlass settings.
In: header
Header Parameters
Optional correlation identifier.
length <= 128A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.
1 <= length <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/documents/confirm-upload-batch" \ -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \ -H "Content-Type: application/json" \ -d '{ "document_ids": [ "123e4567-e89b-42d3-a456-426614174000" ] }'{ "items": [ { "ok": false, "document_id": "123e4567-e89b-42d3-a456-426614174000" } ], "confirmed": 0, "failed": 0}