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.
Documentation Index
Fetch the complete documentation index at: https://docs.matil.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Path Parameters
Body
Request for synchronous document processing via deployment.
List of documents to process (text, url, base64, or id of pre-uploaded document)
1Direct text content for processing.
- DocumentInputText
- DocumentInputURL
- DocumentInputBase64
- DocumentInputId
Optional client-provided metadata. Stored with the entry for correlation.
Response
Successful Response
Unified response for synchronous processing.
Unique identifier for the created entry
ID of the structure used
Version number of the structure used
Processed data
Processing status: completed, completed_with_errors, or failed
Type of resource processed
Processing or validation errors
Processing time in milliseconds
Processing cost