Retrieve Message Batch results changedapi/messages/batches/results
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+256added
Lines−173removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits20to this page, all time
# Retrieve Message Batch results ## Path parameters ## Returns ## Example ## Retrieve Message Batch results ### Path Parameters ### Returns ### Example
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Retrieve Message Batch results
3url: https://platform.claude.com/docs/en/api/messages/batches/results
4---
1# Retrieve Message Batch results
52
6## Retrieve Message Batch results
3**GET** `/v1/messages/batches/{message_batch_id}/results`
74
8**get** `/v1/messages/batches/{message_batch_id}/results`
9
105Streams the results of a Message Batch as a `.jsonl` file.
116
127Each 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.
from line 8
138
149Learn more about the Message Batches API in our [user guide](https://platform.claude.com/docs/en/build-with-claude/batch-processing)
1510
16### Path Parameters
11## Path parameters
1712
1813- `message_batch_id: string`
1914
2015 ID of the Message Batch.
2116
22### Returns
17## Returns
2318
24- `MessageBatchIndividualResponse object { custom_id, result }`
19- `MessageBatchIndividualResponse object`
2520
2621 This is a single line in the response `.jsonl` file and does not represent the response as a whole.
2722
from line 32
3732
3833 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.
3934
40 - `MessageBatchSucceededResult object { message, type }`
35 - `MessageBatchSucceededResult object`
4136
4237 - `message: Message`
4338
from line 54
5954
6055 The time at which the container will expire.
6156
57 format: date-time
58
6259 - `skills: array of ContainerSkill or null`
6360
6461 Skills loaded in the container
from line 64
6764
6865 Skill ID
6966
67 maxLength: 64, minLength: 1
68
7069 - `type: "anthropic" or "custom"`
7170
7271 Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined)
from line 78
7978
8079 The resolved version: a skill version ID for custom skills.
8180
81 maxLength: 64, minLength: 1
82
8283 - `content: array of ContentBlock`
8384
8485 Content generated by the model.
from line 109
108109 [{"type": "text", "text": "B)"}]
109110 ```
110111
111 - `TextBlock object { citations, text, type }`
112 - `TextBlock object`
112113
113114 - `citations: array of TextCitation or null`
114115
from line 117
116117
117118 The type of citation returned will depend on the type of document being cited. Citing a PDF results in `page_location`, plain text results in `char_location`, and content document results in `content_block_location`.
118119
119 - `CitationCharLocation object { cited_text, document_index, document_title, 4 more }`
120 - `CitationCharLocation object`
120121
121122 - `cited_text: string`
122123
123124 - `document_index: number`
124125
126 minimum: 0
127
125128 - `document_title: string or null`
126129
127130 - `end_char_index: number`
from line 133
130133
131134 - `start_char_index: number`
132135
136 minimum: 0
137
133138 - `type: "char_location"`
134139
135 - `"char_location"`
140 default: char_location
136141
137 - `CitationPageLocation object { cited_text, document_index, document_title, 4 more }`
142 - `CitationPageLocation object`
138143
139144 - `cited_text: string`
140145
141146 - `document_index: number`
142147
148 minimum: 0
149
143150 - `document_title: string or null`
144151
145152 - `end_page_number: number`
from line 155
148155
149156 - `start_page_number: number`
150157
158 minimum: 1
159
151160 - `type: "page_location"`
152161
153 - `"page_location"`
162 default: page_location
154163
155 - `CitationContentBlockLocation object { cited_text, document_index, document_title, 4 more }`
164 - `CitationContentBlockLocation object`
156165
157166 - `cited_text: string`
158167
from line 171
162171
163172 - `document_index: number`
164173
174 minimum: 0
175
165176 - `document_title: string or null`
166177
167178 - `end_block_index: number`
from line 187
176187
177188 0-based index of the first cited block in the source's `content` array.
178189
190 minimum: 0
191
179192 - `type: "content_block_location"`
180193
181 - `"content_block_location"`
194 default: content_block_location
182195
183 - `CitationsWebSearchResultLocation object { cited_text, encrypted_index, title, 2 more }`
196 - `CitationsWebSearchResultLocation object`
184197
185198 - `cited_text: string`
186199
from line 201
188201
189202 - `title: string or null`
190203
204 maxLength: 512
205
191206 - `type: "web_search_result_location"`
192207
193 - `"web_search_result_location"`
208 default: web_search_result_location
194209
195210 - `url: string`
196211
197 - `CitationsSearchResultLocation object { cited_text, end_block_index, search_result_index, 4 more }`
212 - `CitationsSearchResultLocation object`
198213
199214 - `cited_text: string`
200215
from line 229
214229
215230 Counted separately from `document_index`; server-side web search results are not included in this count.
216231
232 minimum: 0
233
217234 - `source: string`
218235
219236 - `start_block_index: number`
from line 237
220237
221238 0-based index of the first cited block in the source's `content` array.
222239
240 minimum: 0
241
223242 - `title: string or null`
224243
225244 - `type: "search_result_location"`
226245
227 - `"search_result_location"`
246 default: search_result_location
228247
229248 - `text: string`
230249
250 maxLength: 5000000, minLength: 0
251
231252 - `type: "text"`
232253
233 - `"text"`
254 default: text
234255
235 - `ThinkingBlock object { signature, thinking, type }`
256 - `ThinkingBlock object`
236257
237258 - `signature: string`
238259
from line 269
248269
249270 - `type: "thinking"`
250271
251 - `"thinking"`
272 default: thinking
252273
253 - `RedactedThinkingBlock object { data, type }`
274 - `RedactedThinkingBlock object`
254275
255276 - `data: string`
256277
from line 283
262283
263284 - `type: "redacted_thinking"`
264285
265 - `"redacted_thinking"`
286 default: redacted_thinking
266287
267 - `ToolUseBlock object { id, caller, input, 3 more }`
288 - `ToolUseBlock object`
268289
269290 - `id: string`
270291
292 pattern: ^[a-zA-Z0-9_-]+$
293
271294 - `caller: DirectCaller or ServerToolCaller or ServerToolCaller20260120`
272295
273296 Tool invocation directly from the model.
274297
275 - `DirectCaller object { type }`
298 default: {"type":"direct"}
276299
300 - `DirectCaller object`
301
277302 Tool invocation directly from the model.
278303
279304 - `type: "direct"`
280305
281 - `"direct"`
306 - `ServerToolCaller object`
282307
283 - `ServerToolCaller object { tool_id, type }`
284
285308 Tool invocation generated by a server-side tool.
286309
287310 - `tool_id: string`
288311
312 pattern: ^srvtoolu_[a-zA-Z0-9_]+$
313
289314 - `type: "code_execution_20250825"`
290315
291 - `"code_execution_20250825"`
316 - `ServerToolCaller20260120 object`
292317
293 - `ServerToolCaller20260120 object { tool_id, type }`
294
295318 - `tool_id: string`
296319
320 pattern: ^srvtoolu_[a-zA-Z0-9_]+$
321
297322 - `type: "code_execution_20260120"`
298323
299 - `"code_execution_20260120"`
300
301324 - `input: map[unknown]`
302325
303326 - `name: string`
304327
328 minLength: 1
329
305330 - `type: "tool_use"`
306331
307 - `"tool_use"`
332 default: tool_use
308333
309334 - `toolset_name: optional string or null`
310335
311336 For a toolset member tool_use, the toolset family.
312337
313 - `ServerToolUseBlock object { id, caller, input, 2 more }`
338 maxLength: 64, minLength: 1, pattern: ^[a-zA-Z0-9_-]+$
314339
340 - `ServerToolUseBlock object`
341
315342 - `id: string`
316343
344 pattern: ^srvtoolu_[a-zA-Z0-9_]+$
345
317346 - `caller: DirectCaller or ServerToolCaller or ServerToolCaller20260120`
318347
319348 Tool invocation directly from the model.
320349
321 - `DirectCaller object { type }`
350 default: {"type":"direct"}
322351
352 - `DirectCaller object`
353
323354 Tool invocation directly from the model.
324355
325 - `ServerToolCaller object { tool_id, type }`
356 - `ServerToolCaller object`
326357
327358 Tool invocation generated by a server-side tool.
328359
329 - `ServerToolCaller20260120 object { tool_id, type }`
360 - `ServerToolCaller20260120 object`
330361
331362 - `input: map[unknown]`
332363
from line 379
348379
349380 - `type: "server_tool_use"`
350381
351 - `"server_tool_use"`
382 default: server_tool_use
352383
353 - `WebSearchToolResultBlock object { caller, content, tool_use_id, type }`
384 - `WebSearchToolResultBlock object`
354385
355386 - `caller: DirectCaller or ServerToolCaller or ServerToolCaller20260120`
356387
357388 Tool invocation directly from the model.
358389
359 - `DirectCaller object { type }`
390 default: {"type":"direct"}
360391
392 - `DirectCaller object`
393
361394 Tool invocation directly from the model.
362395
363 - `ServerToolCaller object { tool_id, type }`
396 - `ServerToolCaller object`
364397
365398 Tool invocation generated by a server-side tool.
366399
367 - `ServerToolCaller20260120 object { tool_id, type }`
400 - `ServerToolCaller20260120 object`
368401
369402 - `content: WebSearchToolResultBlockContent`
370403
371 - `WebSearchToolResultError object { error_code, type }`
404 - `WebSearchToolResultError object`
372405
373406 - `error_code: WebSearchToolResultErrorCode`
374407
from line 419
386419
387420 - `type: "web_search_tool_result_error"`
388421
389 - `"web_search_tool_result_error"`
422 default: web_search_tool_result_error
390423
391424 - `array of WebSearchResultBlock`
392425
from line 431
398431
399432 - `type: "web_search_result"`
400433
401 - `"web_search_result"`
434 default: web_search_result
402435
403436 - `url: string`
404437
405438 - `tool_use_id: string`
406439
440 pattern: ^srvtoolu_[a-zA-Z0-9_]+$
441
407442 - `type: "web_search_tool_result"`
408443
409 - `"web_search_tool_result"`
444 default: web_search_tool_result
410445
411 - `WebFetchToolResultBlock object { caller, content, tool_use_id, type }`
446 - `WebFetchToolResultBlock object`
412447
413448 - `caller: DirectCaller or ServerToolCaller or ServerToolCaller20260120`
414449
415450 Tool invocation directly from the model.
416451
417 - `DirectCaller object { type }`
452 default: {"type":"direct"}
418453
454 - `DirectCaller object`
455
419456 Tool invocation directly from the model.
420457
421 - `ServerToolCaller object { tool_id, type }`
458 - `ServerToolCaller object`
422459
423460 Tool invocation generated by a server-side tool.
424461
425 - `ServerToolCaller20260120 object { tool_id, type }`
462 - `ServerToolCaller20260120 object`
426463
427464 - `content: WebFetchToolResultErrorBlock or WebFetchBlock`
428465
429 - `WebFetchToolResultErrorBlock object { error_code, type }`
466 - `WebFetchToolResultErrorBlock object`
430467
431468 - `error_code: WebFetchToolResultErrorCode`
432469
from line 487
450487
451488 - `type: "web_fetch_tool_result_error"`
452489
453 - `"web_fetch_tool_result_error"`
490 default: web_fetch_tool_result_error
454491
455 - `WebFetchBlock object { content, retrieved_at, type, url }`
492 - `WebFetchBlock object`
456493
457494 - `content: DocumentBlock`
458495
from line 499
462499
463500 - `enabled: boolean`
464501
502 default: false
503
465504 - `source: Base64PDFSource or PlainTextSource`
466505
467 - `Base64PDFSource object { data, media_type, type }`
506 - `Base64PDFSource object`
468507
469508 - `data: string`
470509
510 format: byte
511
471512 - `media_type: "application/pdf"`
472513
473 - `"application/pdf"`
474
475514 - `type: "base64"`
476515
477 - `"base64"`
516 - `PlainTextSource object`
478517
479 - `PlainTextSource object { data, media_type, type }`
480
481518 - `data: string`
482519
483520 - `media_type: "text/plain"`
484521
485 - `"text/plain"`
486
487522 - `type: "text"`
488523
489 - `"text"`
490
491524 - `title: string or null`
492525
493526 The title of the document
from line 527
494527
495528 - `type: "document"`
496529
497 - `"document"`
530 default: document
498531
499532 - `retrieved_at: string or null`
500533
from line 535
502535
503536 - `type: "web_fetch_result"`
504537
505 - `"web_fetch_result"`
538 default: web_fetch_result
506539
507540 - `url: string`
508541
from line 543
510543
511544 - `tool_use_id: string`
512545
546 pattern: ^srvtoolu_[a-zA-Z0-9_]+$
547
513548 - `type: "web_fetch_tool_result"`
514549
515 - `"web_fetch_tool_result"`
550 default: web_fetch_tool_result
516551
517 - `CodeExecutionToolResultBlock object { content, tool_use_id, type }`
552 - `CodeExecutionToolResultBlock object`
518553
519554 - `content: CodeExecutionToolResultBlockContent`
520555
521556 Code execution result with encrypted stdout for PFC + web_search results.
522557
523 - `CodeExecutionToolResultError object { error_code, type }`
558 - `CodeExecutionToolResultError object`
524559
525560 - `error_code: CodeExecutionToolResultErrorCode`
526561
from line 569
534569
535570 - `type: "code_execution_tool_result_error"`
536571
537 - `"code_execution_tool_result_error"`
572 default: code_execution_tool_result_error
538573
539 - `CodeExecutionResultBlock object { content, return_code, stderr, 2 more }`
574 - `CodeExecutionResultBlock object`
540575
541576 - `content: array of CodeExecutionOutputBlock`
542577
from line 579
544579
545580 - `type: "code_execution_output"`
546581
547 - `"code_execution_output"`
582 default: code_execution_output
548583
549584 - `return_code: number`
550585
from line 589
554589
555590 - `type: "code_execution_result"`
556591
557 - `"code_execution_result"`
592 default: code_execution_result
558593
559 - `EncryptedCodeExecutionResultBlock object { content, encrypted_stdout, return_code, 2 more }`
594 - `EncryptedCodeExecutionResultBlock object`
560595
561596 Code execution result with encrypted stdout for PFC + web_search results.
562597
from line 601
566601
567602 - `type: "code_execution_output"`
568603
604 default: code_execution_output
605
569606 - `encrypted_stdout: string`
570607
571608 - `return_code: number`
from line 611
574611
575612 - `type: "encrypted_code_execution_result"`
576613
577 - `"encrypted_code_execution_result"`
614 default: encrypted_code_execution_result
578615
579616 - `tool_use_id: string`
580617
618 pattern: ^srvtoolu_[a-zA-Z0-9_]+$
619
581620 - `type: "code_execution_tool_result"`
582621
583 - `"code_execution_tool_result"`
622 default: code_execution_tool_result
584623
585 - `BashCodeExecutionToolResultBlock object { content, tool_use_id, type }`
624 - `BashCodeExecutionToolResultBlock object`
586625
587626 - `content: BashCodeExecutionToolResultError or BashCodeExecutionResultBlock`
588627
589 - `BashCodeExecutionToolResultError object { error_code, type }`
628 - `BashCodeExecutionToolResultError object`
590629
591630 - `error_code: BashCodeExecutionToolResultErrorCode`
592631
from line 641
602641
603642 - `type: "bash_code_execution_tool_result_error"`
604643
605 - `"bash_code_execution_tool_result_error"`
644 default: bash_code_execution_tool_result_error
606645
607 - `BashCodeExecutionResultBlock object { content, return_code, stderr, 2 more }`
646 - `BashCodeExecutionResultBlock object`
608647
609648 - `content: array of BashCodeExecutionOutputBlock`
610649
from line 651
612651
613652 - `type: "bash_code_execution_output"`
614653
615 - `"bash_code_execution_output"`
654 default: bash_code_execution_output
616655
617656 - `return_code: number`
618657
from line 661
622661
623662 - `type: "bash_code_execution_result"`
624663
625 - `"bash_code_execution_result"`
664 default: bash_code_execution_result
626665
627666 - `tool_use_id: string`
628667
668 pattern: ^srvtoolu_[a-zA-Z0-9_]+$
669
629670 - `type: "bash_code_execution_tool_result"`
630671
631 - `"bash_code_execution_tool_result"`
672 default: bash_code_execution_tool_result
632673
633 - `TextEditorCodeExecutionToolResultBlock object { content, tool_use_id, type }`
674 - `TextEditorCodeExecutionToolResultBlock object`
634675
635676 - `content: TextEditorCodeExecutionToolResultError or TextEditorCodeExecutionViewResultBlock or TextEditorCodeExecutionCreateResultBlock or TextEditorCodeExecutionStrReplaceResultBlock`
636677
637 - `TextEditorCodeExecutionToolResultError object { error_code, error_message, type }`
678 - `TextEditorCodeExecutionToolResultError object`
638679
639680 - `error_code: TextEditorCodeExecutionToolResultErrorCode`
640681
from line 693
652693
653694 - `type: "text_editor_code_execution_tool_result_error"`
654695
655 - `"text_editor_code_execution_tool_result_error"`
696 default: text_editor_code_execution_tool_result_error
656697
657 - `TextEditorCodeExecutionViewResultBlock object { content, file_type, num_lines, 3 more }`
698 - `TextEditorCodeExecutionViewResultBlock object`
658699
659700 - `content: string`
660701
from line 715
674715
675716 - `type: "text_editor_code_execution_view_result"`
676717
677 - `"text_editor_code_execution_view_result"`
718 default: text_editor_code_execution_view_result
678719
679 - `TextEditorCodeExecutionCreateResultBlock object { is_file_update, type }`
720 - `TextEditorCodeExecutionCreateResultBlock object`
680721
681722 - `is_file_update: boolean`
682723
683724 - `type: "text_editor_code_execution_create_result"`
684725
685 - `"text_editor_code_execution_create_result"`
726 default: text_editor_code_execution_create_result
686727
687 - `TextEditorCodeExecutionStrReplaceResultBlock object { lines, new_lines, new_start, 3 more }`
728 - `TextEditorCodeExecutionStrReplaceResultBlock object`
688729
689730 - `lines: array of string or null`
690731
from line 739
698739
699740 - `type: "text_editor_code_execution_str_replace_result"`
700741
701 - `"text_editor_code_execution_str_replace_result"`
742 default: text_editor_code_execution_str_replace_result
702743
703744 - `tool_use_id: string`
704745
746 pattern: ^srvtoolu_[a-zA-Z0-9_]+$
747
705748 - `type: "text_editor_code_execution_tool_result"`
706749
707 - `"text_editor_code_execution_tool_result"`
750 default: text_editor_code_execution_tool_result
708751
709 - `ToolSearchToolResultBlock object { content, tool_use_id, type }`
752 - `ToolSearchToolResultBlock object`
710753
711754 - `content: ToolSearchToolResultError or ToolSearchToolSearchResultBlock`
712755
713 - `ToolSearchToolResultError object { error_code, error_message, type }`
756 - `ToolSearchToolResultError object`
714757
715758 - `error_code: ToolSearchToolResultErrorCode`
716759
from line 769
726769
727770 - `type: "tool_search_tool_result_error"`
728771
729 - `"tool_search_tool_result_error"`
772 default: tool_search_tool_result_error
730773
731 - `ToolSearchToolSearchResultBlock object { tool_references, type }`
774 - `ToolSearchToolSearchResultBlock object`
732775
733776 - `tool_references: array of ToolReferenceBlock`
734777
735778 - `tool_name: string`
736779
780 maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$
781
737782 - `type: "tool_reference"`
738783
739 - `"tool_reference"`
784 default: tool_reference
740785
741786 - `type: "tool_search_tool_search_result"`
742787
743 - `"tool_search_tool_search_result"`
788 default: tool_search_tool_search_result
744789
745790 - `tool_use_id: string`
746791
792 pattern: ^srvtoolu_[a-zA-Z0-9_]+$
793
747794 - `type: "tool_search_tool_result"`
748795
749 - `"tool_search_tool_result"`
796 default: tool_search_tool_result
750797
751 - `ContainerUploadBlock object { file_id, type }`
798 - `ContainerUploadBlock object`
752799
753800 Response model for a file uploaded to the container.
754801
from line 803
756803
757804 - `type: "container_upload"`
758805
759 - `"container_upload"`
806 default: container_upload
760807
761808 - `model: Model`
762809
from line 885
838885
839886 This will always be `"assistant"`.
840887
841 - `"assistant"`
888 default: assistant
842889
843890 - `stop_details: RefusalStopDetails or null`
844891
from line 923
876923
877924 - `type: "refusal"`
878925
879 - `"refusal"`
926 default: refusal
880927
881928 - `stop_reason: StopReason or null`
882929
from line 967
920967
921968 For Messages, this is always `"message"`.
922969
923 - `"message"`
970 default: message
924971
925972 - `usage: Usage`
926973
from line 989
942989
943990 The number of input tokens used to create the 1 hour cache entry.
944991
992 default: 0, minimum: 0
993
945994 - `ephemeral_5m_input_tokens: number`
946995
947996 The number of input tokens used to create the 5 minute cache entry.
948997
998 default: 0, minimum: 0
999
9491000 - `cache_creation_input_tokens: number or null`
9501001
9511002 The number of input tokens used to create the cache entry.
9521003
1004 minimum: 0
1005
9531006 - `cache_read_input_tokens: number or null`
9541007
9551008 The number of input tokens read from the cache.
9561009
1010 minimum: 0
1011
9571012 - `inference_geo: string or null`
9581013
9591014 The geographic region where inference was performed for this request.
from line 1017
9621017
9631018 The number of input tokens which were used.
9641019
1020 minimum: 0
1021
9651022 - `output_tokens: number`
9661023
9671024 The number of output tokens which were used.
9681025
1026 minimum: 0
1027
9691028 - `output_tokens_details: OutputTokensDetails or null`
9701029
9711030 Breakdown of output tokens by category.
from line 1045
9861045 generation count by a small number of tokens. Always ≤ `output_tokens`;
9871046 `output_tokens - thinking_tokens` approximates the non-reasoning output.
9881047
1048 default: 0, minimum: 0
1049
9891050 - `server_tool_use: ServerToolUsage or null`
9901051
9911052 The number of server tool requests.
from line 1055
9941055
9951056 The number of web fetch tool requests.
9961057
1058 default: 0, minimum: 0
1059
9971060 - `web_search_requests: number`
9981061
9991062 The number of web search tool requests.
10001063
1064 default: 0, minimum: 0
1065
10011066 - `service_tier: "standard" or "priority" or "batch" or null`
10021067
10031068 If the request used the priority, standard, or batch tier.
from line 1075
10101075
10111076 - `type: "succeeded"`
10121077
1013 - `"succeeded"`
1078 default: succeeded
10141079
1015 - `MessageBatchErroredResult object { error, type }`
1080 - `MessageBatchErroredResult object`
10161081
10171082 - `error: ErrorResponse`
10181083
10191084 - `error: ErrorObject`
10201085
1021 - `InvalidRequestError object { message, type }`
1086 - `InvalidRequestError object`
10221087
10231088 - `message: string`
10241089
1090 default: Invalid request
1091
10251092 - `type: "invalid_request_error"`
10261093
1027 - `"invalid_request_error"`
1094 default: invalid_request_error
10281095
1029 - `AuthenticationError object { message, type }`
1096 - `AuthenticationError object`
10301097
10311098 - `message: string`
10321099
1100 default: Authentication error
1101
10331102 - `type: "authentication_error"`
10341103
1035 - `"authentication_error"`
1104 default: authentication_error
10361105
1037 - `BillingError object { message, type }`
1106 - `BillingError object`
10381107
10391108 - `message: string`
10401109
1110 default: Billing error
1111
10411112 - `type: "billing_error"`
10421113
1043 - `"billing_error"`
1114 default: billing_error
10441115
1045 - `PermissionError object { message, type }`
1116 - `PermissionError object`
10461117
10471118 - `message: string`
10481119
1120 default: Permission denied
1121
10491122 - `type: "permission_error"`
10501123
1051 - `"permission_error"`
1124 default: permission_error
10521125
1053 - `NotFoundError object { message, type }`
1126 - `NotFoundError object`
10541127
10551128 - `message: string`
10561129
1130 default: Not found
1131
10571132 - `type: "not_found_error"`
10581133
1059 - `"not_found_error"`
1134 default: not_found_error
10601135
1061 - `RateLimitError object { message, type }`
1136 - `RateLimitError object`
10621137
10631138 - `message: string`
10641139
1140 default: Rate limited
1141
10651142 - `type: "rate_limit_error"`
10661143
1067 - `"rate_limit_error"`
1144 default: rate_limit_error
10681145
1069 - `GatewayTimeoutError object { message, type }`
1146 - `GatewayTimeoutError object`
10701147
10711148 - `message: string`
10721149
1150 default: Request timeout
1151
10731152 - `type: "timeout_error"`
10741153
1075 - `"timeout_error"`
1154 default: timeout_error
10761155
1077 - `APIErrorObject object { message, type }`
1156 - `APIErrorObject object`
10781157
10791158 - `message: string`
10801159
1160 default: Internal server error
1161
10811162 - `type: "api_error"`
10821163
1083 - `"api_error"`
1164 default: api_error
10841165
1085 - `OverloadedError object { message, type }`
1166 - `OverloadedError object`
10861167
10871168 - `message: string`
10881169
1170 default: Overloaded
1171
10891172 - `type: "overloaded_error"`
10901173
1091 - `"overloaded_error"`
1174 default: overloaded_error
10921175
10931176 - `request_id: string or null`
10941177
10951178 - `type: "error"`
10961179
1097 - `"error"`
1180 default: error
10981181
10991182 - `type: "errored"`
11001183
1101 - `"errored"`
1184 default: errored
11021185
1103 - `MessageBatchCanceledResult object { type }`
1186 - `MessageBatchCanceledResult object`
11041187
11051188 - `type: "canceled"`
11061189
1107 - `"canceled"`
1190 default: canceled
11081191
1109 - `MessageBatchExpiredResult object { type }`
1192 - `MessageBatchExpiredResult object`
11101193
11111194 - `type: "expired"`
11121195
1113 - `"expired"`
1196 default: expired
11141197
1115### Example
1198## Example
11161199
1117```http
1200```bash
11181201curl https://api.anthropic.com/v1/messages/batches/$MESSAGE_BATCH_ID/results \
11191202 -H 'anthropic-version: 2023-06-01' \
11201203 -H "X-Api-Key: $ANTHROPIC_API_KEY"
No line in this hunk matches that.