Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

files changedmanaged-agents/files

Nearest release: v2.1.318, published 4 hours before 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−8removed
From line 45 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits23to this page, all time

The whole hunk

from line 45, old and new numbered
/
lines
from line 45
4545 ```bash cURL
4646 curl --fail-with-body -sS https://api.anthropic.com/v1/files \
4747 -H "x-api-key: $ANTHROPIC_API_KEY" \
48 -H "anthropic-version: 2023-06-01" \
48 -H "anthropic-version: 2026-10-21" \
4949 -H "anthropic-beta: managed-agents-2026-04-01" \
5151 ```
from line 122
122122 ```bash cURL
123123 curl --fail-with-body -sS https://api.anthropic.com/v1/sessions \
124124 -H "x-api-key: $ANTHROPIC_API_KEY" \
125 -H "anthropic-version: 2023-06-01" \
125 -H "anthropic-version: 2026-10-21" \
126126 -H "anthropic-beta: managed-agents-2026-04-01" \
127127 -H "content-type: application/json" \
128128 -d '{
from line 266
266266 ```bash cURL
267267 curl -fsSL https://api.anthropic.com/v1/sessions \
268268 -H "x-api-key: $ANTHROPIC_API_KEY" \
269 -H "anthropic-version: 2023-06-01" \
269 -H "anthropic-version: 2026-10-21" \
270270 -H "anthropic-beta: managed-agents-2026-04-01" \
271271 -H "content-type: application/json" \
272272 -d '{
from line 391
391391 ```bash cURL
392392 curl --fail-with-body -sS "https://api.anthropic.com/v1/sessions/$SESSION_ID/resources" \
393393 -H "x-api-key: $ANTHROPIC_API_KEY" \
394 -H "anthropic-version: 2023-06-01" \
394 -H "anthropic-version: 2026-10-21" \
395395 -H "anthropic-beta: managed-agents-2026-04-01" \
396396 -H "content-type: application/json" \
397397 -d '{
from line 485
485485 ```bash cURL
486486 curl --fail-with-body -sS "https://api.anthropic.com/v1/sessions/$SESSION_ID/resources" \
487487 -H "x-api-key: $ANTHROPIC_API_KEY" \
488 -H "anthropic-version: 2023-06-01" \
488 -H "anthropic-version: 2026-10-21" \
489489 -H "anthropic-beta: managed-agents-2026-04-01"
490490 
491491 curl --fail-with-body -sS -X DELETE "https://api.anthropic.com/v1/sessions/$SESSION_ID/resources/$RESOURCE_ID" \
492492 -H "x-api-key: $ANTHROPIC_API_KEY" \
493 -H "anthropic-version: 2023-06-01" \
493 -H "anthropic-version: 2026-10-21" \
494494 -H "anthropic-beta: managed-agents-2026-04-01"
495495 ```
496496 
from line 600
600600 # List files associated with a session
601601 curl -fsSL "https://api.anthropic.com/v1/files?scope_id=sesn_abc123" \
602602 -H "x-api-key: $ANTHROPIC_API_KEY" \
603 -H "anthropic-version: 2023-06-01" \
603 -H "anthropic-version: 2026-10-21" \
604604 -H "anthropic-beta: managed-agents-2026-04-01"
605605 
606606 # Download a file
607607 curl -fsSL "https://api.anthropic.com/v1/files/$FILE_ID/content" \
608608 -H "x-api-key: $ANTHROPIC_API_KEY" \
609 -H "anthropic-version: 2023-06-01" \
609 -H "anthropic-version: 2026-10-21" \
610610 -o output.txt
611611 ```
612612 
Feedback