message-batches-api
Installation
SKILL.md
Message Batches API
Overview
The Message Batches API processes large volumes of Claude requests asynchronously at 50% of standard API cost. Ideal for bulk classification, extraction, scoring, and review tasks where latency tolerance allows batch processing.
Core Workflow
Create batch -> Poll status -> Retrieve results
| | |
POST /batches GET /batches/{id} GET /batches/{id}/results
Creating a Batch
import anthropic
import json