v2

latestOpenAPI 3.1.02026-08-08556285514.3 KB
Batch Processing

Match Schema To Extracted

Re-structure already-extracted document text using a schema. Uses the same GPT-4o-mini flow as initial schema-based extraction, but runs on the stored OCR text instead of re-running OCR.

post/api/batch/match-schema

Request body

document_idstring required
batch_idstring required
schema_fieldsobject[] required
page_numbersinteger[] nullable

Response

Successful Response

{"stackTrail":"paths:/api/batch/match-schema:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}