GET
/
v1
/
messages
/
batches
/
{message_batch_id}
/
results
La ruta para recuperar los resultados del Lote de Mensajes debe obtenerse desde el results_url del lote. Esta ruta no debe asumirse y puede cambiar.

Headers

anthropic-beta
string[]

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

To use multiple betas, use a comma separated list like beta1,beta2 or specify the header multiple times for each beta.

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

This is a single line in the response .jsonl file and does not represent the response as a whole.

custom_id
string
required

Developer-provided ID created for each request in a Message Batch. Useful for matching results to requests, as results may be given out of request order.

Must be unique for each request within the Message Batch.

result
object
required

Processing result for this request.

Contains a Message output if processing was successful, an error response if processing failed, or the reason why processing was not attempted, such as cancellation or expiration.