from line 1
1---
2title: Resources
3url: https://platform.claude.com/docs/en/api/beta/sessions/resources
4---
5
61# Resources
72
83## Add Session Resource
94
10**post** `/v1/sessions/{session_id}/resources`
5**POST** `/v1/sessions/{session_id}/resources`
116
127Add Session Resource
138
14### Path Parameters
9### Path parameters
1510
1611- `session_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### Body Parameters
91### Body parameters
9792
9893- `file_id: string`
9994
10095 ID of a previously uploaded file.
10196
97 minLength: 1, maxLength: 128
98
10299- `type: "file"`
103100
104 - `"file"`
105
106101- `mount_path: optional string or null`
107102
108103 Mount path in the container. Defaults to `/mnt/session/uploads/<file_id>`.
109104
105 minLength: 1, maxLength: 4096
106
110107### Returns
111108
112- `BetaManagedAgentsFileResource object { id, created_at, file_id, 3 more }`
109- `BetaManagedAgentsFileResource object`
113110
114111 - `id: string`
115112
from line 114
117114
118115 A timestamp in RFC 3339 format
119116
117 format: date-time
118
120119 - `file_id: string`
121120
122121 - `mount_path: string`
from line 122
123122
124123 - `type: "file"`
125124
126 - `"file"`
127
128125 - `updated_at: string`
129126
130127 A timestamp in RFC 3339 format
131128
129 format: date-time
130
132131### Example
133132
134```http
133```bash
135134curl https://api.anthropic.com/v1/sessions/$SESSION_ID/resources \
136135 -H 'Content-Type: application/json' \
137136 -H 'anthropic-version: 2023-06-01' \
from line 143
144143 }'
145144```
146145
147#### Response
146#### Response (200)
148147
149148```json
150149{
from line 158
159158
160159## List Session Resources
161160
162**get** `/v1/sessions/{session_id}/resources`
161**GET** `/v1/sessions/{session_id}/resources`
163162
164163List Session Resources
165164
166### Path Parameters
165### Path parameters
167166
168167- `session_id: string`
169168
170### Query Parameters
169### Query parameters
171170
172171- `limit: optional number`
173172
174173 Maximum number of resources to return per page (max 1000). If omitted, returns all resources.
175174
175 format: int32
176
176177- `page: optional string`
177178
178179 Opaque cursor from a previous response's next_page field.
179180
180### Header Parameters
181### Headers
181182
182183- `"anthropic-beta": optional array of AnthropicBeta`
183184
from line 262
261262
262263 Resources for the session, ordered by `created_at`.
263264
264 - `BetaManagedAgentsGitHubRepositoryResource object { id, created_at, mount_path, 4 more }`
265 - `BetaManagedAgentsGitHubRepositoryResource object`
265266
266267 - `id: string`
267268
from line 270
269270
270271 A timestamp in RFC 3339 format
271272
273 format: date-time
274
272275 - `mount_path: string`
273276
274277 - `type: "github_repository"`
275278
276 - `"github_repository"`
277
278279 - `updated_at: string`
279280
280281 A timestamp in RFC 3339 format
281282
283 format: date-time
284
282285 - `url: string`
283286
284287 - `checkout: optional BetaManagedAgentsBranchCheckout or BetaManagedAgentsCommitCheckout or null`
285288
286 - `BetaManagedAgentsBranchCheckout object { name, type }`
289 - `BetaManagedAgentsBranchCheckout object`
287290
288291 - `name: string`
289292
290293 Branch name to check out.
291294
295 minLength: 1, maxLength: 255
296
292297 - `type: "branch"`
293298
294 - `"branch"`
299 - `BetaManagedAgentsCommitCheckout object`
295300
296 - `BetaManagedAgentsCommitCheckout object { sha, type }`
297
298301 - `sha: string`
299302
300303 Full commit SHA to check out.
301304
305 minLength: 7, maxLength: 64
306
302307 - `type: "commit"`
303308
304 - `"commit"`
309 - `BetaManagedAgentsFileResource object`
305310
306 - `BetaManagedAgentsFileResource object { id, created_at, file_id, 3 more }`
307
308311 - `id: string`
309312
310313 - `created_at: string`
from line 314
311314
312315 A timestamp in RFC 3339 format
313316
317 format: date-time
318
314319 - `file_id: string`
315320
316321 - `mount_path: string`
from line 322
317322
318323 - `type: "file"`
319324
320 - `"file"`
321
322325 - `updated_at: string`
323326
324327 A timestamp in RFC 3339 format
325328
326 - `BetaManagedAgentsMemoryStoreResource object { memory_store_id, type, access, 4 more }`
329 format: date-time
327330
331 - `BetaManagedAgentsMemoryStoreResource object`
332
328333 A memory store attached to an agent session.
329334
330335 - `memory_store_id: string`
from line 338
333338
334339 - `type: "memory_store"`
335340
336 - `"memory_store"`
337
338341 - `access: optional "read_write" or "read_only" or null`
339342
340343 Access mode for an attached memory store.
from line 354
351354
352355 Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.
353356
357 maxLength: 4096
358
354359 - `mount_path: optional string or null`
355360
356361 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 370
365370
366371### Example
367372
368```http
373```bash
369374curl https://api.anthropic.com/v1/sessions/$SESSION_ID/resources \
370375 -H 'anthropic-version: 2023-06-01' \
371376 -H 'anthropic-beta: managed-agents-2026-04-01' \
from line 377
372377 -H "X-Api-Key: $ANTHROPIC_API_KEY"
373378```
374379
375#### Response
380#### Response (200)
376381
377382```json
378383{
from line 409
404409
405410## Get Session Resource
406411
407**get** `/v1/sessions/{session_id}/resources/{resource_id}`
412**GET** `/v1/sessions/{session_id}/resources/{resource_id}`
408413
409414Get Session Resource
410415
411### Path Parameters
416### Path parameters
412417
413418- `session_id: string`
414419
415420- `resource_id: string`
416421
417### Header Parameters
422### Headers
418423
419424- `"anthropic-beta": optional array of AnthropicBeta`
420425
from line 499
494499
495500### Returns
496501
497- `BetaManagedAgentsGitHubRepositoryResource object { id, created_at, mount_path, 4 more }`
502- `BetaManagedAgentsGitHubRepositoryResource object`
498503
499504 - `id: string`
500505
from line 507
502507
503508 A timestamp in RFC 3339 format
504509
510 format: date-time
511
505512 - `mount_path: string`
506513
507514 - `type: "github_repository"`
508515
509 - `"github_repository"`
510
511516 - `updated_at: string`
512517
513518 A timestamp in RFC 3339 format
514519
520 format: date-time
521
515522 - `url: string`
516523
517524 - `checkout: optional BetaManagedAgentsBranchCheckout or BetaManagedAgentsCommitCheckout or null`
518525
519 - `BetaManagedAgentsBranchCheckout object { name, type }`
526 - `BetaManagedAgentsBranchCheckout object`
520527
521528 - `name: string`
522529
523530 Branch name to check out.
524531
532 minLength: 1, maxLength: 255
533
525534 - `type: "branch"`
526535
527 - `"branch"`
536 - `BetaManagedAgentsCommitCheckout object`
528537
529 - `BetaManagedAgentsCommitCheckout object { sha, type }`
530
531538 - `sha: string`
532539
533540 Full commit SHA to check out.
534541
542 minLength: 7, maxLength: 64
543
535544 - `type: "commit"`
536545
537 - `"commit"`
546- `BetaManagedAgentsFileResource object`
538547
539- `BetaManagedAgentsFileResource object { id, created_at, file_id, 3 more }`
540
541548 - `id: string`
542549
543550 - `created_at: string`
from line 551
544551
545552 A timestamp in RFC 3339 format
546553
554 format: date-time
555
547556 - `file_id: string`
548557
549558 - `mount_path: string`
from line 559
550559
551560 - `type: "file"`
552561
553 - `"file"`
554
555562 - `updated_at: string`
556563
557564 A timestamp in RFC 3339 format
558565
559- `BetaManagedAgentsMemoryStoreResource object { memory_store_id, type, access, 4 more }`
566 format: date-time
560567
568- `BetaManagedAgentsMemoryStoreResource object`
569
561570 A memory store attached to an agent session.
562571
563572 - `memory_store_id: string`
from line 575
566575
567576 - `type: "memory_store"`
568577
569 - `"memory_store"`
570
571578 - `access: optional "read_write" or "read_only" or null`
572579
573580 Access mode for an attached memory store.
from line 591
584591
585592 Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.
586593
594 maxLength: 4096
595
587596 - `mount_path: optional string or null`
588597
589598 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 603
594603
595604### Example
596605
597```http
606```bash
598607curl https://api.anthropic.com/v1/sessions/$SESSION_ID/resources/$RESOURCE_ID \
599608 -H 'anthropic-version: 2023-06-01' \
600609 -H 'anthropic-beta: managed-agents-2026-04-01' \
from line 610
601610 -H "X-Api-Key: $ANTHROPIC_API_KEY"
602611```
603612
604#### Response
613#### Response (200)
605614
606615```json
607616{
from line 629
620629
621630## Update Session Resource
622631
623**post** `/v1/sessions/{session_id}/resources/{resource_id}`
632**POST** `/v1/sessions/{session_id}/resources/{resource_id}`
624633
625634Update Session Resource
626635
627### Path Parameters
636### Path parameters
628637
629638- `session_id: string`
630639
631640- `resource_id: string`
632641
633### Header Parameters
642### Headers
634643
635644- `"anthropic-beta": optional array of AnthropicBeta`
636645
from line 717
708717
709718 - `"mid-conversation-tool-changes-2026-07-01"`
710719
711### Body Parameters
720### Body parameters
712721
713722- `authorization_token: string`
714723
715724 New authorization token for the resource. Currently only `github_repository` resources support token rotation.
716725
726 minLength: 1, maxLength: 4096
727
717728### Returns
718729
719- `BetaManagedAgentsGitHubRepositoryResource object { id, created_at, mount_path, 4 more }`
730- `BetaManagedAgentsGitHubRepositoryResource object`
720731
721732 - `id: string`
722733
from line 735
724735
725736 A timestamp in RFC 3339 format
726737
738 format: date-time
739
727740 - `mount_path: string`
728741
729742 - `type: "github_repository"`
730743
731 - `"github_repository"`
732
733744 - `updated_at: string`
734745
735746 A timestamp in RFC 3339 format
736747
748 format: date-time
749
737750 - `url: string`
738751
739752 - `checkout: optional BetaManagedAgentsBranchCheckout or BetaManagedAgentsCommitCheckout or null`
740753
741 - `BetaManagedAgentsBranchCheckout object { name, type }`
754 - `BetaManagedAgentsBranchCheckout object`
742755
743756 - `name: string`
744757
745758 Branch name to check out.
746759
760 minLength: 1, maxLength: 255
761
747762 - `type: "branch"`
748763
749 - `"branch"`
764 - `BetaManagedAgentsCommitCheckout object`
750765
751 - `BetaManagedAgentsCommitCheckout object { sha, type }`
752
753766 - `sha: string`
754767
755768 Full commit SHA to check out.
756769
770 minLength: 7, maxLength: 64
771
757772 - `type: "commit"`
758773
759 - `"commit"`
774- `BetaManagedAgentsFileResource object`
760775
761- `BetaManagedAgentsFileResource object { id, created_at, file_id, 3 more }`
762
763776 - `id: string`
764777
765778 - `created_at: string`
from line 779
766779
767780 A timestamp in RFC 3339 format
768781
782 format: date-time
783
769784 - `file_id: string`
770785
771786 - `mount_path: string`
from line 787
772787
773788 - `type: "file"`
774789
775 - `"file"`
776
777790 - `updated_at: string`
778791
779792 A timestamp in RFC 3339 format
780793
781- `BetaManagedAgentsMemoryStoreResource object { memory_store_id, type, access, 4 more }`
794 format: date-time
782795
796- `BetaManagedAgentsMemoryStoreResource object`
797
783798 A memory store attached to an agent session.
784799
785800 - `memory_store_id: string`
from line 803
788803
789804 - `type: "memory_store"`
790805
791 - `"memory_store"`
792
793806 - `access: optional "read_write" or "read_only" or null`
794807
795808 Access mode for an attached memory store.
from line 819
806819
807820 Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.
808821
822 maxLength: 4096
823
809824 - `mount_path: optional string or null`
810825
811826 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 831
816831
817832### Example
818833
819```http
834```bash
820835curl https://api.anthropic.com/v1/sessions/$SESSION_ID/resources/$RESOURCE_ID \
821836 -H 'Content-Type: application/json' \
822837 -H 'anthropic-version: 2023-06-01' \
from line 842
827842 }'
828843```
829844
830#### Response
845#### Response (200)
831846
832847```json
833848{
from line 861
846861
847862## Delete Session Resource
848863
849**delete** `/v1/sessions/{session_id}/resources/{resource_id}`
864**DELETE** `/v1/sessions/{session_id}/resources/{resource_id}`
850865
851866Delete Session Resource
852867
853### Path Parameters
868### Path parameters
854869
855870- `session_id: string`
856871
857872- `resource_id: string`
858873
859### Header Parameters
874### Headers
860875
861876- `"anthropic-beta": optional array of AnthropicBeta`
862877
from line 951
936951
937952### Returns
938953
939- `BetaManagedAgentsDeleteSessionResource object { id, type }`
954- `BetaManagedAgentsDeleteSessionResource object`
940955
941956 Confirmation of resource deletion.
942957
from line 959
944959
945960 - `type: "session_resource_deleted"`
946961
947 - `"session_resource_deleted"`
948
949962### Example
950963
951```http
964```bash
952965curl https://api.anthropic.com/v1/sessions/$SESSION_ID/resources/$RESOURCE_ID \
953966 -X DELETE \
954967 -H 'anthropic-version: 2023-06-01' \
from line 969
956969 -H "X-Api-Key: $ANTHROPIC_API_KEY"
957970```
958971
959#### Response
972#### Response (200)
960973
961974```json
962975{
from line 978
965978}
966979```
967980
968## Domain Types
981## Domain types
969982
970983### Beta Managed Agents Delete Session Resource
971984
972- `BetaManagedAgentsDeleteSessionResource object { id, type }`
985- `BetaManagedAgentsDeleteSessionResource object`
973986
974987 Confirmation of resource deletion.
975988
from line 990
977990
978991 - `type: "session_resource_deleted"`
979992
980 - `"session_resource_deleted"`
981
982993### Beta Managed Agents File Resource
983994
984- `BetaManagedAgentsFileResource object { id, created_at, file_id, 3 more }`
995- `BetaManagedAgentsFileResource object`
985996
986997 - `id: string`
987998
from line 1000
9891000
9901001 A timestamp in RFC 3339 format
9911002
1003 format: date-time
1004
9921005 - `file_id: string`
9931006
9941007 - `mount_path: string`
from line 1008
9951008
9961009 - `type: "file"`
9971010
998 - `"file"`
999
10001011 - `updated_at: string`
10011012
10021013 A timestamp in RFC 3339 format
10031014
1015 format: date-time
1016
10041017### Beta Managed Agents GitHub Repository Resource
10051018
1006- `BetaManagedAgentsGitHubRepositoryResource object { id, created_at, mount_path, 4 more }`
1019- `BetaManagedAgentsGitHubRepositoryResource object`
10071020
10081021 - `id: string`
10091022
from line 1024
10111024
10121025 A timestamp in RFC 3339 format
10131026
1027 format: date-time
1028
10141029 - `mount_path: string`
10151030
10161031 - `type: "github_repository"`
10171032
1018 - `"github_repository"`
1019
10201033 - `updated_at: string`
10211034
10221035 A timestamp in RFC 3339 format
10231036
1037 format: date-time
1038
10241039 - `url: string`
10251040
10261041 - `checkout: optional BetaManagedAgentsBranchCheckout or BetaManagedAgentsCommitCheckout or null`
10271042
1028 - `BetaManagedAgentsBranchCheckout object { name, type }`
1043 - `BetaManagedAgentsBranchCheckout object`
10291044
10301045 - `name: string`
10311046
10321047 Branch name to check out.
10331048
1049 minLength: 1, maxLength: 255
1050
10341051 - `type: "branch"`
10351052
1036 - `"branch"`
1053 - `BetaManagedAgentsCommitCheckout object`
10371054
1038 - `BetaManagedAgentsCommitCheckout object { sha, type }`
1039
10401055 - `sha: string`
10411056
10421057 Full commit SHA to check out.
10431058
1059 minLength: 7, maxLength: 64
1060
10441061 - `type: "commit"`
10451062
1046 - `"commit"`
1047
10481063### Beta Managed Agents Memory Store Resource
10491064
1050- `BetaManagedAgentsMemoryStoreResource object { memory_store_id, type, access, 4 more }`
1065- `BetaManagedAgentsMemoryStoreResource object`
10511066
10521067 A memory store attached to an agent session.
10531068
from line 1072
10571072
10581073 - `type: "memory_store"`
10591074
1060 - `"memory_store"`
1061
10621075 - `access: optional "read_write" or "read_only" or null`
10631076
10641077 Access mode for an attached memory store.
from line 1088
10751088
10761089 Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.
10771090
1091 maxLength: 4096
1092
10781093 - `mount_path: optional string or null`
10791094
10801095 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 1104
10891104
10901105 A memory store attached to an agent session.
10911106
1092 - `BetaManagedAgentsGitHubRepositoryResource object { id, created_at, mount_path, 4 more }`
1107 - `BetaManagedAgentsGitHubRepositoryResource object`
10931108
10941109 - `id: string`
10951110
from line 1112
10971112
10981113 A timestamp in RFC 3339 format
10991114
1115 format: date-time
1116
11001117 - `mount_path: string`
11011118
11021119 - `type: "github_repository"`
11031120
1104 - `"github_repository"`
1105
11061121 - `updated_at: string`
11071122
11081123 A timestamp in RFC 3339 format
11091124
1125 format: date-time
1126
11101127 - `url: string`
11111128
11121129 - `checkout: optional BetaManagedAgentsBranchCheckout or BetaManagedAgentsCommitCheckout or null`
11131130
1114 - `BetaManagedAgentsBranchCheckout object { name, type }`
1131 - `BetaManagedAgentsBranchCheckout object`
11151132
11161133 - `name: string`
11171134
11181135 Branch name to check out.
11191136
1137 minLength: 1, maxLength: 255
1138
11201139 - `type: "branch"`
11211140
1122 - `"branch"`
1141 - `BetaManagedAgentsCommitCheckout object`
11231142
1124 - `BetaManagedAgentsCommitCheckout object { sha, type }`
1125
11261143 - `sha: string`
11271144
11281145 Full commit SHA to check out.
11291146
1147 minLength: 7, maxLength: 64
1148
11301149 - `type: "commit"`
11311150
1132 - `"commit"`
1151 - `BetaManagedAgentsFileResource object`
11331152
1134 - `BetaManagedAgentsFileResource object { id, created_at, file_id, 3 more }`
1135
11361153 - `id: string`
11371154
11381155 - `created_at: string`
from line 1156
11391156
11401157 A timestamp in RFC 3339 format
11411158
1159 format: date-time
1160
11421161 - `file_id: string`
11431162
11441163 - `mount_path: string`
from line 1164
11451164
11461165 - `type: "file"`
11471166
1148 - `"file"`
1149
11501167 - `updated_at: string`
11511168
11521169 A timestamp in RFC 3339 format
11531170
1154 - `BetaManagedAgentsMemoryStoreResource object { memory_store_id, type, access, 4 more }`
1171 format: date-time
11551172
1173 - `BetaManagedAgentsMemoryStoreResource object`
1174
11561175 A memory store attached to an agent session.
11571176
11581177 - `memory_store_id: string`
from line 1180
11611180
11621181 - `type: "memory_store"`
11631182
1164 - `"memory_store"`
1165
11661183 - `access: optional "read_write" or "read_only" or null`
11671184
11681185 Access mode for an attached memory store.
from line 1196
11791196
11801197 Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.
11811198
1199 maxLength: 4096
1200
11821201 - `mount_path: optional string or null`
11831202
11841203 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 1212
11931212
11941213 The requested session resource.
11951214
1196 - `BetaManagedAgentsGitHubRepositoryResource object { id, created_at, mount_path, 4 more }`
1215 - `BetaManagedAgentsGitHubRepositoryResource object`
11971216
11981217 - `id: string`
11991218
from line 1220
12011220
12021221 A timestamp in RFC 3339 format
12031222
1223 format: date-time
1224
12041225 - `mount_path: string`
12051226
12061227 - `type: "github_repository"`
12071228
1208 - `"github_repository"`
1209
12101229 - `updated_at: string`
12111230
12121231 A timestamp in RFC 3339 format
12131232
1233 format: date-time
1234
12141235 - `url: string`
12151236
12161237 - `checkout: optional BetaManagedAgentsBranchCheckout or BetaManagedAgentsCommitCheckout or null`
12171238
1218 - `BetaManagedAgentsBranchCheckout object { name, type }`
1239 - `BetaManagedAgentsBranchCheckout object`
12191240
12201241 - `name: string`
12211242
12221243 Branch name to check out.
12231244
1245 minLength: 1, maxLength: 255
1246
12241247 - `type: "branch"`
12251248
1226 - `"branch"`
1249 - `BetaManagedAgentsCommitCheckout object`
12271250
1228 - `BetaManagedAgentsCommitCheckout object { sha, type }`
1229
12301251 - `sha: string`
12311252
12321253 Full commit SHA to check out.
12331254
1255 minLength: 7, maxLength: 64
1256
12341257 - `type: "commit"`
12351258
1236 - `"commit"`
1259 - `BetaManagedAgentsFileResource object`
12371260
1238 - `BetaManagedAgentsFileResource object { id, created_at, file_id, 3 more }`
1239
12401261 - `id: string`
12411262
12421263 - `created_at: string`
from line 1264
12431264
12441265 A timestamp in RFC 3339 format
12451266
1267 format: date-time
1268
12461269 - `file_id: string`
12471270
12481271 - `mount_path: string`
from line 1272
12491272
12501273 - `type: "file"`
12511274
1252 - `"file"`
1253
12541275 - `updated_at: string`
12551276
12561277 A timestamp in RFC 3339 format
12571278
1258 - `BetaManagedAgentsMemoryStoreResource object { memory_store_id, type, access, 4 more }`
1279 format: date-time
12591280
1281 - `BetaManagedAgentsMemoryStoreResource object`
1282
12601283 A memory store attached to an agent session.
12611284
12621285 - `memory_store_id: string`
from line 1288
12651288
12661289 - `type: "memory_store"`
12671290
1268 - `"memory_store"`
1269
12701291 - `access: optional "read_write" or "read_only" or null`
12711292
12721293 Access mode for an attached memory store.
from line 1304
12831304
12841305 Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.
12851306
1307 maxLength: 4096
1308
12861309 - `mount_path: optional string or null`
12871310
12881311 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 1320
12971320
12981321 The updated session resource.
12991322
1300 - `BetaManagedAgentsGitHubRepositoryResource object { id, created_at, mount_path, 4 more }`
1323 - `BetaManagedAgentsGitHubRepositoryResource object`
13011324
13021325 - `id: string`
13031326
from line 1328
13051328
13061329 A timestamp in RFC 3339 format
13071330
1331 format: date-time
1332
13081333 - `mount_path: string`
13091334
13101335 - `type: "github_repository"`
13111336
1312 - `"github_repository"`
1313
13141337 - `updated_at: string`
13151338
13161339 A timestamp in RFC 3339 format
13171340
1341 format: date-time
1342
13181343 - `url: string`
13191344
13201345 - `checkout: optional BetaManagedAgentsBranchCheckout or BetaManagedAgentsCommitCheckout or null`
13211346
1322 - `BetaManagedAgentsBranchCheckout object { name, type }`
1347 - `BetaManagedAgentsBranchCheckout object`
13231348
13241349 - `name: string`
13251350
13261351 Branch name to check out.
13271352
1353 minLength: 1, maxLength: 255
1354
13281355 - `type: "branch"`
13291356
1330 - `"branch"`
1357 - `BetaManagedAgentsCommitCheckout object`
13311358
1332 - `BetaManagedAgentsCommitCheckout object { sha, type }`
1333
13341359 - `sha: string`
13351360
13361361 Full commit SHA to check out.
13371362
1363 minLength: 7, maxLength: 64
1364
13381365 - `type: "commit"`
13391366
1340 - `"commit"`
1367 - `BetaManagedAgentsFileResource object`
13411368
1342 - `BetaManagedAgentsFileResource object { id, created_at, file_id, 3 more }`
1343
13441369 - `id: string`
13451370
13461371 - `created_at: string`
from line 1372
13471372
13481373 A timestamp in RFC 3339 format
13491374
1375 format: date-time
1376
13501377 - `file_id: string`
13511378
13521379 - `mount_path: string`
from line 1380
13531380
13541381 - `type: "file"`
13551382
1356 - `"file"`
1357
13581383 - `updated_at: string`
13591384
13601385 A timestamp in RFC 3339 format
13611386
1362 - `BetaManagedAgentsMemoryStoreResource object { memory_store_id, type, access, 4 more }`
1387 format: date-time
13631388
1389 - `BetaManagedAgentsMemoryStoreResource object`
1390
13641391 A memory store attached to an agent session.
13651392
13661393 - `memory_store_id: string`
from line 1396
13691396
13701397 - `type: "memory_store"`
13711398
1372 - `"memory_store"`
1373
13741399 - `access: optional "read_write" or "read_only" or null`
13751400
13761401 Access mode for an attached memory store.
from line 1411
13861411 - `instructions: optional string or null`
13871412
13881413 Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.
1414
1415 maxLength: 4096
13891416
13901417 - `mount_path: optional string or null`
13911418
No line in this hunk matches that.