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

Request

  • Base URL
    https://api.qomplement.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.qomplement.com/api/batch/{batch_id}/document/{document_id}/automap
  • Auth
    HTTP bearer

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

unknown required

Changes

No recorded changes to this operation across all 9 revisions of this API.