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

Add Session Resource changedapi/beta/sessions/resources/add

Nearest release: v2.1.245, published an hour 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+18added
Lines−19removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits17to this page, all time

# Add Session Resource ## Path parameters ## Headers ## Body parameters ## Returns ## Example ### Response (200) ## Add Session Resource ### Path Parameters ### Header Parameters ### Body Parameters ### Returns ### Example #### Response

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Add Session Resource
3url: https://platform.claude.com/docs/en/api/beta/sessions/resources/add
4---
1# Add Session Resource
52 
6## Add Session Resource
3**POST** `/v1/sessions/{session_id}/resources`
74 
8**post** `/v1/sessions/{session_id}/resources`
9 
105Add Session Resource
116 
12### Path Parameters
7## Path parameters
138 
149- `session_id: string`
1510 
16### Header Parameters
11## Headers
1712 
1813- `"anthropic-beta": optional array of AnthropicBeta`
1914 
from line 86
9186 
9287 - `"mid-conversation-tool-changes-2026-07-01"`
9388 
94### Body Parameters
89## Body parameters
9590 
9691- `file_id: string`
9792 
9893 ID of a previously uploaded file.
9994 
95 minLength: 1, maxLength: 128
96 
10097- `type: "file"`
10198 
102 - `"file"`
103 
10499- `mount_path: optional string or null`
105100 
106101 Mount path in the container. Defaults to `/mnt/session/uploads/<file_id>`.
107102 
108### Returns
103 minLength: 1, maxLength: 4096
109104 
110- `BetaManagedAgentsFileResource object { id, created_at, file_id, 3 more }`
105## Returns
111106 
107- `BetaManagedAgentsFileResource object`
108 
112109 - `id: string`
113110 
114111 - `created_at: string`
from line 112
115112 
116113 A timestamp in RFC 3339 format
117114 
115 format: date-time
116 
118117 - `file_id: string`
119118 
120119 - `mount_path: string`
from line 120
121120 
122121 - `type: "file"`
123122 
124 - `"file"`
125 
126123 - `updated_at: string`
127124 
128125 A timestamp in RFC 3339 format
129126 
130### Example
127 format: date-time
131128 
132```http
129## Example
130 
131```bash
133132curl https://api.anthropic.com/v1/sessions/$SESSION_ID/resources \
134133 -H 'Content-Type: application/json' \
135134 -H 'anthropic-version: 2023-06-01' \
from line 141
142141 }'
143142```
144143 
145#### Response
144### Response (200)
146145 
147146```json
148147{
Feedback