One read of Claude Developer Platformapi-20260826T180819Z
239 pages moved out of 688 read.
Pages moved
239
significant first
Pages read
688
in this capture
Captured
18:08 UTC
Corpus hash
c1a577247bc1
corpus-hash
What this read moved
26-50 of 239, page 2 of 10This capture is too large to show at once. Changes 26-50 of 239 are below, significant first; the rest are on the following screens.
api/beta/dreams/list Changed · +15 / -1 lines
from line 54
5454
5555 - `string`
5656
57 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
57 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
5858
5959 - `"message-batches-2024-09-24"`
6060
from line 123
123123 - `"agent-memory-2026-07-22"`
124124
125125 - `"mid-conversation-tool-changes-2026-07-01"`
126
127 - `"compact-2026-01-12"`
128
129 - `"computer-use-2025-11-24"`
130
131 - `"mcp-tunnels-2026-06-22"`
132
133 - `"structured-outputs-2025-11-13"`
134
135 - `"task-budgets-2026-03-13"`
136
137 - `"thinking-display-updates-2026-08-18"`
138
139 - `"ce-user-management-2026-07-13"`
126140
127141## Returns
128142
api/beta/dreams/retrieve Changed · +15 / -1 lines
from line 16
1616
1717 - `string`
1818
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2020
2121 - `"message-batches-2024-09-24"`
2222
from line 85
8585 - `"agent-memory-2026-07-22"`
8686
8787 - `"mid-conversation-tool-changes-2026-07-01"`
88
89 - `"compact-2026-01-12"`
90
91 - `"computer-use-2025-11-24"`
92
93 - `"mcp-tunnels-2026-06-22"`
94
95 - `"structured-outputs-2025-11-13"`
96
97 - `"task-budgets-2026-03-13"`
98
99 - `"thinking-display-updates-2026-08-18"`
100
101 - `"ce-user-management-2026-07-13"`
88102
89103## Returns
90104
api/beta/environments Changed · +222 / -18 lines
from line 14
1414
1515 - `string`
1616
17 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
17 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
1818
1919 - `"message-batches-2024-09-24"`
2020
from line 84
8484
8585 - `"mid-conversation-tool-changes-2026-07-01"`
8686
87 - `"compact-2026-01-12"`
88
89 - `"computer-use-2025-11-24"`
90
91 - `"mcp-tunnels-2026-06-22"`
92
93 - `"structured-outputs-2025-11-13"`
94
95 - `"task-budgets-2026-03-13"`
96
97 - `"thinking-display-updates-2026-08-18"`
98
99 - `"ce-user-management-2026-07-13"`
100
87101### Body parameters
88102
89103- `name: string`
from line 150
136150
137151 - `allow_package_managers: optional boolean or null`
138152
139 Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the `allowed_hosts` array. Defaults to `false`.
153 Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the `allowed_hosts` array. Defaults to `false` on creation. Must be `true` when `packages` are specified.
140154
141155 - `allowed_hosts: optional array of string or null`
142156
from line 162
148162
149163 When versioning, use the version semantics relevant for the package manager, e.g. for `pip` use `package==1.0.0`. You are responsible for validating the package and version exist. Unversioned installs the latest.
150164
165 Under `limited` networking, requires `networking.allow_package_managers` to be `true`.
166
151167 - `apt: optional array of string or null`
152168
153169 Ubuntu/Debian packages to install
from line 465
449465
450466 - `string`
451467
452 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
468 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
453469
454470 - `"message-batches-2024-09-24"`
455471
from line 535
519535
520536 - `"mid-conversation-tool-changes-2026-07-01"`
521537
538 - `"compact-2026-01-12"`
539
540 - `"computer-use-2025-11-24"`
541
542 - `"mcp-tunnels-2026-06-22"`
543
544 - `"structured-outputs-2025-11-13"`
545
546 - `"task-budgets-2026-03-13"`
547
548 - `"thinking-display-updates-2026-08-18"`
549
550 - `"ce-user-management-2026-07-13"`
551
522552### Returns
523553
524554- `data: array of BetaEnvironment`
from line 768
738768
739769 - `string`
740770
741 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
771 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
742772
743773 - `"message-batches-2024-09-24"`
744774
from line 838
808838
809839 - `"mid-conversation-tool-changes-2026-07-01"`
810840
841 - `"compact-2026-01-12"`
842
843 - `"computer-use-2025-11-24"`
844
845 - `"mcp-tunnels-2026-06-22"`
846
847 - `"structured-outputs-2025-11-13"`
848
849 - `"task-budgets-2026-03-13"`
850
851 - `"thinking-display-updates-2026-08-18"`
852
853 - `"ce-user-management-2026-07-13"`
854
811855### Returns
812856
813857- `BetaEnvironment object`
from line 1062
10181062
10191063 - `string`
10201064
1021 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
1065 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
10221066
10231067 - `"message-batches-2024-09-24"`
10241068
from line 1132
10881132
10891133 - `"mid-conversation-tool-changes-2026-07-01"`
10901134
1135 - `"compact-2026-01-12"`
1136
1137 - `"computer-use-2025-11-24"`
1138
1139 - `"mcp-tunnels-2026-06-22"`
1140
1141 - `"structured-outputs-2025-11-13"`
1142
1143 - `"task-budgets-2026-03-13"`
1144
1145 - `"thinking-display-updates-2026-08-18"`
1146
1147 - `"ce-user-management-2026-07-13"`
1148
10911149### Body parameters
10921150
10931151- `config: optional BetaCloudConfigParams or BetaSelfHostedConfigParams or null`
from line 1192
11341192
11351193 - `allow_package_managers: optional boolean or null`
11361194
1137 Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the `allowed_hosts` array. Defaults to `false`.
1195 Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the `allowed_hosts` array. Defaults to `false` on creation. Must be `true` when `packages` are specified.
11381196
11391197 - `allowed_hosts: optional array of string or null`
11401198
from line 1204
11461204
11471205 When versioning, use the version semantics relevant for the package manager, e.g. for `pip` use `package==1.0.0`. You are responsible for validating the package and version exist. Unversioned installs the latest.
11481206
1207 Under `limited` networking, requires `networking.allow_package_managers` to be `true`.
1208
11491209 - `apt: optional array of string or null`
11501210
11511211 Ubuntu/Debian packages to install
from line 1482
14221482
14231483 - `string`
14241484
1425 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
1485 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
14261486
14271487 - `"message-batches-2024-09-24"`
14281488
from line 1552
14921552
14931553 - `"mid-conversation-tool-changes-2026-07-01"`
14941554
1555 - `"compact-2026-01-12"`
1556
1557 - `"computer-use-2025-11-24"`
1558
1559 - `"mcp-tunnels-2026-06-22"`
1560
1561 - `"structured-outputs-2025-11-13"`
1562
1563 - `"task-budgets-2026-03-13"`
1564
1565 - `"thinking-display-updates-2026-08-18"`
1566
1567 - `"ce-user-management-2026-07-13"`
1568
14951569### Returns
14961570
14971571- `BetaEnvironmentDeleteResponse object`
from line 1619
15451619
15461620 - `string`
15471621
1548 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
1622 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
15491623
15501624 - `"message-batches-2024-09-24"`
15511625
from line 1689
16151689
16161690 - `"mid-conversation-tool-changes-2026-07-01"`
16171691
1692 - `"compact-2026-01-12"`
1693
1694 - `"computer-use-2025-11-24"`
1695
1696 - `"mcp-tunnels-2026-06-22"`
1697
1698 - `"structured-outputs-2025-11-13"`
1699
1700 - `"task-budgets-2026-03-13"`
1701
1702 - `"thinking-display-updates-2026-08-18"`
1703
1704 - `"ce-user-management-2026-07-13"`
1705
16181706### Returns
16191707
16201708- `BetaEnvironment object`
from line 2016
19282016
19292017 - `allow_package_managers: optional boolean or null`
19302018
1931 Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the `allowed_hosts` array. Defaults to `false`.
2019 Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the `allowed_hosts` array. Defaults to `false` on creation. Must be `true` when `packages` are specified.
19322020
19332021 - `allowed_hosts: optional array of string or null`
19342022
from line 2028
19402028
19412029 When versioning, use the version semantics relevant for the package manager, e.g. for `pip` use `package==1.0.0`. You are responsible for validating the package and version exist. Unversioned installs the latest.
19422030
2031 Under `limited` networking, requires `networking.allow_package_managers` to be `true`.
2032
19432033 - `apt: optional array of string or null`
19442034
19452035 Ubuntu/Debian packages to install
from line 2251
21612251
21622252 - `allow_package_managers: optional boolean or null`
21632253
2164 Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the `allowed_hosts` array. Defaults to `false`.
2254 Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the `allowed_hosts` array. Defaults to `false` on creation. Must be `true` when `packages` are specified.
21652255
21662256 - `allowed_hosts: optional array of string or null`
21672257
from line 2301
22112301
22122302 When versioning, use the version semantics relevant for the package manager, e.g. for `pip` use `package==1.0.0`. You are responsible for validating the package and version exist. Unversioned installs the latest.
22132303
2304 Under `limited` networking, requires `networking.allow_package_managers` to be `true`.
2305
22142306 - `apt: optional array of string or null`
22152307
22162308 Ubuntu/Debian packages to install
from line 2387
22952387
22962388 - `string`
22972389
2298 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
2390 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
22992391
23002392 - `"message-batches-2024-09-24"`
23012393
from line 2457
23652457
23662458 - `"mid-conversation-tool-changes-2026-07-01"`
23672459
2460 - `"compact-2026-01-12"`
2461
2462 - `"computer-use-2025-11-24"`
2463
2464 - `"mcp-tunnels-2026-06-22"`
2465
2466 - `"structured-outputs-2025-11-13"`
2467
2468 - `"task-budgets-2026-03-13"`
2469
2470 - `"thinking-display-updates-2026-08-18"`
2471
2472 - `"ce-user-management-2026-07-13"`
2473
23682474#### Returns
23692475
23702476- `BetaSelfHostedWork object`
from line 2621
25152621
25162622 - `string`
25172623
2518 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
2624 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
25192625
25202626 - `"message-batches-2024-09-24"`
25212627
from line 2691
25852691
25862692 - `"mid-conversation-tool-changes-2026-07-01"`
25872693
2694 - `"compact-2026-01-12"`
2695
2696 - `"computer-use-2025-11-24"`
2697
2698 - `"mcp-tunnels-2026-06-22"`
2699
2700 - `"structured-outputs-2025-11-13"`
2701
2702 - `"task-budgets-2026-03-13"`
2703
2704 - `"thinking-display-updates-2026-08-18"`
2705
2706 - `"ce-user-management-2026-07-13"`
2707
25882708- `"Anthropic-Worker-ID": optional string`
25892709
25902710 Unique identifier for the specific worker polling, used to track aggregated environment-level work metrics in Console
from line 2847
27272847
27282848 - `string`
27292849
2730 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
2850 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
27312851
27322852 - `"message-batches-2024-09-24"`
27332853
from line 2917
27972917
27982918 - `"mid-conversation-tool-changes-2026-07-01"`
27992919
2920 - `"compact-2026-01-12"`
2921
2922 - `"computer-use-2025-11-24"`
2923
2924 - `"mcp-tunnels-2026-06-22"`
2925
2926 - `"structured-outputs-2025-11-13"`
2927
2928 - `"task-budgets-2026-03-13"`
2929
2930 - `"thinking-display-updates-2026-08-18"`
2931
2932 - `"ce-user-management-2026-07-13"`
2933
28002934#### Returns
28012935
28022936- `BetaSelfHostedWork object`
from line 3080
29463080
29473081 - `string`
29483082
2949 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
3083 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
29503084
29513085 - `"message-batches-2024-09-24"`
29523086
from line 3150
30163150
30173151 - `"mid-conversation-tool-changes-2026-07-01"`
30183152
3153 - `"compact-2026-01-12"`
3154
3155 - `"computer-use-2025-11-24"`
3156
3157 - `"mcp-tunnels-2026-06-22"`
3158
3159 - `"structured-outputs-2025-11-13"`
3160
3161 - `"task-budgets-2026-03-13"`
3162
3163 - `"thinking-display-updates-2026-08-18"`
3164
3165 - `"ce-user-management-2026-07-13"`
3166
30193167#### Returns
30203168
30213169- `BetaSelfHostedWorkHeartbeatResponse object`
from line 3246
30983246
30993247 - `string`
31003248
3101 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
3249 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
31023250
31033251 - `"message-batches-2024-09-24"`
31043252
from line 3316
31683316
31693317 - `"mid-conversation-tool-changes-2026-07-01"`
31703318
3319 - `"compact-2026-01-12"`
3320
3321 - `"computer-use-2025-11-24"`
3322
3323 - `"mcp-tunnels-2026-06-22"`
3324
3325 - `"structured-outputs-2025-11-13"`
3326
3327 - `"task-budgets-2026-03-13"`
3328
3329 - `"thinking-display-updates-2026-08-18"`
3330
3331 - `"ce-user-management-2026-07-13"`
3332
31713333#### Body parameters
31723334
31733335- `force: optional boolean`
from line 3488
33263488
33273489 - `string`
33283490
3329 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
3491 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
33303492
33313493 - `"message-batches-2024-09-24"`
33323494
from line 3558
33963558
33973559 - `"mid-conversation-tool-changes-2026-07-01"`
33983560
3561 - `"compact-2026-01-12"`
3562
3563 - `"computer-use-2025-11-24"`
3564
3565 - `"mcp-tunnels-2026-06-22"`
3566
3567 - `"structured-outputs-2025-11-13"`
3568
3569 - `"task-budgets-2026-03-13"`
3570
3571 - `"thinking-display-updates-2026-08-18"`
3572
3573 - `"ce-user-management-2026-07-13"`
3574
33993575#### Returns
34003576
34013577- `BetaSelfHostedWorkListResponse object`
from line 3719
35433719
35443720 - `string`
35453721
3546 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
3722 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
35473723
35483724 - `"message-batches-2024-09-24"`
35493725
from line 3789
36133789
36143790 - `"mid-conversation-tool-changes-2026-07-01"`
36153791
3792 - `"compact-2026-01-12"`
3793
3794 - `"computer-use-2025-11-24"`
3795
3796 - `"mcp-tunnels-2026-06-22"`
3797
3798 - `"structured-outputs-2025-11-13"`
3799
3800 - `"task-budgets-2026-03-13"`
3801
3802 - `"thinking-display-updates-2026-08-18"`
3803
3804 - `"ce-user-management-2026-07-13"`
3805
36163806#### Body parameters
36173807
36183808- `metadata: map[string]`
from line 3949
37593949
37603950 - `string`
37613951
3762 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
3952 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
37633953
37643954 - `"message-batches-2024-09-24"`
37653955
from line 4018
38284018 - `"agent-memory-2026-07-22"`
38294019
38304020 - `"mid-conversation-tool-changes-2026-07-01"`
4021
4022 - `"compact-2026-01-12"`
4023
4024 - `"computer-use-2025-11-24"`
4025
4026 - `"mcp-tunnels-2026-06-22"`
4027
4028 - `"structured-outputs-2025-11-13"`
4029
4030 - `"task-budgets-2026-03-13"`
4031
4032 - `"thinking-display-updates-2026-08-18"`
4033
4034 - `"ce-user-management-2026-07-13"`
38314035
38324036#### Returns
38334037
api/beta/environments/archive Changed · +15 / -1 lines
from line 16
1616
1717 - `string`
1818
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2020
2121 - `"message-batches-2024-09-24"`
2222
from line 85
8585 - `"agent-memory-2026-07-22"`
8686
8787 - `"mid-conversation-tool-changes-2026-07-01"`
88
89 - `"compact-2026-01-12"`
90
91 - `"computer-use-2025-11-24"`
92
93 - `"mcp-tunnels-2026-06-22"`
94
95 - `"structured-outputs-2025-11-13"`
96
97 - `"task-budgets-2026-03-13"`
98
99 - `"thinking-display-updates-2026-08-18"`
100
101 - `"ce-user-management-2026-07-13"`
88102
89103## Returns
90104
api/beta/environments/create Changed · +18 / -2 lines
from line 12
1212
1313 - `string`
1414
15 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
15 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
1616
1717 - `"message-batches-2024-09-24"`
1818
from line 82
8282
8383 - `"mid-conversation-tool-changes-2026-07-01"`
8484
85 - `"compact-2026-01-12"`
86
87 - `"computer-use-2025-11-24"`
88
89 - `"mcp-tunnels-2026-06-22"`
90
91 - `"structured-outputs-2025-11-13"`
92
93 - `"task-budgets-2026-03-13"`
94
95 - `"thinking-display-updates-2026-08-18"`
96
97 - `"ce-user-management-2026-07-13"`
98
8599## Body parameters
86100
87101- `name: string`
from line 148
134148
135149 - `allow_package_managers: optional boolean or null`
136150
137 Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the `allowed_hosts` array. Defaults to `false`.
151 Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the `allowed_hosts` array. Defaults to `false` on creation. Must be `true` when `packages` are specified.
138152
139153 - `allowed_hosts: optional array of string or null`
140154
from line 159
145159 Specify packages (and optionally their versions) available in this environment.
146160
147161 When versioning, use the version semantics relevant for the package manager, e.g. for `pip` use `package==1.0.0`. You are responsible for validating the package and version exist. Unversioned installs the latest.
162
163 Under `limited` networking, requires `networking.allow_package_managers` to be `true`.
148164
149165 - `apt: optional array of string or null`
150166
api/beta/environments/delete Changed · +15 / -1 lines
from line 16
1616
1717 - `string`
1818
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2020
2121 - `"message-batches-2024-09-24"`
2222
from line 85
8585 - `"agent-memory-2026-07-22"`
8686
8787 - `"mid-conversation-tool-changes-2026-07-01"`
88
89 - `"compact-2026-01-12"`
90
91 - `"computer-use-2025-11-24"`
92
93 - `"mcp-tunnels-2026-06-22"`
94
95 - `"structured-outputs-2025-11-13"`
96
97 - `"task-budgets-2026-03-13"`
98
99 - `"thinking-display-updates-2026-08-18"`
100
101 - `"ce-user-management-2026-07-13"`
88102
89103## Returns
90104
api/beta/environments/list Changed · +15 / -1 lines
from line 30
3030
3131 - `string`
3232
33 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
33 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3434
3535 - `"message-batches-2024-09-24"`
3636
from line 99
9999 - `"agent-memory-2026-07-22"`
100100
101101 - `"mid-conversation-tool-changes-2026-07-01"`
102
103 - `"compact-2026-01-12"`
104
105 - `"computer-use-2025-11-24"`
106
107 - `"mcp-tunnels-2026-06-22"`
108
109 - `"structured-outputs-2025-11-13"`
110
111 - `"task-budgets-2026-03-13"`
112
113 - `"thinking-display-updates-2026-08-18"`
114
115 - `"ce-user-management-2026-07-13"`
102116
103117## Returns
104118
api/beta/environments/retrieve Changed · +15 / -1 lines
from line 16
1616
1717 - `string`
1818
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2020
2121 - `"message-batches-2024-09-24"`
2222
from line 85
8585 - `"agent-memory-2026-07-22"`
8686
8787 - `"mid-conversation-tool-changes-2026-07-01"`
88
89 - `"compact-2026-01-12"`
90
91 - `"computer-use-2025-11-24"`
92
93 - `"mcp-tunnels-2026-06-22"`
94
95 - `"structured-outputs-2025-11-13"`
96
97 - `"task-budgets-2026-03-13"`
98
99 - `"thinking-display-updates-2026-08-18"`
100
101 - `"ce-user-management-2026-07-13"`
88102
89103## Returns
90104
api/beta/environments/update Changed · +18 / -2 lines
from line 16
1616
1717 - `string`
1818
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2020
2121 - `"message-batches-2024-09-24"`
2222
from line 86
8686
8787 - `"mid-conversation-tool-changes-2026-07-01"`
8888
89 - `"compact-2026-01-12"`
90
91 - `"computer-use-2025-11-24"`
92
93 - `"mcp-tunnels-2026-06-22"`
94
95 - `"structured-outputs-2025-11-13"`
96
97 - `"task-budgets-2026-03-13"`
98
99 - `"thinking-display-updates-2026-08-18"`
100
101 - `"ce-user-management-2026-07-13"`
102
89103## Body parameters
90104
91105- `config: optional BetaCloudConfigParams or BetaSelfHostedConfigParams or null`
from line 146
132146
133147 - `allow_package_managers: optional boolean or null`
134148
135 Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the `allowed_hosts` array. Defaults to `false`.
149 Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the `allowed_hosts` array. Defaults to `false` on creation. Must be `true` when `packages` are specified.
136150
137151 - `allowed_hosts: optional array of string or null`
138152
from line 157
143157 Specify packages (and optionally their versions) available in this environment.
144158
145159 When versioning, use the version semantics relevant for the package manager, e.g. for `pip` use `package==1.0.0`. You are responsible for validating the package and version exist. Unversioned installs the latest.
160
161 Under `limited` networking, requires `networking.allow_package_managers` to be `true`.
146162
147163 - `apt: optional array of string or null`
148164
api/beta/environments/work Changed · +120 / -8 lines
from line 22
2222
2323 - `string`
2424
25 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
25 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2626
2727 - `"message-batches-2024-09-24"`
2828
from line 92
9292
9393 - `"mid-conversation-tool-changes-2026-07-01"`
9494
95 - `"compact-2026-01-12"`
96
97 - `"computer-use-2025-11-24"`
98
99 - `"mcp-tunnels-2026-06-22"`
100
101 - `"structured-outputs-2025-11-13"`
102
103 - `"task-budgets-2026-03-13"`
104
105 - `"thinking-display-updates-2026-08-18"`
106
107 - `"ce-user-management-2026-07-13"`
108
95109### Returns
96110
97111- `BetaSelfHostedWork object`
from line 256
242256
243257 - `string`
244258
245 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
259 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
246260
247261 - `"message-batches-2024-09-24"`
248262
from line 326
312326
313327 - `"mid-conversation-tool-changes-2026-07-01"`
314328
329 - `"compact-2026-01-12"`
330
331 - `"computer-use-2025-11-24"`
332
333 - `"mcp-tunnels-2026-06-22"`
334
335 - `"structured-outputs-2025-11-13"`
336
337 - `"task-budgets-2026-03-13"`
338
339 - `"thinking-display-updates-2026-08-18"`
340
341 - `"ce-user-management-2026-07-13"`
342
315343- `"Anthropic-Worker-ID": optional string`
316344
317345 Unique identifier for the specific worker polling, used to track aggregated environment-level work metrics in Console
from line 482
454482
455483 - `string`
456484
457 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
485 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
458486
459487 - `"message-batches-2024-09-24"`
460488
from line 552
524552
525553 - `"mid-conversation-tool-changes-2026-07-01"`
526554
555 - `"compact-2026-01-12"`
556
557 - `"computer-use-2025-11-24"`
558
559 - `"mcp-tunnels-2026-06-22"`
560
561 - `"structured-outputs-2025-11-13"`
562
563 - `"task-budgets-2026-03-13"`
564
565 - `"thinking-display-updates-2026-08-18"`
566
567 - `"ce-user-management-2026-07-13"`
568
527569### Returns
528570
529571- `BetaSelfHostedWork object`
from line 715
673715
674716 - `string`
675717
676 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
718 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
677719
678720 - `"message-batches-2024-09-24"`
679721
from line 785
743785
744786 - `"mid-conversation-tool-changes-2026-07-01"`
745787
788 - `"compact-2026-01-12"`
789
790 - `"computer-use-2025-11-24"`
791
792 - `"mcp-tunnels-2026-06-22"`
793
794 - `"structured-outputs-2025-11-13"`
795
796 - `"task-budgets-2026-03-13"`
797
798 - `"thinking-display-updates-2026-08-18"`
799
800 - `"ce-user-management-2026-07-13"`
801
746802### Returns
747803
748804- `BetaSelfHostedWorkHeartbeatResponse object`
from line 881
825881
826882 - `string`
827883
828 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
884 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
829885
830886 - `"message-batches-2024-09-24"`
831887
from line 951
895951
896952 - `"mid-conversation-tool-changes-2026-07-01"`
897953
954 - `"compact-2026-01-12"`
955
956 - `"computer-use-2025-11-24"`
957
958 - `"mcp-tunnels-2026-06-22"`
959
960 - `"structured-outputs-2025-11-13"`
961
962 - `"task-budgets-2026-03-13"`
963
964 - `"thinking-display-updates-2026-08-18"`
965
966 - `"ce-user-management-2026-07-13"`
967
898968### Body parameters
899969
900970- `force: optional boolean`
from line 1123
10531123
10541124 - `string`
10551125
1056 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
1126 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
10571127
10581128 - `"message-batches-2024-09-24"`
10591129
from line 1193
11231193
11241194 - `"mid-conversation-tool-changes-2026-07-01"`
11251195
1196 - `"compact-2026-01-12"`
1197
1198 - `"computer-use-2025-11-24"`
1199
1200 - `"mcp-tunnels-2026-06-22"`
1201
1202 - `"structured-outputs-2025-11-13"`
1203
1204 - `"task-budgets-2026-03-13"`
1205
1206 - `"thinking-display-updates-2026-08-18"`
1207
1208 - `"ce-user-management-2026-07-13"`
1209
11261210### Returns
11271211
11281212- `BetaSelfHostedWorkListResponse object`
from line 1354
12701354
12711355 - `string`
12721356
1273 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
1357 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
12741358
12751359 - `"message-batches-2024-09-24"`
12761360
from line 1424
13401424
13411425 - `"mid-conversation-tool-changes-2026-07-01"`
13421426
1427 - `"compact-2026-01-12"`
1428
1429 - `"computer-use-2025-11-24"`
1430
1431 - `"mcp-tunnels-2026-06-22"`
1432
1433 - `"structured-outputs-2025-11-13"`
1434
1435 - `"task-budgets-2026-03-13"`
1436
1437 - `"thinking-display-updates-2026-08-18"`
1438
1439 - `"ce-user-management-2026-07-13"`
1440
13431441### Body parameters
13441442
13451443- `metadata: map[string]`
from line 1584
14861584
14871585 - `string`
14881586
1489 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
1587 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
14901588
14911589 - `"message-batches-2024-09-24"`
14921590
from line 1653
15551653 - `"agent-memory-2026-07-22"`
15561654
15571655 - `"mid-conversation-tool-changes-2026-07-01"`
1656
1657 - `"compact-2026-01-12"`
1658
1659 - `"computer-use-2025-11-24"`
1660
1661 - `"mcp-tunnels-2026-06-22"`
1662
1663 - `"structured-outputs-2025-11-13"`
1664
1665 - `"task-budgets-2026-03-13"`
1666
1667 - `"thinking-display-updates-2026-08-18"`
1668
1669 - `"ce-user-management-2026-07-13"`
15581670
15591671### Returns
15601672
api/beta/environments/work/ack Changed · +15 / -1 lines
from line 20
2020
2121 - `string`
2222
23 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
23 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2424
2525 - `"message-batches-2024-09-24"`
2626
from line 89
8989 - `"agent-memory-2026-07-22"`
9090
9191 - `"mid-conversation-tool-changes-2026-07-01"`
92
93 - `"compact-2026-01-12"`
94
95 - `"computer-use-2025-11-24"`
96
97 - `"mcp-tunnels-2026-06-22"`
98
99 - `"structured-outputs-2025-11-13"`
100
101 - `"task-budgets-2026-03-13"`
102
103 - `"thinking-display-updates-2026-08-18"`
104
105 - `"ce-user-management-2026-07-13"`
92106
93107## Returns
94108
api/beta/environments/work/heartbeat Changed · +15 / -1 lines
from line 30
3030
3131 - `string`
3232
33 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
33 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3434
3535 - `"message-batches-2024-09-24"`
3636
from line 99
9999 - `"agent-memory-2026-07-22"`
100100
101101 - `"mid-conversation-tool-changes-2026-07-01"`
102
103 - `"compact-2026-01-12"`
104
105 - `"computer-use-2025-11-24"`
106
107 - `"mcp-tunnels-2026-06-22"`
108
109 - `"structured-outputs-2025-11-13"`
110
111 - `"task-budgets-2026-03-13"`
112
113 - `"thinking-display-updates-2026-08-18"`
114
115 - `"ce-user-management-2026-07-13"`
102116
103117## Returns
104118
api/beta/environments/work/list Changed · +15 / -1 lines
from line 30
3030
3131 - `string`
3232
33 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
33 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3434
3535 - `"message-batches-2024-09-24"`
3636
from line 99
9999 - `"agent-memory-2026-07-22"`
100100
101101 - `"mid-conversation-tool-changes-2026-07-01"`
102
103 - `"compact-2026-01-12"`
104
105 - `"computer-use-2025-11-24"`
106
107 - `"mcp-tunnels-2026-06-22"`
108
109 - `"structured-outputs-2025-11-13"`
110
111 - `"task-budgets-2026-03-13"`
112
113 - `"thinking-display-updates-2026-08-18"`
114
115 - `"ce-user-management-2026-07-13"`
102116
103117## Returns
104118
api/beta/environments/work/poll Changed · +15 / -1 lines
from line 32
3232
3333 - `string`
3434
35 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
35 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3636
3737 - `"message-batches-2024-09-24"`
3838
from line 101
101101 - `"agent-memory-2026-07-22"`
102102
103103 - `"mid-conversation-tool-changes-2026-07-01"`
104
105 - `"compact-2026-01-12"`
106
107 - `"computer-use-2025-11-24"`
108
109 - `"mcp-tunnels-2026-06-22"`
110
111 - `"structured-outputs-2025-11-13"`
112
113 - `"task-budgets-2026-03-13"`
114
115 - `"thinking-display-updates-2026-08-18"`
116
117 - `"ce-user-management-2026-07-13"`
104118
105119- `"Anthropic-Worker-ID": optional string`
106120
api/beta/environments/work/retrieve Changed · +15 / -1 lines
from line 20
2020
2121 - `string`
2222
23 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
23 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2424
2525 - `"message-batches-2024-09-24"`
2626
from line 89
8989 - `"agent-memory-2026-07-22"`
9090
9191 - `"mid-conversation-tool-changes-2026-07-01"`
92
93 - `"compact-2026-01-12"`
94
95 - `"computer-use-2025-11-24"`
96
97 - `"mcp-tunnels-2026-06-22"`
98
99 - `"structured-outputs-2025-11-13"`
100
101 - `"task-budgets-2026-03-13"`
102
103 - `"thinking-display-updates-2026-08-18"`
104
105 - `"ce-user-management-2026-07-13"`
92106
93107## Returns
94108
api/beta/environments/work/stats Changed · +15 / -1 lines
from line 16
1616
1717 - `string`
1818
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2020
2121 - `"message-batches-2024-09-24"`
2222
from line 85
8585 - `"agent-memory-2026-07-22"`
8686
8787 - `"mid-conversation-tool-changes-2026-07-01"`
88
89 - `"compact-2026-01-12"`
90
91 - `"computer-use-2025-11-24"`
92
93 - `"mcp-tunnels-2026-06-22"`
94
95 - `"structured-outputs-2025-11-13"`
96
97 - `"task-budgets-2026-03-13"`
98
99 - `"thinking-display-updates-2026-08-18"`
100
101 - `"ce-user-management-2026-07-13"`
88102
89103## Returns
90104
api/beta/environments/work/stop Changed · +15 / -1 lines
from line 20
2020
2121 - `string`
2222
23 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
23 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2424
2525 - `"message-batches-2024-09-24"`
2626
from line 89
8989 - `"agent-memory-2026-07-22"`
9090
9191 - `"mid-conversation-tool-changes-2026-07-01"`
92
93 - `"compact-2026-01-12"`
94
95 - `"computer-use-2025-11-24"`
96
97 - `"mcp-tunnels-2026-06-22"`
98
99 - `"structured-outputs-2025-11-13"`
100
101 - `"task-budgets-2026-03-13"`
102
103 - `"thinking-display-updates-2026-08-18"`
104
105 - `"ce-user-management-2026-07-13"`
92106
93107## Body parameters
94108
api/beta/environments/work/update Changed · +15 / -1 lines
from line 20
2020
2121 - `string`
2222
23 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
23 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2424
2525 - `"message-batches-2024-09-24"`
2626
from line 89
8989 - `"agent-memory-2026-07-22"`
9090
9191 - `"mid-conversation-tool-changes-2026-07-01"`
92
93 - `"compact-2026-01-12"`
94
95 - `"computer-use-2025-11-24"`
96
97 - `"mcp-tunnels-2026-06-22"`
98
99 - `"structured-outputs-2025-11-13"`
100
101 - `"task-budgets-2026-03-13"`
102
103 - `"thinking-display-updates-2026-08-18"`
104
105 - `"ce-user-management-2026-07-13"`
92106
93107## Body parameters
94108
api/beta/files Changed · +75 / -5 lines
from line 14
1414
1515 - `string`
1616
17 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
17 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
1818
1919 - `"message-batches-2024-09-24"`
2020
from line 84
8484
8585 - `"mid-conversation-tool-changes-2026-07-01"`
8686
87 - `"compact-2026-01-12"`
88
89 - `"computer-use-2025-11-24"`
90
91 - `"mcp-tunnels-2026-06-22"`
92
93 - `"structured-outputs-2025-11-13"`
94
95 - `"task-budgets-2026-03-13"`
96
97 - `"thinking-display-updates-2026-08-18"`
98
99 - `"ce-user-management-2026-07-13"`
100
87101### Body parameters (form-data)
88102
89103- `file: string`
from line 229
215229
216230 - `string`
217231
218 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
232 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
219233
220234 - `"message-batches-2024-09-24"`
221235
from line 299
285299
286300 - `"mid-conversation-tool-changes-2026-07-01"`
287301
302 - `"compact-2026-01-12"`
303
304 - `"computer-use-2025-11-24"`
305
306 - `"mcp-tunnels-2026-06-22"`
307
308 - `"structured-outputs-2025-11-13"`
309
310 - `"task-budgets-2026-03-13"`
311
312 - `"thinking-display-updates-2026-08-18"`
313
314 - `"ce-user-management-2026-07-13"`
315
288316### Returns
289317
290318- `data: array of BetaFileMetadata`
from line 441
413441
414442 - `string`
415443
416 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
444 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
417445
418446 - `"message-batches-2024-09-24"`
419447
from line 511
483511
484512 - `"mid-conversation-tool-changes-2026-07-01"`
485513
514 - `"compact-2026-01-12"`
515
516 - `"computer-use-2025-11-24"`
517
518 - `"mcp-tunnels-2026-06-22"`
519
520 - `"structured-outputs-2025-11-13"`
521
522 - `"task-budgets-2026-03-13"`
523
524 - `"thinking-display-updates-2026-08-18"`
525
526 - `"ce-user-management-2026-07-13"`
527
486528### Example
487529
488530```bash
from line 554
512554
513555 - `string`
514556
515 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
557 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
516558
517559 - `"message-batches-2024-09-24"`
518560
from line 624
582624
583625 - `"mid-conversation-tool-changes-2026-07-01"`
584626
627 - `"compact-2026-01-12"`
628
629 - `"computer-use-2025-11-24"`
630
631 - `"mcp-tunnels-2026-06-22"`
632
633 - `"structured-outputs-2025-11-13"`
634
635 - `"task-budgets-2026-03-13"`
636
637 - `"thinking-display-updates-2026-08-18"`
638
639 - `"ce-user-management-2026-07-13"`
640
585641### Returns
586642
587643- `BetaFileMetadata object`
from line 743
687743
688744 - `string`
689745
690 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
746 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
691747
692748 - `"message-batches-2024-09-24"`
693749
from line 812
756812 - `"agent-memory-2026-07-22"`
757813
758814 - `"mid-conversation-tool-changes-2026-07-01"`
815
816 - `"compact-2026-01-12"`
817
818 - `"computer-use-2025-11-24"`
819
820 - `"mcp-tunnels-2026-06-22"`
821
822 - `"structured-outputs-2025-11-13"`
823
824 - `"task-budgets-2026-03-13"`
825
826 - `"thinking-display-updates-2026-08-18"`
827
828 - `"ce-user-management-2026-07-13"`
759829
760830### Returns
761831
api/beta/files/delete Changed · +15 / -1 lines
from line 18
1818
1919 - `string`
2020
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2222
2323 - `"message-batches-2024-09-24"`
2424
from line 87
8787 - `"agent-memory-2026-07-22"`
8888
8989 - `"mid-conversation-tool-changes-2026-07-01"`
90
91 - `"compact-2026-01-12"`
92
93 - `"computer-use-2025-11-24"`
94
95 - `"mcp-tunnels-2026-06-22"`
96
97 - `"structured-outputs-2025-11-13"`
98
99 - `"task-budgets-2026-03-13"`
100
101 - `"thinking-display-updates-2026-08-18"`
102
103 - `"ce-user-management-2026-07-13"`
90104
91105## Returns
92106
api/beta/files/download Changed · +15 / -1 lines
from line 18
1818
1919 - `string`
2020
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2222
2323 - `"message-batches-2024-09-24"`
2424
from line 87
8787 - `"agent-memory-2026-07-22"`
8888
8989 - `"mid-conversation-tool-changes-2026-07-01"`
90
91 - `"compact-2026-01-12"`
92
93 - `"computer-use-2025-11-24"`
94
95 - `"mcp-tunnels-2026-06-22"`
96
97 - `"structured-outputs-2025-11-13"`
98
99 - `"task-budgets-2026-03-13"`
100
101 - `"thinking-display-updates-2026-08-18"`
102
103 - `"ce-user-management-2026-07-13"`
90104
91105## Example
92106
api/beta/files/list Changed · +15 / -1 lines
from line 34
3434
3535 - `string`
3636
37 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
37 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3838
3939 - `"message-batches-2024-09-24"`
4040
from line 103
103103 - `"agent-memory-2026-07-22"`
104104
105105 - `"mid-conversation-tool-changes-2026-07-01"`
106
107 - `"compact-2026-01-12"`
108
109 - `"computer-use-2025-11-24"`
110
111 - `"mcp-tunnels-2026-06-22"`
112
113 - `"structured-outputs-2025-11-13"`
114
115 - `"task-budgets-2026-03-13"`
116
117 - `"thinking-display-updates-2026-08-18"`
118
119 - `"ce-user-management-2026-07-13"`
106120
107121## Returns
108122
api/beta/files/retrieve_metadata Changed · +15 / -1 lines
from line 18
1818
1919 - `string`
2020
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2222
2323 - `"message-batches-2024-09-24"`
2424
from line 87
8787 - `"agent-memory-2026-07-22"`
8888
8989 - `"mid-conversation-tool-changes-2026-07-01"`
90
91 - `"compact-2026-01-12"`
92
93 - `"computer-use-2025-11-24"`
94
95 - `"mcp-tunnels-2026-06-22"`
96
97 - `"structured-outputs-2025-11-13"`
98
99 - `"task-budgets-2026-03-13"`
100
101 - `"thinking-display-updates-2026-08-18"`
102
103 - `"ce-user-management-2026-07-13"`
90104
91105## Returns
92106
api/beta/files/upload Changed · +15 / -1 lines
from line 12
1212
1313 - `string`
1414
15 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
15 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
1616
1717 - `"message-batches-2024-09-24"`
1818
from line 81
8181 - `"agent-memory-2026-07-22"`
8282
8383 - `"mid-conversation-tool-changes-2026-07-01"`
84
85 - `"compact-2026-01-12"`
86
87 - `"computer-use-2025-11-24"`
88
89 - `"mcp-tunnels-2026-06-22"`
90
91 - `"structured-outputs-2025-11-13"`
92
93 - `"task-budgets-2026-03-13"`
94
95 - `"thinking-display-updates-2026-08-18"`
96
97 - `"ce-user-management-2026-07-13"`
8498
8599## Body parameters (form-data)
86100
api/beta/memory_stores Changed · +220 / -24 lines
from line 14
1414
1515 - `string`
1616
17 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
17 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
1818
1919 - `"message-batches-2024-09-24"`
2020
from line 84
8484
8585 - `"mid-conversation-tool-changes-2026-07-01"`
8686
87 - `"compact-2026-01-12"`
88
89 - `"computer-use-2025-11-24"`
90
91 - `"mcp-tunnels-2026-06-22"`
92
93 - `"structured-outputs-2025-11-13"`
94
95 - `"task-budgets-2026-03-13"`
96
97 - `"thinking-display-updates-2026-08-18"`
98
99 - `"ce-user-management-2026-07-13"`
100
87101### Body parameters
88102
89103- `name: string`
from line 230
216230
217231 - `string`
218232
219 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
233 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
220234
221235 - `"message-batches-2024-09-24"`
222236
from line 300
286300
287301 - `"mid-conversation-tool-changes-2026-07-01"`
288302
303 - `"compact-2026-01-12"`
304
305 - `"computer-use-2025-11-24"`
306
307 - `"mcp-tunnels-2026-06-22"`
308
309 - `"structured-outputs-2025-11-13"`
310
311 - `"task-budgets-2026-03-13"`
312
313 - `"thinking-display-updates-2026-08-18"`
314
315 - `"ce-user-management-2026-07-13"`
316
289317### Returns
290318
291319- `data: optional array of BetaManagedAgentsMemoryStore`
from line 409
381409
382410 - `string`
383411
384 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
412 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
385413
386414 - `"message-batches-2024-09-24"`
387415
from line 479
451479
452480 - `"mid-conversation-tool-changes-2026-07-01"`
453481
482 - `"compact-2026-01-12"`
483
484 - `"computer-use-2025-11-24"`
485
486 - `"mcp-tunnels-2026-06-22"`
487
488 - `"structured-outputs-2025-11-13"`
489
490 - `"task-budgets-2026-03-13"`
491
492 - `"thinking-display-updates-2026-08-18"`
493
494 - `"ce-user-management-2026-07-13"`
495
454496### Returns
455497
456498- `BetaManagedAgentsMemoryStore object`
from line 579
537579
538580 - `string`
539581
540 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
582 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
541583
542584 - `"message-batches-2024-09-24"`
543585
from line 649
607649
608650 - `"mid-conversation-tool-changes-2026-07-01"`
609651
652 - `"compact-2026-01-12"`
653
654 - `"computer-use-2025-11-24"`
655
656 - `"mcp-tunnels-2026-06-22"`
657
658 - `"structured-outputs-2025-11-13"`
659
660 - `"task-budgets-2026-03-13"`
661
662 - `"thinking-display-updates-2026-08-18"`
663
664 - `"ce-user-management-2026-07-13"`
665
610666### Body parameters
611667
612668- `description: optional string or null`
from line 769
713769
714770 - `string`
715771
716 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
772 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
717773
718774 - `"message-batches-2024-09-24"`
719775
from line 839
783839
784840 - `"mid-conversation-tool-changes-2026-07-01"`
785841
842 - `"compact-2026-01-12"`
843
844 - `"computer-use-2025-11-24"`
845
846 - `"mcp-tunnels-2026-06-22"`
847
848 - `"structured-outputs-2025-11-13"`
849
850 - `"task-budgets-2026-03-13"`
851
852 - `"thinking-display-updates-2026-08-18"`
853
854 - `"ce-user-management-2026-07-13"`
855
786856### Returns
787857
788858- `BetaManagedAgentsDeletedMemoryStore object`
from line 902
832902
833903 - `string`
834904
835 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
905 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
836906
837907 - `"message-batches-2024-09-24"`
838908
from line 972
902972
903973 - `"mid-conversation-tool-changes-2026-07-01"`
904974
975 - `"compact-2026-01-12"`
976
977 - `"computer-use-2025-11-24"`
978
979 - `"mcp-tunnels-2026-06-22"`
980
981 - `"structured-outputs-2025-11-13"`
982
983 - `"task-budgets-2026-03-13"`
984
985 - `"thinking-display-updates-2026-08-18"`
986
987 - `"ce-user-management-2026-07-13"`
988
905989### Returns
906990
907991- `BetaManagedAgentsMemoryStore object`
from line 1141
10571141
10581142 - `string`
10591143
1060 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
1144 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
10611145
10621146 - `"message-batches-2024-09-24"`
10631147
from line 1211
11271211
11281212 - `"mid-conversation-tool-changes-2026-07-01"`
11291213
1214 - `"compact-2026-01-12"`
1215
1216 - `"computer-use-2025-11-24"`
1217
1218 - `"mcp-tunnels-2026-06-22"`
1219
1220 - `"structured-outputs-2025-11-13"`
1221
1222 - `"task-budgets-2026-03-13"`
1223
1224 - `"thinking-display-updates-2026-08-18"`
1225
1226 - `"ce-user-management-2026-07-13"`
1227
11301228#### Body parameters
11311229
11321230- `content: string or null`
from line 1269
11711269
11721270 - `memory_version_id: string`
11731271
1174 ID of the `memory_version` representing this memory's current content (a `memver_...` value). This is the authoritative head pointer; `memory_version` objects do not carry an `is_latest` flag, so compare against this field instead. Enumerate the full history via [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list).
1272 ID of the `memory_version` representing this memory's current content (a `memver_...` value). This is the authoritative head pointer; `memory_version` objects do not carry an `is_latest` flag, so compare against this field instead. Enumerate the history via [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list).
11751273
11761274 - `path: string`
11771275
from line 1366
12681366
12691367 - `string`
12701368
1271 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
1369 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
12721370
12731371 - `"message-batches-2024-09-24"`
12741372
from line 1436
13381436
13391437 - `"mid-conversation-tool-changes-2026-07-01"`
13401438
1439 - `"compact-2026-01-12"`
1440
1441 - `"computer-use-2025-11-24"`
1442
1443 - `"mcp-tunnels-2026-06-22"`
1444
1445 - `"structured-outputs-2025-11-13"`
1446
1447 - `"task-budgets-2026-03-13"`
1448
1449 - `"thinking-display-updates-2026-08-18"`
1450
1451 - `"ce-user-management-2026-07-13"`
1452
13411453#### Returns
13421454
13431455- `data: optional array of BetaManagedAgentsMemoryListItem`
from line 1486
13741486
13751487 - `memory_version_id: string`
13761488
1377 ID of the `memory_version` representing this memory's current content (a `memver_...` value). This is the authoritative head pointer; `memory_version` objects do not carry an `is_latest` flag, so compare against this field instead. Enumerate the full history via [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list).
1489 ID of the `memory_version` representing this memory's current content (a `memver_...` value). This is the authoritative head pointer; `memory_version` objects do not carry an `is_latest` flag, so compare against this field instead. Enumerate the history via [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list).
13781490
13791491 - `path: string`
13801492
from line 1579
14671579
14681580 - `string`
14691581
1470 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
1582 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
14711583
14721584 - `"message-batches-2024-09-24"`
14731585
from line 1649
15371649
15381650 - `"mid-conversation-tool-changes-2026-07-01"`
15391651
1652 - `"compact-2026-01-12"`
1653
1654 - `"computer-use-2025-11-24"`
1655
1656 - `"mcp-tunnels-2026-06-22"`
1657
1658 - `"structured-outputs-2025-11-13"`
1659
1660 - `"task-budgets-2026-03-13"`
1661
1662 - `"thinking-display-updates-2026-08-18"`
1663
1664 - `"ce-user-management-2026-07-13"`
1665
15401666#### Returns
15411667
15421668- `BetaManagedAgentsMemory object`
from line 1695
15691695
15701696 - `memory_version_id: string`
15711697
1572 ID of the `memory_version` representing this memory's current content (a `memver_...` value). This is the authoritative head pointer; `memory_version` objects do not carry an `is_latest` flag, so compare against this field instead. Enumerate the full history via [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list).
1698 ID of the `memory_version` representing this memory's current content (a `memver_...` value). This is the authoritative head pointer; `memory_version` objects do not carry an `is_latest` flag, so compare against this field instead. Enumerate the history via [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list).
15731699
15741700 - `path: string`
15751701
from line 1769
16431769
16441770 - `string`
16451771
1646 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
1772 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
16471773
16481774 - `"message-batches-2024-09-24"`
16491775
from line 1839
17131839
17141840 - `"mid-conversation-tool-changes-2026-07-01"`
17151841
1842 - `"compact-2026-01-12"`
1843
1844 - `"computer-use-2025-11-24"`
1845
1846 - `"mcp-tunnels-2026-06-22"`
1847
1848 - `"structured-outputs-2025-11-13"`
1849
1850 - `"task-budgets-2026-03-13"`
1851
1852 - `"thinking-display-updates-2026-08-18"`
1853
1854 - `"ce-user-management-2026-07-13"`
1855
17161856#### Body parameters
17171857
17181858- `content: optional string or null`
from line 1907
17671907
17681908 - `memory_version_id: string`
17691909
1770 ID of the `memory_version` representing this memory's current content (a `memver_...` value). This is the authoritative head pointer; `memory_version` objects do not carry an `is_latest` flag, so compare against this field instead. Enumerate the full history via [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list).
1910 ID of the `memory_version` representing this memory's current content (a `memver_...` value). This is the authoritative head pointer; `memory_version` objects do not carry an `is_latest` flag, so compare against this field instead. Enumerate the history via [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list).
17711911
17721912 - `path: string`
17731913
from line 1979
18391979
18401980 - `string`
18411981
1842 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
1982 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
18431983
18441984 - `"message-batches-2024-09-24"`
18451985
from line 2049
19092049
19102050 - `"mid-conversation-tool-changes-2026-07-01"`
19112051
2052 - `"compact-2026-01-12"`
2053
2054 - `"computer-use-2025-11-24"`
2055
2056 - `"mcp-tunnels-2026-06-22"`
2057
2058 - `"structured-outputs-2025-11-13"`
2059
2060 - `"task-budgets-2026-03-13"`
2061
2062 - `"thinking-display-updates-2026-08-18"`
2063
2064 - `"ce-user-management-2026-07-13"`
2065
19122066#### Returns
19132067
19142068- `BetaManagedAgentsDeletedMemory object`
19152069
1916 Tombstone returned by [Delete a memory](/docs/en/api/beta/memory_stores/memories/delete). The memory's version history persists and remains listable via [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list) until the store itself is deleted.
2070 Tombstone returned by [Delete a memory](/docs/en/api/beta/memory_stores/memories/delete). Deleting a memory does not erase its version history: its versions remain listable via [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list) while they are retained (each version is kept for at least the version retention period after it was written, unless the store itself is deleted).
19172071
19182072 - `id: string`
19192073
from line 2172
20182172
20192173 - `string`
20202174
2021 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
2175 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
20222176
20232177 - `"message-batches-2024-09-24"`
20242178
from line 2242
20882242
20892243 - `"mid-conversation-tool-changes-2026-07-01"`
20902244
2245 - `"compact-2026-01-12"`
2246
2247 - `"computer-use-2025-11-24"`
2248
2249 - `"mcp-tunnels-2026-06-22"`
2250
2251 - `"structured-outputs-2025-11-13"`
2252
2253 - `"task-budgets-2026-03-13"`
2254
2255 - `"thinking-display-updates-2026-08-18"`
2256
2257 - `"ce-user-management-2026-07-13"`
2258
20912259#### Returns
20922260
20932261- `data: optional array of BetaManagedAgentsMemoryVersion`
from line 2274
21062274
21072275 - `memory_id: string`
21082276
2109 ID of the memory this version snapshots (a `mem_...` value). Remains valid after the memory is deleted; pass it as `memory_id` to [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list) to retrieve the full lineage including the `deleted` row.
2277 ID of the memory this version snapshots (a `mem_...` value). Remains valid after the memory is deleted; pass it as `memory_id` to [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list) to retrieve the memory's retained versions, including the `deleted` row while the lineage is retained.
21102278
21112279 - `memory_store_id: string`
21122280
from line 2446
22782446
22792447 - `string`
22802448
2281 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
2449 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
22822450
22832451 - `"message-batches-2024-09-24"`
22842452
from line 2516
23482516
23492517 - `"mid-conversation-tool-changes-2026-07-01"`
23502518
2519 - `"compact-2026-01-12"`
2520
2521 - `"computer-use-2025-11-24"`
2522
2523 - `"mcp-tunnels-2026-06-22"`
2524
2525 - `"structured-outputs-2025-11-13"`
2526
2527 - `"task-budgets-2026-03-13"`
2528
2529 - `"thinking-display-updates-2026-08-18"`
2530
2531 - `"ce-user-management-2026-07-13"`
2532
23512533#### Returns
23522534
23532535- `BetaManagedAgentsMemoryVersion object`
23542536
2355 A `memory_version` object: one immutable, attributed row in a memory's append-only history. Every non-no-op mutation to a memory produces a new version. Versions belong to the store (not the individual memory) and persist after the memory is deleted. Retrieving a redacted version returns 200 with `content`, `path`, `content_size_bytes`, and `content_sha256` set to `null`; branch on `redacted_at`, not HTTP status.
2537 A `memory_version` object: one immutable, attributed row in a memory's append-only history. Every non-no-op mutation to a memory produces a new version. Versions belong to the store (not the individual memory) and are not deleted with the memory; each version is retained for at least the version retention period after it was written, unless the store itself is deleted. Retrieving a redacted version returns 200 with `content`, `path`, `content_size_bytes`, and `content_sha256` set to `null`; branch on `redacted_at`, not HTTP status.
23562538
23572539 - `id: string`
23582540
from line 2548
23662548
23672549 - `memory_id: string`
23682550
2369 ID of the memory this version snapshots (a `mem_...` value). Remains valid after the memory is deleted; pass it as `memory_id` to [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list) to retrieve the full lineage including the `deleted` row.
2551 ID of the memory this version snapshots (a `mem_...` value). Remains valid after the memory is deleted; pass it as `memory_id` to [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list) to retrieve the memory's retained versions, including the `deleted` row while the lineage is retained.
23702552
23712553 - `memory_store_id: string`
23722554
from line 2701
25192701
25202702 - `string`
25212703
2522 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
2704 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
25232705
25242706 - `"message-batches-2024-09-24"`
25252707
from line 2771
25892771
25902772 - `"mid-conversation-tool-changes-2026-07-01"`
25912773
2774 - `"compact-2026-01-12"`
2775
2776 - `"computer-use-2025-11-24"`
2777
2778 - `"mcp-tunnels-2026-06-22"`
2779
2780 - `"structured-outputs-2025-11-13"`
2781
2782 - `"task-budgets-2026-03-13"`
2783
2784 - `"thinking-display-updates-2026-08-18"`
2785
2786 - `"ce-user-management-2026-07-13"`
2787
25922788#### Returns
25932789
25942790- `BetaManagedAgentsMemoryVersion object`
25952791
2596 A `memory_version` object: one immutable, attributed row in a memory's append-only history. Every non-no-op mutation to a memory produces a new version. Versions belong to the store (not the individual memory) and persist after the memory is deleted. Retrieving a redacted version returns 200 with `content`, `path`, `content_size_bytes`, and `content_sha256` set to `null`; branch on `redacted_at`, not HTTP status.
2792 A `memory_version` object: one immutable, attributed row in a memory's append-only history. Every non-no-op mutation to a memory produces a new version. Versions belong to the store (not the individual memory) and are not deleted with the memory; each version is retained for at least the version retention period after it was written, unless the store itself is deleted. Retrieving a redacted version returns 200 with `content`, `path`, `content_size_bytes`, and `content_sha256` set to `null`; branch on `redacted_at`, not HTTP status.
25972793
25982794 - `id: string`
25992795
from line 2803
26072803
26082804 - `memory_id: string`
26092805
2610 ID of the memory this version snapshots (a `mem_...` value). Remains valid after the memory is deleted; pass it as `memory_id` to [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list) to retrieve the full lineage including the `deleted` row.
2806 ID of the memory this version snapshots (a `mem_...` value). Remains valid after the memory is deleted; pass it as `memory_id` to [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list) to retrieve the memory's retained versions, including the `deleted` row while the lineage is retained.
26112807
26122808 - `memory_store_id: string`
26132809