v2

latestOpenAPI 3.1.02026-08-08556285514.3 KB
Batch Processing

Automap Document

Aggregate data from multiple pages and map to Excel template fields.

This endpoint:

  1. Retrieves selected pages from the document
  2. Aggregates structured data across pages
  3. Uses OpenAI to intelligently map aggregated data to Excel fields
  4. Returns mapping suggestions with confidence scores
post/api/batch/{batch_id}/document/{document_id}/automap

Path parameters

batch_idstring required
document_idstring required

Request body

batch_idstring required
document_idstring required
selected_page_numbersinteger[] required
openai_api_keystring required

Response

Successful Response

{"stackTrail":"paths:/api/batch/{batch_id}/document/{document_id}/automap:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}