Lots de Messages
Récupérer les Résultats du Lot de Messages
Streams the results of a Message Batch as a .jsonl
file.
Each line in the file is a JSON object containing the result of a single request in the Message Batch. Results are not guaranteed to be in the same order as requests. Use the custom_id
field to match results to requests.
GET
/
v1
/
messages
/
batches
/
{message_batch_id}
/
results
Le chemin pour récupérer les résultats du Lot de Messages doit être extrait de l’
results_url
du lot. Ce chemin ne doit pas être présumé et peut changer.Headers
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.
The version of the Anthropic API you want to use.
Read more about versioning and our version history here.
Path Parameters
ID of the Message Batch.
Response
200 - application/x-jsonl
The response is of type file
.
Was this page helpful?