Resources changedapi/beta/sessions/resources
Nearest release: v2.1.268, published under 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+298added
Lines−273removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits23to this page, all time
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Resources
3url: https://platform.claude.com/docs/en/api/beta/sessions/resources
4---
5
16# Resources
27
38## Add Session Resource
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- `file_id: string`
from line 137
128137
129138- `BetaManagedAgentsFileResource object`
130139
140 - `type: "file"`
141
131142 - `id: string`
132143
133144 - `created_at: string`
from line 151
140151
141152 - `mount_path: string`
142153
143 - `type: "file"`
144
145154 - `updated_at: string`
146155
147156 A timestamp in RFC 3339 format
from line 215
206215
207216 - `string`
208217
209 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
218 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
210219
211220 - `"message-batches-2024-09-24"`
212221
from line 263
254263
255264 - `"user-profiles-2026-08-18"`
256265
266 - `"user-profiles-2026-09-04"`
267
257268 - `"advisor-tool-2026-03-01"`
258269
259270 - `"managed-agents-2026-04-01"`
from line 307
296307
297308 - `"mid-conversation-system-clear-at-2026-08-21"`
298309
310- `"anthropic-workspace-id": optional string`
311
299312### Returns
300313
301314- `data: array of BetaManagedAgentsSessionResource`
from line 317
304317
305318 - `BetaManagedAgentsGitHubRepositoryResource object`
306319
320 - `type: "github_repository"`
321
307322 - `id: string`
308323
309324 - `created_at: string`
from line 329
314329
315330 - `mount_path: string`
316331
317 - `type: "github_repository"`
318
319332 - `updated_at: string`
320333
321334 A timestamp in RFC 3339 format
from line 341
328341
329342 - `BetaManagedAgentsBranchCheckout object`
330343
344 - `type: "branch"`
345
331346 - `name: string`
332347
333348 Branch name to check out.
from line 349
334349
335350 minLength: 1, maxLength: 255
336351
337 - `type: "branch"`
338
339352 - `BetaManagedAgentsCommitCheckout object`
340353
354 - `type: "commit"`
355
341356 - `sha: string`
342357
343358 Full commit SHA to check out.
from line 359
344359
345360 minLength: 7, maxLength: 64
346361
347 - `type: "commit"`
348
349362 - `BetaManagedAgentsFileResource object`
350363
364 - `type: "file"`
365
351366 - `id: string`
352367
353368 - `created_at: string`
from line 375
360375
361376 - `mount_path: string`
362377
363 - `type: "file"`
364
365378 - `updated_at: string`
366379
367380 A timestamp in RFC 3339 format
from line 385
372385
373386 A memory store attached to an agent session.
374387
388 - `type: "memory_store"`
389
375390 - `memory_store_id: string`
376391
377392 The memory store ID (memstore_...). Must belong to the caller's organization and workspace.
378393
379 - `type: "memory_store"`
380
381394 - `access: optional "read_write" or "read_only" or null`
382395
383396 Access mode for an attached memory store.
from line 480
467480
468481 - `string`
469482
470 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
483 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
471484
472485 - `"message-batches-2024-09-24"`
473486
from line 528
515528
516529 - `"user-profiles-2026-08-18"`
517530
531 - `"user-profiles-2026-09-04"`
532
518533 - `"advisor-tool-2026-03-01"`
519534
520535 - `"managed-agents-2026-04-01"`
from line 572
557572
558573 - `"mid-conversation-system-clear-at-2026-08-21"`
559574
575- `"anthropic-workspace-id": optional string`
576
560577### Returns
561578
562579- `BetaManagedAgentsGitHubRepositoryResource object`
563580
581 - `type: "github_repository"`
582
564583 - `id: string`
565584
566585 - `created_at: string`
from line 590
571590
572591 - `mount_path: string`
573592
574 - `type: "github_repository"`
575
576593 - `updated_at: string`
577594
578595 A timestamp in RFC 3339 format
from line 602
585602
586603 - `BetaManagedAgentsBranchCheckout object`
587604
605 - `type: "branch"`
606
588607 - `name: string`
589608
590609 Branch name to check out.
from line 610
591610
592611 minLength: 1, maxLength: 255
593612
594 - `type: "branch"`
595
596613 - `BetaManagedAgentsCommitCheckout object`
597614
615 - `type: "commit"`
616
598617 - `sha: string`
599618
600619 Full commit SHA to check out.
from line 620
601620
602621 minLength: 7, maxLength: 64
603622
604 - `type: "commit"`
605
606623- `BetaManagedAgentsFileResource object`
607624
625 - `type: "file"`
626
608627 - `id: string`
609628
610629 - `created_at: string`
from line 636
617636
618637 - `mount_path: string`
619638
620 - `type: "file"`
621
622639 - `updated_at: string`
623640
624641 A timestamp in RFC 3339 format
from line 646
629646
630647 A memory store attached to an agent session.
631648
649 - `type: "memory_store"`
650
632651 - `memory_store_id: string`
633652
634653 The memory store ID (memstore_...). Must belong to the caller's organization and workspace.
635654
636 - `type: "memory_store"`
637
638655 - `access: optional "read_write" or "read_only" or null`
639656
640657 Access mode for an attached memory store.
from line 724
707724
708725 - `string`
709726
710 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
727 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
711728
712729 - `"message-batches-2024-09-24"`
713730
from line 772
755772
756773 - `"user-profiles-2026-08-18"`
757774
775 - `"user-profiles-2026-09-04"`
776
758777 - `"advisor-tool-2026-03-01"`
759778
760779 - `"managed-agents-2026-04-01"`
from line 816
797816
798817 - `"mid-conversation-system-clear-at-2026-08-21"`
799818
819- `"anthropic-workspace-id": optional string`
820
800821### Body parameters
801822
802823- `authorization_token: string`
from line 830
809830
810831- `BetaManagedAgentsGitHubRepositoryResource object`
811832
833 - `type: "github_repository"`
834
812835 - `id: string`
813836
814837 - `created_at: string`
from line 842
819842
820843 - `mount_path: string`
821844
822 - `type: "github_repository"`
823
824845 - `updated_at: string`
825846
826847 A timestamp in RFC 3339 format
from line 854
833854
834855 - `BetaManagedAgentsBranchCheckout object`
835856
857 - `type: "branch"`
858
836859 - `name: string`
837860
838861 Branch name to check out.
from line 862
839862
840863 minLength: 1, maxLength: 255
841864
842 - `type: "branch"`
843
844865 - `BetaManagedAgentsCommitCheckout object`
845866
867 - `type: "commit"`
868
846869 - `sha: string`
847870
848871 Full commit SHA to check out.
from line 872
849872
850873 minLength: 7, maxLength: 64
851874
852 - `type: "commit"`
853
854875- `BetaManagedAgentsFileResource object`
855876
877 - `type: "file"`
878
856879 - `id: string`
857880
858881 - `created_at: string`
from line 888
865888
866889 - `mount_path: string`
867890
868 - `type: "file"`
869
870891 - `updated_at: string`
871892
872893 A timestamp in RFC 3339 format
from line 898
877898
878899 A memory store attached to an agent session.
879900
901 - `type: "memory_store"`
902
880903 - `memory_store_id: string`
881904
882905 The memory store ID (memstore_...). Must belong to the caller's organization and workspace.
883906
884 - `type: "memory_store"`
885
886907 - `access: optional "read_write" or "read_only" or null`
887908
888909 Access mode for an attached memory store.
from line 980
959980
960981 - `string`
961982
962 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
983 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
963984
964985 - `"message-batches-2024-09-24"`
965986
from line 1028
10071028
10081029 - `"user-profiles-2026-08-18"`
10091030
1031 - `"user-profiles-2026-09-04"`
1032
10101033 - `"advisor-tool-2026-03-01"`
10111034
10121035 - `"managed-agents-2026-04-01"`
from line 1072
10491072
10501073 - `"mid-conversation-system-clear-at-2026-08-21"`
10511074
1075- `"anthropic-workspace-id": optional string`
1076
10521077### Returns
10531078
10541079- `BetaManagedAgentsDeleteSessionResource object`
from line 1080
10551080
10561081 Confirmation of resource deletion.
10571082
1058 - `id: string`
1059
10601083 - `type: "session_resource_deleted"`
10611084
1085 - `id: string`
1086
10621087### Example
10631088
10641089```bash
from line 1111
10861111
10871112 Confirmation of resource deletion.
10881113
1089 - `id: string`
1090
10911114 - `type: "session_resource_deleted"`
10921115
1116 - `id: string`
1117
10931118### Beta Managed Agents File Resource
10941119
10951120- `BetaManagedAgentsFileResource object`
10961121
1122 - `type: "file"`
1123
10971124 - `id: string`
10981125
10991126 - `created_at: string`
from line 1133
11061133
11071134 - `mount_path: string`
11081135
1109 - `type: "file"`
1110
11111136 - `updated_at: string`
11121137
11131138 A timestamp in RFC 3339 format
from line 1143
11181143
11191144- `BetaManagedAgentsGitHubRepositoryResource object`
11201145
1146 - `type: "github_repository"`
1147
11211148 - `id: string`
11221149
11231150 - `created_at: string`
from line 1155
11281155
11291156 - `mount_path: string`
11301157
1131 - `type: "github_repository"`
1132
11331158 - `updated_at: string`
11341159
11351160 A timestamp in RFC 3339 format
from line 1167
11421167
11431168 - `BetaManagedAgentsBranchCheckout object`
11441169
1170 - `type: "branch"`
1171
11451172 - `name: string`
11461173
11471174 Branch name to check out.
from line 1175
11481175
11491176 minLength: 1, maxLength: 255
11501177
1151 - `type: "branch"`
1152
11531178 - `BetaManagedAgentsCommitCheckout object`
11541179
1180 - `type: "commit"`
1181
11551182 - `sha: string`
11561183
11571184 Full commit SHA to check out.
from line 1185
11581185
11591186 minLength: 7, maxLength: 64
11601187
1161 - `type: "commit"`
1162
11631188### Beta Managed Agents Memory Store Resource
11641189
11651190- `BetaManagedAgentsMemoryStoreResource object`
from line 1191
11661191
11671192 A memory store attached to an agent session.
11681193
1194 - `type: "memory_store"`
1195
11691196 - `memory_store_id: string`
11701197
11711198 The memory store ID (memstore_...). Must belong to the caller's organization and workspace.
11721199
1173 - `type: "memory_store"`
1174
11751200 - `access: optional "read_write" or "read_only" or null`
11761201
11771202 Access mode for an attached memory store.
from line 1231
12061231
12071232 - `BetaManagedAgentsGitHubRepositoryResource object`
12081233
1234 - `type: "github_repository"`
1235
12091236 - `id: string`
12101237
12111238 - `created_at: string`
from line 1243
12161243
12171244 - `mount_path: string`
12181245
1219 - `type: "github_repository"`
1220
12211246 - `updated_at: string`
12221247
12231248 A timestamp in RFC 3339 format
from line 1255
12301255
12311256 - `BetaManagedAgentsBranchCheckout object`
12321257
1258 - `type: "branch"`
1259
12331260 - `name: string`
12341261
12351262 Branch name to check out.
from line 1263
12361263
12371264 minLength: 1, maxLength: 255
12381265
1239 - `type: "branch"`
1240
12411266 - `BetaManagedAgentsCommitCheckout object`
12421267
1268 - `type: "commit"`
1269
12431270 - `sha: string`
12441271
12451272 Full commit SHA to check out.
from line 1273
12461273
12471274 minLength: 7, maxLength: 64
12481275
1249 - `type: "commit"`
1250
12511276 - `BetaManagedAgentsFileResource object`
12521277
1278 - `type: "file"`
1279
12531280 - `id: string`
12541281
12551282 - `created_at: string`
from line 1289
12621289
12631290 - `mount_path: string`
12641291
1265 - `type: "file"`
1266
12671292 - `updated_at: string`
12681293
12691294 A timestamp in RFC 3339 format
from line 1299
12741299
12751300 A memory store attached to an agent session.
12761301
1302 - `type: "memory_store"`
1303
12771304 - `memory_store_id: string`
12781305
12791306 The memory store ID (memstore_...). Must belong to the caller's organization and workspace.
12801307
1281 - `type: "memory_store"`
1282
12831308 - `access: optional "read_write" or "read_only" or null`
12841309
12851310 Access mode for an attached memory store.
from line 1339
13141339
13151340 - `BetaManagedAgentsGitHubRepositoryResource object`
13161341
1342 - `type: "github_repository"`
1343
13171344 - `id: string`
13181345
13191346 - `created_at: string`
from line 1351
13241351
13251352 - `mount_path: string`
13261353
1327 - `type: "github_repository"`
1328
13291354 - `updated_at: string`
13301355
13311356 A timestamp in RFC 3339 format
from line 1363
13381363
13391364 - `BetaManagedAgentsBranchCheckout object`
13401365
1366 - `type: "branch"`
1367
13411368 - `name: string`
13421369
13431370 Branch name to check out.
from line 1371
13441371
13451372 minLength: 1, maxLength: 255
13461373
1347 - `type: "branch"`
1348
13491374 - `BetaManagedAgentsCommitCheckout object`
13501375
1376 - `type: "commit"`
1377
13511378 - `sha: string`
13521379
13531380 Full commit SHA to check out.
from line 1381
13541381
13551382 minLength: 7, maxLength: 64
13561383
1357 - `type: "commit"`
1358
13591384 - `BetaManagedAgentsFileResource object`
13601385
1386 - `type: "file"`
1387
13611388 - `id: string`
13621389
13631390 - `created_at: string`
from line 1397
13701397
13711398 - `mount_path: string`
13721399
1373 - `type: "file"`
1374
13751400 - `updated_at: string`
13761401
13771402 A timestamp in RFC 3339 format
from line 1407
13821407
13831408 A memory store attached to an agent session.
13841409
1410 - `type: "memory_store"`
1411
13851412 - `memory_store_id: string`
13861413
13871414 The memory store ID (memstore_...). Must belong to the caller's organization and workspace.
13881415
1389 - `type: "memory_store"`
1390
13911416 - `access: optional "read_write" or "read_only" or null`
13921417
13931418 Access mode for an attached memory store.
from line 1447
14221447
14231448 - `BetaManagedAgentsGitHubRepositoryResource object`
14241449
1450 - `type: "github_repository"`
1451
14251452 - `id: string`
14261453
14271454 - `created_at: string`
from line 1459
14321459
14331460 - `mount_path: string`
14341461
1435 - `type: "github_repository"`
1436
14371462 - `updated_at: string`
14381463
14391464 A timestamp in RFC 3339 format
from line 1471
14461471
14471472 - `BetaManagedAgentsBranchCheckout object`
14481473
1474 - `type: "branch"`
1475
14491476 - `name: string`
14501477
14511478 Branch name to check out.
from line 1479
14521479
14531480 minLength: 1, maxLength: 255
14541481
1455 - `type: "branch"`
1456
14571482 - `BetaManagedAgentsCommitCheckout object`
14581483
1484 - `type: "commit"`
1485
14591486 - `sha: string`
14601487
14611488 Full commit SHA to check out.
from line 1489
14621489
14631490 minLength: 7, maxLength: 64
14641491
1465 - `type: "commit"`
1466
14671492 - `BetaManagedAgentsFileResource object`
14681493
1494 - `type: "file"`
1495
14691496 - `id: string`
14701497
14711498 - `created_at: string`
from line 1505
14781505
14791506 - `mount_path: string`
14801507
1481 - `type: "file"`
1482
14831508 - `updated_at: string`
14841509
14851510 A timestamp in RFC 3339 format
from line 1515
14901515
14911516 A memory store attached to an agent session.
14921517
1518 - `type: "memory_store"`
1519
14931520 - `memory_store_id: string`
14941521
14951522 The memory store ID (memstore_...). Must belong to the caller's organization and workspace.
1496
1497 - `type: "memory_store"`
14981523
14991524 - `access: optional "read_write" or "read_only" or null`
15001525
No line in this hunk matches that.