v1
latestOpenAPI 3.1.02026-07-136138.4 KBBatch
Distill
Batch Distill Multiple Pages
Distill multiple web pages simultaneously with asynchronous processing.
Use Cases:
- Process entire website sections or categories
- Batch import content into your knowledge base
- Large-scale content migration
- Periodic content updates from multiple sources
How It Works:
- Submit a batch job with up to 100 URLs
- Receive a job ID immediately
- Poll the status endpoint or receive webhook notification
- Retrieve all results when complete
Features:
- Asynchronous processing for high throughput
- Automatic retry on failures
- Webhook notifications when complete
- Detailed per-URL status and error reporting
post/batch/distill
Request body
Example request
{
"urls": [
"https://example.com/page1",
"https://example.com/page2",
"https://example.com/page3"
],
"webhook": {
"url": "https://your-server.com/api/webhook/distill",
"headers": {
"Authorization": "Bearer your-webhook-secret"
}
}
}Response
Success response
Example response
{
"success": true,
"data": {
"id": "batch_abc123",
"status": "processing",
"total": 3
}
}