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.
requests (required): Array of batch items (max 100). Each item has documents (required) and metadata (optional).webhook (required): Object with url, secret (optional), and incremental (optional, defaults to true). When incremental is true, a webhook is sent as each item completes. When false, a single webhook is sent when the entire batch finishes.batch.item.completed: A single item finished processing (incremental mode).batch.completed: The entire batch finished.batch.failed: All items in the batch failed.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