Submit an extraction
Submits an extraction over completed files of one upload session. The prompt says what to extract, as a sentence or as an object naming exact output fields. options.json_typed_values: true is recommended for any integration that reads the rows; options.ask_questions: true lets the extraction stop and ask when the documents leave something unsettled.
Idempotent: the same request sent again with the same submission_id returns the existing extraction. Any other request under a submission_id that already belongs to an extraction is refused with SUBMISSION_ID_ALREADY_USED; use a new submission_id for each extraction. The task appears in the web dashboard alongside extractions submitted there.
Rate limit: 30 requests per minute per API key.
Request
- Base URL: https://api.invoicedataextraction.com/v1
- URL: https://api.invoicedataextraction.com/v1/extractions
- Auth: HTTP bearer
Request body
Response
The extraction is queued. Wait for it with getExtraction.
Changes
No recorded changes to this operation across all 1 revision of this API.