Skip to Content
Extract

Extract structured data from multiple documents

POST
/extract/batch

Admit up to 100 file-backed extract child jobs in one durable batch. Every item uses file_index or file_id; parse_job_id reuse is single-extract-only and is not accepted in batch. Partial child failures are preserved. Parent status derivation follows JobStatus; billing is evaluated per child.

Authorization

bearerAuth
AuthorizationBearer <token>

Existing Eigenpal API key presented as a bearer token.

In: header

Header Parameters

Idempotency-Key*string

Client-supplied idempotency key. Required on every parse or extract POST. Must be unique per distinct request body for a given tenant and operation.

Length1 <= length <= 256

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/extract/batch" \  -H "Idempotency-Key: 7f9f2f3d-0f8a-4f0a-9a2b-2f6f0a7d2c11" \  -H "Authorization: Bearer $OPENPARSER_API_KEY" \  -F request="{    \"items\": [      {        \"client_item_id\": \"string\"      }    ]  }"
{  "id": "opj_b2c3d4e56f7a8901bcdef23456789012",  "operation": "parse_batch",  "status": "queued",  "output_format": "openparser@1",  "created_at": "2026-07-17T12:00:00Z",  "updated_at": "2026-07-17T12:00:00Z",  "child_count": 2}