GET
GET /v1/messages/batches/{message_batch_id}/results?beta=true — Claude API
Beta
Anthropic API key (required); https://api.anthropic.com
Claude APIRetrieve Message Batch results
- Base URL
- https://api.anthropic.com
- Auth
- x-api-key: <ANTHROPIC_API_KEY>
- Last verified
- 2026-10-20 · upstream hash matched
Actions Try in browser→
Agents: curl -H "Accept: text/markdown" this URL
→ 166 tokens · Vary: Accept
→ 166 tokens · Vary: Accept
Critical gotchas
Authentication uses the x-api-key header and requests also require an anthropic-version header.
The official OpenAPI URL is discovered from the SDK repository manifest and must remain under Anthropic's trusted Stainless storage prefix.
cURL
curl -X GET 'https://api.anthropic.com/v1/messages/batches/message-batch-id/results?beta=true' \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H 'anthropic-version: 2023-06-01'
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| message_batch_id | path | string | Yes | ID of the Message Batch. |
Response 200 OK
{
"custom_id": "string",
"result": {
"message": {
"id": "string",
"type": "message",
"role": "assistant",
"content": [
{
"citations": null,
"text": "string",
"type": "text"
}
],
"model": "string",
"stop_reason": "end_turn",
"stop_sequence": null,
"stop_details": null,
"usage": {
"cache_creation": null,
"cache_creation_input_tokens": null,
"cache_read_input_tokens": null,
"fallback_credit": null,
"inference_geo": null,
"input_tokens": 0,
"iterations": null,
"output_tokens": 0,
"output_tokens_details": null,
"server_tool_use": null,
"service_tier": null,
"speed": null
},
"input_transformations": [
{
"path": "string",
"reason": "model_binding_mismatch",
"type": "thinking_dropped"
}
],
"diagnostics": null,
"context_management": null,
"container": null
},
"type": "succeeded"
}
} Get a free Claude API key → sponsored Affiliate link - we may earn a commission, at no extra cost to you.