Authorizations
Headers
Optional unique key to ensure idempotent requests. If the same key is used again, the cached result will be returned.
Path Parameters
Query Parameters
Body
The document file to extract data from (PDF, image, etc.)
The model to use for extraction (e.g., 'gpt-4o'). If not specified, uses the project's default model.
Sampling temperature for the model (0.0 to 2.0). Lower values are more deterministic.
DPI resolution for image processing. Higher values increase quality but also cost.
Number of extraction runs to perform for consensus voting. Higher values improve accuracy.
Random seed for reproducible extractions.
Whether to store the extraction result in the database.
Custom key-value metadata as a JSON string to attach to the extraction.
Optional custom ID for the extraction. If not provided, one will be generated.
Response
Successful Response
"chat.completion"auto, default, flex, scale, priority Object defining the uncertainties of the fields extracted when using consensus. Follows the same structure as the extraction object.
Flag indicating if the extraction requires human review
Timestamp of the request
Timestamp of the first token of the document. If non-streaming, set to last_token_at
Timestamp of the last token of the document