Retrieve Message Batch results
Retrieve Message Batch results through the OMA API.
?beta=true with anthropic-beta: message-batches-2024-09-24 for the beta request and response shapes shown here.Authorizations
OMA workspace API key.
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 OMA API you want to use.
Read more about versioning and our version history here.
Path Parameters
ID of the Message Batch.
Query Parameters
Selects the beta API contract for this endpoint. Must be true.
true Response
Successful Response
This is a single line in the response .jsonl file and does not represent the response as a whole.
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.
"my-custom-id-1"
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.
- SucceededResult
- ErroredResult
- CanceledResult
- ExpiredResult