GET
/
v1
/
messages
/
batches
/
{message_batch_id}
/
results
While in Beta, this endpoint requires passing the anthropic-beta header with value message-batches-2024-09-24
The path for retrieving Message Batch results should be pulled from the batch’s results_url. This path should not be assumed and may change.

Headers

anthropic-beta
string

Optional header to specify the beta version(s) you want to use.

If passing in multiple, use a comma separated list, e.g. beta1,beta2.

anthropic-version
string
required

The version of the Anthropic API you want to use.

Read more about versioning and our version history here.

x-api-key
string
required

Your unique API key for authentication.

This key is required in the header of all API requests, to authenticate your account and access Anthropic's services. Get your API key through the Console. Each key is scoped to a Workspace.

Path Parameters

message_batch_id
string
required

ID of the Message Batch.

Response

200 - application/x-jsonl

The response is of type file.