Endpoints
Process (sync)
Send one or more documents for processing and wait for the result.
The request blocks until processing completes and returns the extracted data directly in the response.
Request body
documents(required): Array of document objects. Each document must have atypefield (url,base64, ortext).metadata(optional): Custom key-value object stored with the result.
Response fields
entry_id: Unique identifier for this result.resource_type: Always"structure".resource_id: The structure used for extraction.resource_version_number: The version of the structure applied.data: The extracted data as structured JSON.errors: Validation errors, if any.nullwhen everything is correct.status:completed,completed_with_errors, orfailed.time_ms: Processing time in milliseconds.price: Cost of this request.
POST
Process (sync)
Body
application/json
Request for synchronous document processing via deployment.
documents
(DocumentInputText · object | DocumentInputURL · object | DocumentInputBase64 · object | DocumentInputId · object)[]
required
List of documents to process (text, url, base64, or id of pre-uploaded document)
Minimum array length:
1Direct text content for processing.
- DocumentInputText
- DocumentInputURL
- DocumentInputBase64
- DocumentInputId
Response
Successful Response
Unified response for synchronous processing.