Endpoints
Process (batch)
Submit multiple items for processing in a single request. Each item contains its own documents and optional metadata.
Returns immediately with a batch_id and the total item count. Results are delivered via webhook as items complete.
Request body
requests(required): Array of batch items (max 100). Each item hasdocuments(required) andmetadata(optional).webhook(required): Object withurl,secret(optional), andincremental(optional, defaults totrue). Whenincrementalistrue, a webhook is sent as each item completes. Whenfalse, a single webhook is sent when the entire batch finishes.
Webhook events
batch.item.completed: A single item finished processing (incremental mode).batch.completed: The entire batch finished.batch.failed: All items in the batch failed.
POST
Process (batch)
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
application/json
Response
Successful Response
Response for batch processing request creation.
Unique identifier for the batch
Number of items in the batch
ID of the structure being processed
Version number of the structure
When the batch was created
Initial batch status
Type of resource being processed
Process (batch)