Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Message Batches API changedbuild-with-claude/batch-processing

Nearest release: v2.1.307, published 4 hours 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+8added
Lines−13removed
From line 258 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits22to this page, all time

The whole hunk

from line 258, old and new numbered
/
lines
from line 258
258258 {
259259 Model = Model.ClaudeOpus5_5,
260260 MaxTokens = 1024,
261 Messages =
262 [
263 new() { Role = Role.User, Content = "Hello, world" }
264 ]
261 Messages = [new UserMessageParam { Content = "Hello, world" }]
265262 }
266263 },
267264 new()
from line 268
271268 {
272269 Model = Model.ClaudeOpus5_5,
273270 MaxTokens = 1024,
274 Messages =
275 [
276 new() { Role = Role.User, Content = "Hi again, friend" }
277 ]
271 Messages = [new UserMessageParam { Content = "Hi again, friend" }]
278272 }
279273 }
280274 ]
from line 784
790784 
791785 await foreach (var result in client.Messages.Batches.ResultsStreaming("msgbatch_01HkcTjaV5uDC8jWR4ZsDV8d"))
792786 {
793 switch (result.Result.Type)
787 switch (result.Result.Type.Raw())
794788 {
795789 case "succeeded":
796790 Console.WriteLine($"Success! {result.CustomID}");
797791 break;
798792 case "errored":
799 if (result.Result.Error?.Type == "invalid_request")
793 if (result.Result.TryPickErrored(out var errored)
794 && errored.Error.Error.Type.Raw() == "invalid_request_error")
800795 {
801796 Console.WriteLine($"Validation error: {result.CustomID}");
802797 }
from line 1285
12901285 },
12911286 Messages =
12921287 [
1293 new() { Role = Role.User, Content = "Analyze the major themes in Pride and Prejudice." }
1288 new UserMessageParam { Content = "Analyze the major themes in Pride and Prejudice." }
12941289 ]
12951290 }
12961291 },
from line 1310
13151310 },
13161311 Messages =
13171312 [
1318 new() { Role = Role.User, Content = "Write a summary of Pride and Prejudice." }
1313 new UserMessageParam { Content = "Write a summary of Pride and Prejudice." }
13191314 ]
13201315 }
13211316 }
from line 1673
16781673 MaxTokens = 300_000,
16791674 Messages =
16801675 [
1681 new() { Role = Role.User, Content = "Write a comprehensive technical guide to building distributed systems, covering architecture patterns, consistency models, fault tolerance, and operational best practices." }
1676 new BetaUserMessageParam { Content = "Write a comprehensive technical guide to building distributed systems, covering architecture patterns, consistency models, fault tolerance, and operational best practices." }
16821677 ]
16831678 }
16841679 }
Feedback