Submit asynchronous batch extraction jobs and poll their status
Start Batch Extraction
POST https://api.documind.cloud/api/v1/batch/extract
Requires extractions:write scope.Use this endpoint for RPA or backend clients that need to submit several extraction jobs and poll for results later. The current backend implementation uses best-effort in-process background tasks; jobs can remain pending if the API process restarts while work is running.
Request Body
Field
Type
Required
Description
document_ids
string[]
Yes
Uploaded document IDs to extract. Must contain at least one UUID
extraction_request
object
Yes
Same extraction options used by POST /extract/{document_id}
extraction_request supports prompt, schema, model, extraction_mode, review_threshold, include_citations, agentic_ocr, and confidence_instruction. Prompt-only batch requests are accepted. If schema is provided, pass the extraction schema directly in the schema field with top-level named_entities and required keys.
include_citations is only valid for Advanced extraction. Do not set model or extraction_mode: "vlm" when include_citations is true.