Get Session Resource changedapi/beta/sessions/resources/retrieve
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+30added
Lines−31removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits19to this page, all time
# Get Session Resource ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Get Session Resource ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Get Session Resource
3url: https://platform.claude.com/docs/en/api/beta/sessions/resources/retrieve
4---
1# Get Session Resource
52
6## Get Session Resource
3**GET** `/v1/sessions/{session_id}/resources/{resource_id}`
74
8**get** `/v1/sessions/{session_id}/resources/{resource_id}`
9
105Get Session Resource
116
12### Path Parameters
7## Path parameters
138
149- `session_id: string`
1510
1611- `resource_id: string`
1712
18### Header Parameters
13## Headers
1914
2015- `"anthropic-beta": optional array of AnthropicBeta`
2116
from line 88
9388
9489 - `"mid-conversation-tool-changes-2026-07-01"`
9590
96### Returns
91## Returns
9792
98- `BetaManagedAgentsGitHubRepositoryResource object { id, created_at, mount_path, 4 more }`
93- `BetaManagedAgentsGitHubRepositoryResource object`
9994
10095 - `id: string`
10196
from line 98
10398
10499 A timestamp in RFC 3339 format
105100
101 format: date-time
102
106103 - `mount_path: string`
107104
108105 - `type: "github_repository"`
109106
110 - `"github_repository"`
111
112107 - `updated_at: string`
113108
114109 A timestamp in RFC 3339 format
115110
111 format: date-time
112
116113 - `url: string`
117114
118115 - `checkout: optional BetaManagedAgentsBranchCheckout or BetaManagedAgentsCommitCheckout or null`
119116
120 - `BetaManagedAgentsBranchCheckout object { name, type }`
117 - `BetaManagedAgentsBranchCheckout object`
121118
122119 - `name: string`
123120
124121 Branch name to check out.
125122
123 minLength: 1, maxLength: 255
124
126125 - `type: "branch"`
127126
128 - `"branch"`
127 - `BetaManagedAgentsCommitCheckout object`
129128
130 - `BetaManagedAgentsCommitCheckout object { sha, type }`
131
132129 - `sha: string`
133130
134131 Full commit SHA to check out.
135132
133 minLength: 7, maxLength: 64
134
136135 - `type: "commit"`
137136
138 - `"commit"`
137- `BetaManagedAgentsFileResource object`
139138
140- `BetaManagedAgentsFileResource object { id, created_at, file_id, 3 more }`
141
142139 - `id: string`
143140
144141 - `created_at: string`
from line 142
145142
146143 A timestamp in RFC 3339 format
147144
145 format: date-time
146
148147 - `file_id: string`
149148
150149 - `mount_path: string`
from line 150
151150
152151 - `type: "file"`
153152
154 - `"file"`
155
156153 - `updated_at: string`
157154
158155 A timestamp in RFC 3339 format
159156
160- `BetaManagedAgentsMemoryStoreResource object { memory_store_id, type, access, 4 more }`
157 format: date-time
161158
159- `BetaManagedAgentsMemoryStoreResource object`
160
162161 A memory store attached to an agent session.
163162
164163 - `memory_store_id: string`
from line 166
167166
168167 - `type: "memory_store"`
169168
170 - `"memory_store"`
171
172169 - `access: optional "read_write" or "read_only" or null`
173170
174171 Access mode for an attached memory store.
from line 182
185182
186183 Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.
187184
185 maxLength: 4096
186
188187 - `mount_path: optional string or null`
189188
190189 Filesystem path where the store is mounted in the session container, e.g. /mnt/memory/user-preferences. Derived from the store's name. Output-only.
from line 192
193192
194193 Display name of the memory store, snapshotted at attach time. Later edits to the store's name do not propagate to this resource.
195194
196### Example
195## Example
197196
198```http
197```bash
199198curl https://api.anthropic.com/v1/sessions/$SESSION_ID/resources/$RESOURCE_ID \
200199 -H 'anthropic-version: 2023-06-01' \
201200 -H 'anthropic-beta: managed-agents-2026-04-01' \
from line 201
202201 -H "X-Api-Key: $ANTHROPIC_API_KEY"
203202```
204203
205#### Response
204### Response (200)
206205
207206```json
208207{
No line in this hunk matches that.