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

Resources changedapi/beta/sessions/resources

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

The whole hunk

from line 184, old and new numbered
/
lines
from line 184
184184```bash
185185curl https://api.anthropic.com/v1/sessions/$SESSION_ID/resources \
186186 -H 'Content-Type: application/json' \
187 -H 'anthropic-version: 2023-06-01' \
187 -H 'anthropic-version: 2026-10-21' \
188188 -H 'anthropic-beta: managed-agents-2026-04-01' \
189 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
189 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
190190 -d '{
191191 "file_id": "file_011CNha8iCJcU1wXNR6q4V8w",
192192 "type": "file",
from line 469
469469 
470470```bash
471471curl https://api.anthropic.com/v1/sessions/$SESSION_ID/resources \
472 -H 'anthropic-version: 2023-06-01' \
472 -H 'anthropic-version: 2026-10-21' \
473473 -H 'anthropic-beta: managed-agents-2026-04-01' \
474 -H "X-Api-Key: $ANTHROPIC_API_KEY"
474 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
475475```
476476 
477477#### Response (200)
from line 748
748748 
749749```bash
750750curl https://api.anthropic.com/v1/sessions/$SESSION_ID/resources/$RESOURCE_ID \
751 -H 'anthropic-version: 2023-06-01' \
751 -H 'anthropic-version: 2026-10-21' \
752752 -H 'anthropic-beta: managed-agents-2026-04-01' \
753 -H "X-Api-Key: $ANTHROPIC_API_KEY"
753 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
754754```
755755 
756756#### Response (200)
from line 1023
10231023```bash
10241024curl https://api.anthropic.com/v1/sessions/$SESSION_ID/resources/$RESOURCE_ID \
10251025 -H 'Content-Type: application/json' \
1026 -H 'anthropic-version: 2023-06-01' \
1026 -H 'anthropic-version: 2026-10-21' \
10271027 -H 'anthropic-beta: managed-agents-2026-04-01' \
1028 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1028 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
10291029 -d '{
10301030 "authorization_token": "ghp_exampletoken"
10311031 }'
from line 1199
11991199```bash
12001200curl https://api.anthropic.com/v1/sessions/$SESSION_ID/resources/$RESOURCE_ID \
12011201 -X DELETE \
1202 -H 'anthropic-version: 2023-06-01' \
1202 -H 'anthropic-version: 2026-10-21' \
12031203 -H 'anthropic-beta: managed-agents-2026-04-01' \
1204 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1204 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
12051205```
12061206 
12071207#### Response (200)
Feedback