---
title: "Batch Distill Multiple Pages"
method: POST
path: "/batch/distill"
tags: ["Batch", "Distill"]
---

# Batch Distill Multiple Pages

`POST /batch/distill`

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:**
1. Submit a batch job with up to 100 URLs
2. Receive a job ID immediately
3. Poll the status endpoint or receive webhook notification
4. 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

## Request body

- object
  - `urls` string[], required — List of URLs to distill, maximum 100
  - `timeout` number — Timeout per request in milliseconds, default 30000
  - `webhook` object — Webhook callback configuration, notifies when task completes
    - `url` string — Webhook callback URL, must be HTTPS
    - `headers` object — Custom callback headers, can be used for authentication

## Response `200`

Success response

- object
  - `success` boolean
  - `data` object
    - `id` string — Batch task ID
    - `status` 'processing' | 'completed' | 'failed'
    - `total` integer
    - `completed` integer
    - `creditsUsed` integer

---

[API](https://skmtc.dev/thunderbit/apis/thunderbit-open-api.md) · [All operations](https://skmtc.dev/thunderbit/apis/thunderbit-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/thunderbit/thunderbit-open-api/revisions/45aa863b3172/schema)
