The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Update Session Resource
3url: https://platform.claude.com/docs/en/api/beta/sessions/resources/update
4---
5
16# Update Session Resource
27
38**POST** `/v1/sessions/{session_id}/resources/{resource_id}`
from line 23
1823
1924 - `string`
2025
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2227
2328 - `"message-batches-2024-09-24"`
2429
from line 71
6671
6772 - `"user-profiles-2026-08-18"`
6873
74 - `"user-profiles-2026-09-04"`
75
6976 - `"advisor-tool-2026-03-01"`
7077
7178 - `"managed-agents-2026-04-01"`
from line 115
108115
109116 - `"mid-conversation-system-clear-at-2026-08-21"`
110117
118- `"anthropic-workspace-id": optional string`
119
111120## Body parameters
112121
113122- `authorization_token: string`
from line 129
120129
121130- `BetaManagedAgentsGitHubRepositoryResource object`
122131
132 - `type: "github_repository"`
133
123134 - `id: string`
124135
125136 - `created_at: string`
from line 141
130141
131142 - `mount_path: string`
132143
133 - `type: "github_repository"`
134
135144 - `updated_at: string`
136145
137146 A timestamp in RFC 3339 format
from line 153
144153
145154 - `BetaManagedAgentsBranchCheckout object`
146155
156 - `type: "branch"`
157
147158 - `name: string`
148159
149160 Branch name to check out.
from line 161
150161
151162 minLength: 1, maxLength: 255
152163
153 - `type: "branch"`
154
155164 - `BetaManagedAgentsCommitCheckout object`
156165
166 - `type: "commit"`
167
157168 - `sha: string`
158169
159170 Full commit SHA to check out.
from line 171
160171
161172 minLength: 7, maxLength: 64
162173
163 - `type: "commit"`
164
165174- `BetaManagedAgentsFileResource object`
166175
176 - `type: "file"`
177
167178 - `id: string`
168179
169180 - `created_at: string`
from line 187
176187
177188 - `mount_path: string`
178189
179 - `type: "file"`
180
181190 - `updated_at: string`
182191
183192 A timestamp in RFC 3339 format
from line 197
188197
189198 A memory store attached to an agent session.
190199
200 - `type: "memory_store"`
201
191202 - `memory_store_id: string`
192203
193204 The memory store ID (memstore_...). Must belong to the caller's organization and workspace.
194
195 - `type: "memory_store"`
196205
197206 - `access: optional "read_write" or "read_only" or null`
198207