OptionalaliasUse an alias to link the file to your own DB. If empty, no alias will be used.
OptionalcloseBy default, the file is closed once the upload is finished.
Set to false to keep it open.
OptionalconfidenceCalculate confidence scores for values, and fill the confidence attribute of fields.
Useful for automation.
Model ID to use for the inference. Required
OptionalpollingClient-side polling configuration (see PollingOptions).
OptionalpolygonCalculate bounding box polygons for values, and fill the locations attribute of fields.
OptionalragUse Retrieval-Augmented Generation during inference.
OptionalrawExtract the entire text from the document as strings, and fill the rawText attribute.
OptionaltextAdditional text context used by the model during inference. Not recommended, for specific use only.
OptionalwebhookWebhook IDs to call after all processing is finished. If empty, no webhooks will be used.
Parameters accepted by the asynchronous inference v2 endpoint.
All fields are optional except
modelId.Example