Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
One change · api

Message Batches API changed

build-with-claude/batch-processing

Nearest release: v2.1.274, published 7 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+3added
Lines−3removed
From line 529 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits9to this page, all time

The whole hunk

from line 529, old and new numbered
/
lines
from line 529
529529 var messageBatch *anthropic.MessageBatch
530530 for {
531531 var err error
532 messageBatch, err = client.Messages.Batches.Get(context.TODO(), messageBatchID)
532 messageBatch, err = client.Messages.Batches.Get(context.TODO(), messageBatchID, anthropic.MessageBatchGetParams{})
533533 if err != nil {
534534 log.Fatal(err)
535535 }
from line 822
822822 ```go Go
823823 client := anthropic.NewClient()
824824 
825 stream := client.Messages.Batches.ResultsStreaming(context.TODO(), "msgbatch_01HkcTjaV5uDC8jWR4ZsDV8d")
825 stream := client.Messages.Batches.ResultsStreaming(context.TODO(), "msgbatch_01HkcTjaV5uDC8jWR4ZsDV8d", anthropic.MessageBatchResultsParams{})
826826 
827827 for stream.Next() {
828828 result := stream.Current()
from line 986
986986 client := anthropic.NewClient()
987987 messageBatchID := os.Getenv("MESSAGE_BATCH_ID")
988988 
989 messageBatch, err := client.Messages.Batches.Cancel(context.TODO(), messageBatchID)
989 messageBatch, err := client.Messages.Batches.Cancel(context.TODO(), messageBatchID, anthropic.MessageBatchCancelParams{})
990990 if err != nil {
991991 log.Fatal(err)
992992 }