## Headers
The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Retrieve a Message Batch
3url: https://platform.claude.com/docs/en/api/messages/batches/retrieve
4---
5
16# Retrieve a Message Batch
27
38**GET** `/v1/messages/batches/{message_batch_id}`
from line 17
1217
1318 ID of the Message Batch.
1419
20## Headers
21
22- `"anthropic-workspace-id": optional string`
23
1524## Returns
1625
1726- `MessageBatch object`
1827
28 - `type: "message_batch"`
29
30 Object type.
31
32 For Message Batches, this is always `"message_batch"`.
33
34 default: message_batch
35
1936 - `id: string`
2037
2138 Unique object identifier.
from line 130
113130 URL to a `.jsonl` file containing the results of the Message Batch requests. Specified only once processing ends.
114131
115132 Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests.
116
117 - `type: "message_batch"`
118
119 Object type.
120
121 For Message Batches, this is always `"message_batch"`.
122
123 default: message_batch
124133
125134## Example
126135