## Headers
The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: List Message Batches
3url: https://platform.claude.com/docs/en/api/messages/batches/list
4---
5
16# List Message Batches
27
38**GET** `/v1/messages/batches`
from line 29
2429
2530 default: 20, maximum: 1000, minimum: 1
2631
32## Headers
33
34- `"anthropic-workspace-id": optional string`
35
2736## Returns
2837
2938- `data: array of MessageBatch`
3039
40 - `type: "message_batch"`
41
42 Object type.
43
44 For Message Batches, this is always `"message_batch"`.
45
46 default: message_batch
47
3148 - `id: string`
3249
3350 Unique object identifier.
from line 142
125142 URL to a `.jsonl` file containing the results of the Message Batch requests. Specified only once processing ends.
126143
127144 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.
128
129 - `type: "message_batch"`
130
131 Object type.
132
133 For Message Batches, this is always `"message_batch"`.
134
135 default: message_batch
136145
137146- `first_id: string or null`
138147