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/beta/messages/batches/list
4---
5
16# List Message Batches
27
38**GET** `/v1/messages/batches`
from line 37
3237
3338 - `string`
3439
35 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
40 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3641
3742 - `"message-batches-2024-09-24"`
3843
from line 85
8085
8186 - `"user-profiles-2026-08-18"`
8287
88 - `"user-profiles-2026-09-04"`
89
8390 - `"advisor-tool-2026-03-01"`
8491
8592 - `"managed-agents-2026-04-01"`
from line 129
122129
123130 - `"mid-conversation-system-clear-at-2026-08-21"`
124131
132- `"anthropic-workspace-id": optional string`
133
125134## Returns
126135
127136- `data: array of BetaMessageBatch`
128137
138 - `type: "message_batch"`
139
140 Object type.
141
142 For Message Batches, this is always `"message_batch"`.
143
144 default: message_batch
145
129146 - `id: string`
130147
131148 Unique object identifier.
from line 240
223240 URL to a `.jsonl` file containing the results of the Message Batch requests. Specified only once processing ends.
224241
225242 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.
226
227 - `type: "message_batch"`
228
229 Object type.
230
231 For Message Batches, this is always `"message_batch"`.
232
233 default: message_batch
234243
235244- `first_id: string or null`
236245