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

files changed

build-with-claude/files

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 783 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits14to this page, all time

The whole hunk

from line 783, old and new numbered
/
lines
from line 783
783783 ```
784784 
785785 ```go Go
786 metadata, err := client.Files.GetMetadata(context.TODO(), fileID)
786 metadata, err := client.Files.GetMetadata(context.TODO(), fileID, anthropic.FileGetMetadataParams{})
787787 if err != nil {
788788 log.Fatal(err)
789789 }
from line 837
837837 ```
838838 
839839 ```go Go
840 _, err = client.Files.Delete(context.TODO(), fileID)
840 _, err = client.Files.Delete(context.TODO(), fileID, anthropic.FileDeleteParams{})
841841 if err != nil {
842842 log.Fatal(err)
843843 }
from line 896
896896 
897897 ```go Go
898898 func downloadFile(client anthropic.Client, fileID string) error {
899 resp, err := client.Files.Download(context.TODO(), fileID)
899 resp, err := client.Files.Download(context.TODO(), fileID, anthropic.FileDownloadParams{})
900900 if err != nil {
901901 return err
902902 }