How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Anthropic Message Batches API

Send a batch of Message creation requests at 50% off both input and output tokens. Batches can take up to 24 hours to complete. Supports up to 300k output tokens per request on Opus 4.6/4.7 and Sonnet 4.6 with the output-300k-2026-03-24 beta header.

Anthropic Message Batches API is one of 24 APIs that Anthropic publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include AI, Artificial Intelligence, Batches, and Messages. The published artifact set on APIs.io includes API documentation and an OpenAPI specification.

This API exposes 6 operations across 4 paths, and defines 12 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://api.anthropic.com/v1.

6 operations 4 paths 12 schemas 1 DELETE3 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Server
https://api.anthropic.com/v1
Authentication
API Key
Contact
Resource Areas
1

Authentication & Security 1

Anthropic Message Batches API declares 1 security scheme for authenticating requests. An API key is passed in the header as x-api-key (AdminApiKeyAuth). By default, every request must be authenticated.

  • AdminApiKeyAuth — Your Admin API key for authentication (starts with sk-ant-admin...).

Paths & Operations 6

Across 4 paths, the API surfaces 6 operations — 1 DELETE, 3 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Message Batches 6

Create, manage, and retrieve batch message processing jobs

GET
/messages/batches
Anthropic List Message Batches
listMessageBatches 5 params → 2004XX
POST
/messages/batches
Anthropic Create Message Batch
createMessageBatch 2 params body → 2004XX
GET
/messages/batches/{message_batch_id}
Anthropic Retrieve Message Batch
retrieveMessageBatch 3 params → 2004XX
DELETE
/messages/batches/{message_batch_id}
Anthropic Delete Message Batch
deleteMessageBatch 3 params → 2004XX
GET
/messages/batches/{message_batch_id}/results
Anthropic Retrieve Message Batch Results
retrieveMessageBatchResults 3 params → 2004XX
POST
/messages/batches/{message_batch_id}/cancel
Anthropic Cancel Message Batch
cancelMessageBatch 3 params → 2004XX

Schemas 12

The contract defines 12 schemas that model the data the API accepts and returns. The most detailed are MessageBatch (10 properties), RequestCounts (5 properties), MessageBatchList (4 properties), MessageParams (3 properties). Each schema is shown below with its type and property counts.

Message
object
2 properties 2 required
MessageBatchDeletedResponse
object
2 properties 2 required
MessageParams
object
Parameters for the individual Message creation request
3 properties 3 required
Role
string
The role of the message sender
RequestCounts
object
Tallies of requests categorized by their status
5 properties 5 required
MessageBatchList
object
4 properties 4 required
CreateMessageBatchRequest
object
1 property 1 required
MessageBatchResultsStream
string
JSONL formatted stream with one result object per line
MessageBatch
object
10 properties 10 required
ProcessingStatus
string
Current processing status of the Message Batch
MessageBatchIndividualRequest
object
2 properties 2 required
Error
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

anthropic-message-batches-api-openapi.yml Raw ↑

Other APIs Anthropic publishes across the network.

Anthropic Messages API
Anthropic Models API
Anthropic Files API
Anthropic Token Counting API
Anthropic Skills API
Anthropic Claude Code Analytics API
Anthropic Agents API
Anthropic Api Keys API
Anthropic Cost API
Anthropic Environments API
Anthropic Events API
Anthropic Organization API
Where this information came from

This is an independent, third-party profile of Anthropic Message Batches API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.