Batches
Create a batch
Create a batch of requests to run asynchronously. Each request is dispatched to its target route and results are made available for download when the batch completes.
post/batches
Headers
Exa-Beta'batches-2026-06-06' required
Required beta token for the Batch API.
Required beta token for the Batch API.
Request body
Example request
{
"requests": [
{
"customId": "row-1",
"url": "/search"
}
],
"metadata": {
"slack_channel_id": "C123ABC",
"slack_thread_id": "1745444400.123456",
"user_id": "U123ABC"
}
}Response
OK
Example response
{
"id": "batch_01j7x9v0m2n4p6q8r0s2t4v6w8",
"metadata": {
"slack_channel_id": "C123ABC",
"slack_thread_id": "1745444400.123456",
"user_id": "U123ABC"
}
}