Add Session Resource changedapi/beta/sessions/resources/add
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+2added
Lines−2removed
From line
182
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits17to this page, all time
The whole hunk
from line 182, old and new numbered
/
from line 182
182182```bash
183183curl https://api.anthropic.com/v1/sessions/$SESSION_ID/resources \
184184 -H 'Content-Type: application/json' \
185 -H 'anthropic-version: 2023-06-01' \
185 -H 'anthropic-version: 2026-10-21' \
186186 -H 'anthropic-beta: managed-agents-2026-04-01' \
187 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
187 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
188188 -d '{
189189 "file_id": "file_011CNha8iCJcU1wXNR6q4V8w",
190190 "type": "file",
No line in this hunk matches that.