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

Files changedapi/beta/files

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

The whole hunk

from line 218, old and new numbered
/
lines
from line 218
218218```bash
219219curl https://api.anthropic.com/v1/files \
220220 -H 'Content-Type: multipart/form-data' \
221 -H 'anthropic-version: 2023-06-01' \
222 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
221 -H 'anthropic-version: 2026-10-21' \
222 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
223223 -F 'file=@/path/to/file'
224224```
225225 
from line 468
468468 
469469```bash
470470curl https://api.anthropic.com/v1/files \
471 -H 'anthropic-version: 2023-06-01' \
472 -H "X-Api-Key: $ANTHROPIC_API_KEY"
471 -H 'anthropic-version: 2026-10-21' \
472 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
473473```
474474 
475475#### Response (200)
from line 636
636636 
637637```bash
638638curl https://api.anthropic.com/v1/files/$FILE_ID/content \
639 -H 'anthropic-version: 2023-06-01' \
640 -H "X-Api-Key: $ANTHROPIC_API_KEY"
639 -H 'anthropic-version: 2026-10-21' \
640 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
641641```
642642 
643643## Get File Metadata
from line 844
844844 
845845```bash
846846curl https://api.anthropic.com/v1/files/$FILE_ID \
847 -H 'anthropic-version: 2023-06-01' \
848 -H "X-Api-Key: $ANTHROPIC_API_KEY"
847 -H 'anthropic-version: 2026-10-21' \
848 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
849849```
850850 
851851#### Response (200)
from line 1024
10241024```bash
10251025curl https://api.anthropic.com/v1/files/$FILE_ID \
10261026 -X DELETE \
1027 -H 'anthropic-version: 2023-06-01' \
1028 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1027 -H 'anthropic-version: 2026-10-21' \
1028 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
10291029```
10301030 
10311031#### Response (200)
Feedback