Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · api

One read of Claude Developer Platformapi-20261015T220709Z

52 pages moved out of 782 read.

Pages moved 52 significant first
Pages read 782 in this capture
Captured 22:07 UTC
Corpus hash c821badd5ee8 corpus-hash

What this read moved

1-25 of 52, page 1 of 3

This capture is too large to show at once. Changes 1-25 of 52 are below, significant first; the rest are on the following screens.

agents-and-tools/mcp-connector Changed · +4 / -4 lines

from line 1234
12341234 <Tabs>
12351235 <Tab title="Gradle">
12361236 ```kotlin
1237 implementation("com.anthropic:anthropic-java:2.72.0")
1238 implementation("com.anthropic:anthropic-java-mcp:2.72.0")
1237 implementation("com.anthropic:anthropic-java:2.73.0")
1238 implementation("com.anthropic:anthropic-java-mcp:2.73.0")
12391239 ```
12401240 </Tab>
12411241 
from line 1244
12441244 <dependency>
12451245 <groupId>com.anthropic</groupId>
12461246 <artifactId>anthropic-java</artifactId>
1247 <version>2.72.0</version>
1247 <version>2.73.0</version>
12481248 </dependency>
12491249 <dependency>
12501250 <groupId>com.anthropic</groupId>
12511251 <artifactId>anthropic-java-mcp</artifactId>
1252 <version>2.72.0</version>
1252 <version>2.73.0</version>
12531253 </dependency>
12541254 ```
12551255 </Tab>

api/beta Changed · +176 / -15 lines

This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.

Nothing in the body moved in this read. What changed is above.

api/beta/organization Changed · +176 / -15 lines

This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.

Nothing in the body moved in this read. What changed is above.

api/beta/organization/spend_limits Changed · +231 / -18 lines

### Beta Spend Limit Usage Tier Scope

from line 231
231231 
232232 - `"weekly"`
233233 
234 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
234 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
235235 
236236 What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.
237237 
from line 293
293293 
294294 Tagged ID of the workspace the spend limit applies to.
295295 
296 - `BetaSpendLimitUsageTierScope object`
297 
298 Scope of the monthly spend cap Anthropic sets for a Claude Console
299 organization from its usage tier, or a higher cap Anthropic granted the
300 organization. Read-only; its `created_at` and `updated_at` are the
301 organization's creation time, so `amount` can change while `updated_at` stays
302 the same.
303 
304 - `type: "usage_tier"`
305 
306 Scope type. Always `usage_tier` for this scope.
307 
308 default: usage_tier
309 
296310 - `updated_at: string`
297311 
298312 RFC 3339 datetime at which the spend limit was last modified.
from line 413
399413 
400414 - `"weekly"`
401415 
402 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
416 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
403417 
404418 What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.
405419 
from line 475
461475 
462476 Tagged ID of the workspace the spend limit applies to.
463477 
478 - `BetaSpendLimitUsageTierScope object`
479 
480 Scope of the monthly spend cap Anthropic sets for a Claude Console
481 organization from its usage tier, or a higher cap Anthropic granted the
482 organization. Read-only; its `created_at` and `updated_at` are the
483 organization's creation time, so `amount` can change while `updated_at` stays
484 the same.
485 
486 - `type: "usage_tier"`
487 
488 Scope type. Always `usage_tier` for this scope.
489 
490 default: usage_tier
491 
464492 - `updated_at: string`
465493 
466494 RFC 3339 datetime at which the spend limit was last modified.
from line 532
504532the member falls back to any inherited spend limit at that period. Its
505533seat-tier, group, and organization-level rows cannot be deleted via this
506534endpoint. A Claude Console organization deletes its organization and
507workspace limits. Deleting them through the API is in an early access preview.
535workspace limits, but not its `usage_tier` limit. Deleting organization and
536workspace limits through the API is in an early access preview.
508537 
509538### Path parameters
510539 
from line 774
745774 
746775 - `"weekly"`
747776 
748 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
777 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
749778 
750779 What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.
751780 
from line 836
807836 
808837 Tagged ID of the workspace the spend limit applies to.
809838 
839 - `BetaSpendLimitUsageTierScope object`
840 
841 Scope of the monthly spend cap Anthropic sets for a Claude Console
842 organization from its usage tier, or a higher cap Anthropic granted the
843 organization. Read-only; its `created_at` and `updated_at` are the
844 organization's creation time, so `amount` can change while `updated_at` stays
845 the same.
846 
847 - `type: "usage_tier"`
848 
849 Scope type. Always `usage_tier` for this scope.
850 
851 default: usage_tier
852 
810853 - `updated_at: string`
811854 
812855 RFC 3339 datetime at which the spend limit was last modified.
from line 937
894937 
895938 - `"weekly"`
896939 
897 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
940 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
898941 
899942 What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.
900943 
from line 999
956999 
9571000 Tagged ID of the workspace the spend limit applies to.
9581001 
1002 - `BetaSpendLimitUsageTierScope object`
1003 
1004 Scope of the monthly spend cap Anthropic sets for a Claude Console
1005 organization from its usage tier, or a higher cap Anthropic granted the
1006 organization. Read-only; its `created_at` and `updated_at` are the
1007 organization's creation time, so `amount` can change while `updated_at` stays
1008 the same.
1009 
1010 - `type: "usage_tier"`
1011 
1012 Scope type. Always `usage_tier` for this scope.
1013 
1014 default: usage_tier
1015 
9591016 - `updated_at: string`
9601017 
9611018 RFC 3339 datetime at which the spend limit was last modified.
from line 1079
10221079 
10231080 - `seat_tier: string`
10241081 
1082### Beta Spend Limit Usage Tier Scope
1083 
1084- `BetaSpendLimitUsageTierScope object`
1085 
1086 Scope of the monthly spend cap Anthropic sets for a Claude Console
1087 organization from its usage tier, or a higher cap Anthropic granted the
1088 organization. Read-only; its `created_at` and `updated_at` are the
1089 organization's creation time, so `amount` can change while `updated_at` stays
1090 the same.
1091 
1092 - `type: "usage_tier"`
1093 
1094 Scope type. Always `usage_tier` for this scope.
1095 
1096 default: usage_tier
1097 
10251098### Beta Spend Limit User Actor
10261099 
10271100- `BetaSpendLimitUserActor object`
from line 1229
11561229 
11571230 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
11581231 
1159 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
1232 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
11601233 
11611234 - `BetaSpendLimitUserScope object`
11621235 
from line 1289
12161289 
12171290 Tagged ID of the workspace the spend limit applies to.
12181291 
1219 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
1292 - `BetaSpendLimitUsageTierScope object`
12201293 
1294 Scope of the monthly spend cap Anthropic sets for a Claude Console
1295 organization from its usage tier, or a higher cap Anthropic granted the
1296 organization. Read-only; its `created_at` and `updated_at` are the
1297 organization's creation time, so `amount` can change while `updated_at` stays
1298 the same.
1299 
1300 - `type: "usage_tier"`
1301 
1302 Scope type. Always `usage_tier` for this scope.
1303 
1304 default: usage_tier
1305 
1306 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
1307 
12211308 - `BetaSpendLimitUserScope object`
12221309 
12231310 Scope selecting a single member of the organization.
from line 1321
12341321 
12351322 Scope selecting one workspace of a Claude Console organization.
12361323 
1324 - `BetaSpendLimitUsageTierScope object`
1325 
1326 Scope of the monthly spend cap Anthropic sets for a Claude Console
1327 organization from its usage tier, or a higher cap Anthropic granted the
1328 organization. Read-only; its `created_at` and `updated_at` are the
1329 organization's creation time, so `amount` can change while `updated_at` stays
1330 the same.
1331 
12371332 - `spend_limit_id: string`
12381333 
12391334### Spend Limit Delete Response
from line 1461
13661461 
13671462 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
13681463 
1369 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
1464 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
13701465 
13711466 - `BetaSpendLimitUserScope object`
13721467 
from line 1521
14261521 
14271522 Tagged ID of the workspace the spend limit applies to.
14281523 
1429 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
1524 - `BetaSpendLimitUsageTierScope object`
14301525 
1526 Scope of the monthly spend cap Anthropic sets for a Claude Console
1527 organization from its usage tier, or a higher cap Anthropic granted the
1528 organization. Read-only; its `created_at` and `updated_at` are the
1529 organization's creation time, so `amount` can change while `updated_at` stays
1530 the same.
1531 
1532 - `type: "usage_tier"`
1533 
1534 Scope type. Always `usage_tier` for this scope.
1535 
1536 default: usage_tier
1537 
1538 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
1539 
14311540 - `BetaSpendLimitUserScope object`
14321541 
14331542 Scope selecting a single member of the organization.
from line 1553
14441553 
14451554 Scope selecting one workspace of a Claude Console organization.
14461555 
1556 - `BetaSpendLimitUsageTierScope object`
1557 
1558 Scope of the monthly spend cap Anthropic sets for a Claude Console
1559 organization from its usage tier, or a higher cap Anthropic granted the
1560 organization. Read-only; its `created_at` and `updated_at` are the
1561 organization's creation time, so `amount` can change while `updated_at` stays
1562 the same.
1563 
14471564 - `spend_limit_id: string`
14481565 
14491566- `next_page: string or null`
from line 1760
16431760 
16441761 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
16451762 
1646 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
1763 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
16471764 
16481765 - `BetaSpendLimitUserScope object`
16491766 
from line 1820
17031820 
17041821 Tagged ID of the workspace the spend limit applies to.
17051822 
1706 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
1823 - `BetaSpendLimitUsageTierScope object`
17071824 
1825 Scope of the monthly spend cap Anthropic sets for a Claude Console
1826 organization from its usage tier, or a higher cap Anthropic granted the
1827 organization. Read-only; its `created_at` and `updated_at` are the
1828 organization's creation time, so `amount` can change while `updated_at` stays
1829 the same.
1830 
1831 - `type: "usage_tier"`
1832 
1833 Scope type. Always `usage_tier` for this scope.
1834 
1835 default: usage_tier
1836 
1837 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
1838 
17081839 - `BetaSpendLimitUserScope object`
17091840 
17101841 Scope selecting a single member of the organization.
from line 1852
17211852 
17221853 Scope selecting one workspace of a Claude Console organization.
17231854 
1855 - `BetaSpendLimitUsageTierScope object`
1856 
1857 Scope of the monthly spend cap Anthropic sets for a Claude Console
1858 organization from its usage tier, or a higher cap Anthropic granted the
1859 organization. Read-only; its `created_at` and `updated_at` are the
1860 organization's creation time, so `amount` can change while `updated_at` stays
1861 the same.
1862 
17241863 - `spend_limit_id: string`
17251864 
17261865 - `status: BetaSpendLimitIncreaseRequestStatus`
from line 2069
19302069 
19312070 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
19322071 
1933 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
2072 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
19342073 
19352074 - `BetaSpendLimitUserScope object`
19362075 
from line 2129
19902129 
19912130 Tagged ID of the workspace the spend limit applies to.
19922131 
1993 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
2132 - `BetaSpendLimitUsageTierScope object`
19942133 
2134 Scope of the monthly spend cap Anthropic sets for a Claude Console
2135 organization from its usage tier, or a higher cap Anthropic granted the
2136 organization. Read-only; its `created_at` and `updated_at` are the
2137 organization's creation time, so `amount` can change while `updated_at` stays
2138 the same.
2139 
2140 - `type: "usage_tier"`
2141 
2142 Scope type. Always `usage_tier` for this scope.
2143 
2144 default: usage_tier
2145 
2146 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
2147 
19952148 - `BetaSpendLimitUserScope object`
19962149 
19972150 Scope selecting a single member of the organization.
from line 2161
20082161 
20092162 Scope selecting one workspace of a Claude Console organization.
20102163 
2164 - `BetaSpendLimitUsageTierScope object`
2165 
2166 Scope of the monthly spend cap Anthropic sets for a Claude Console
2167 organization from its usage tier, or a higher cap Anthropic granted the
2168 organization. Read-only; its `created_at` and `updated_at` are the
2169 organization's creation time, so `amount` can change while `updated_at` stays
2170 the same.
2171 
20112172 - `spend_limit_id: string`
20122173 
20132174 - `status: BetaSpendLimitIncreaseRequestStatus`
from line 2391
22302391 
22312392 Length of the window the limit resets over. `amount` caps spend within each period.
22322393 
2233 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
2394 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
22342395 
22352396 What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.
22362397 
from line 2453
22922453 
22932454 Tagged ID of the workspace the spend limit applies to.
22942455 
2456 - `BetaSpendLimitUsageTierScope object`
2457 
2458 Scope of the monthly spend cap Anthropic sets for a Claude Console
2459 organization from its usage tier, or a higher cap Anthropic granted the
2460 organization. Read-only; its `created_at` and `updated_at` are the
2461 organization's creation time, so `amount` can change while `updated_at` stays
2462 the same.
2463 
2464 - `type: "usage_tier"`
2465 
2466 Scope type. Always `usage_tier` for this scope.
2467 
2468 default: usage_tier
2469 
22952470 - `updated_at: string`
22962471 
22972472 RFC 3339 datetime at which the spend limit was last modified.
from line 2505
23302505 
23312506 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
23322507 
2333 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
2508 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
23342509 
23352510 - `BetaSpendLimitUserScope object`
23362511 
from line 2523
23482523 
23492524 Scope selecting one workspace of a Claude Console organization.
23502525 
2351 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
2526 - `BetaSpendLimitUsageTierScope object`
23522527 
2528 Scope of the monthly spend cap Anthropic sets for a Claude Console
2529 organization from its usage tier, or a higher cap Anthropic granted the
2530 organization. Read-only; its `created_at` and `updated_at` are the
2531 organization's creation time, so `amount` can change while `updated_at` stays
2532 the same.
2533 
2534 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
2535 
23532536 - `BetaSpendLimitUserScope object`
23542537 
23552538 Scope selecting a single member of the organization.
from line 2549
23662549 
23672550 Scope selecting one workspace of a Claude Console organization.
23682551 
2552 - `BetaSpendLimitUsageTierScope object`
2553 
2554 Scope of the monthly spend cap Anthropic sets for a Claude Console
2555 organization from its usage tier, or a higher cap Anthropic granted the
2556 organization. Read-only; its `created_at` and `updated_at` are the
2557 organization's creation time, so `amount` can change while `updated_at` stays
2558 the same.
2559 
23692560 - `spend_limit_id: string`
23702561 
23712562- `status: BetaSpendLimitIncreaseRequestStatus`
from line 2782
25912782 
25922783 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
25932784 
2594 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
2785 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
25952786 
25962787 - `BetaSpendLimitUserScope object`
25972788 
from line 2842
26512842 
26522843 Tagged ID of the workspace the spend limit applies to.
26532844 
2654 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
2845 - `BetaSpendLimitUsageTierScope object`
26552846 
2847 Scope of the monthly spend cap Anthropic sets for a Claude Console
2848 organization from its usage tier, or a higher cap Anthropic granted the
2849 organization. Read-only; its `created_at` and `updated_at` are the
2850 organization's creation time, so `amount` can change while `updated_at` stays
2851 the same.
2852 
2853 - `type: "usage_tier"`
2854 
2855 Scope type. Always `usage_tier` for this scope.
2856 
2857 default: usage_tier
2858 
2859 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
2860 
26562861 - `BetaSpendLimitUserScope object`
26572862 
26582863 Scope selecting a single member of the organization.
from line 2873
26682873 - `BetaSpendLimitWorkspaceScope object`
26692874 
26702875 Scope selecting one workspace of a Claude Console organization.
2876 
2877 - `BetaSpendLimitUsageTierScope object`
2878 
2879 Scope of the monthly spend cap Anthropic sets for a Claude Console
2880 organization from its usage tier, or a higher cap Anthropic granted the
2881 organization. Read-only; its `created_at` and `updated_at` are the
2882 organization's creation time, so `amount` can change while `updated_at` stays
2883 the same.
26712884 
26722885 - `spend_limit_id: string`
26732886 

api/beta/organization/spend_limits/effective Changed · +24 / -2 lines

from line 123
123123 
124124 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
125125 
126 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
126 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
127127 
128128 - `BetaSpendLimitUserScope object`
129129 
from line 183
183183 
184184 Tagged ID of the workspace the spend limit applies to.
185185 
186 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
186 - `BetaSpendLimitUsageTierScope object`
187187 
188 Scope of the monthly spend cap Anthropic sets for a Claude Console
189 organization from its usage tier, or a higher cap Anthropic granted the
190 organization. Read-only; its `created_at` and `updated_at` are the
191 organization's creation time, so `amount` can change while `updated_at` stays
192 the same.
193 
194 - `type: "usage_tier"`
195 
196 Scope type. Always `usage_tier` for this scope.
197 
198 default: usage_tier
199 
200 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
201 
188202 - `BetaSpendLimitUserScope object`
189203 
190204 Scope selecting a single member of the organization.
from line 214
200214 - `BetaSpendLimitWorkspaceScope object`
201215 
202216 Scope selecting one workspace of a Claude Console organization.
217 
218 - `BetaSpendLimitUsageTierScope object`
219 
220 Scope of the monthly spend cap Anthropic sets for a Claude Console
221 organization from its usage tier, or a higher cap Anthropic granted the
222 organization. Read-only; its `created_at` and `updated_at` are the
223 organization's creation time, so `amount` can change while `updated_at` stays
224 the same.
203225 
204226 - `spend_limit_id: string`
205227 

api/beta/organization/spend_limits/effective/list Changed · +24 / -2 lines

from line 121
121121 
122122 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
123123 
124 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
124 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
125125 
126126 - `BetaSpendLimitUserScope object`
127127 
from line 181
181181 
182182 Tagged ID of the workspace the spend limit applies to.
183183 
184 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
184 - `BetaSpendLimitUsageTierScope object`
185185 
186 Scope of the monthly spend cap Anthropic sets for a Claude Console
187 organization from its usage tier, or a higher cap Anthropic granted the
188 organization. Read-only; its `created_at` and `updated_at` are the
189 organization's creation time, so `amount` can change while `updated_at` stays
190 the same.
191 
192 - `type: "usage_tier"`
193 
194 Scope type. Always `usage_tier` for this scope.
195 
196 default: usage_tier
197 
198 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
199 
186200 - `BetaSpendLimitUserScope object`
187201 
188202 Scope selecting a single member of the organization.
from line 212
198212 - `BetaSpendLimitWorkspaceScope object`
199213 
200214 Scope selecting one workspace of a Claude Console organization.
215 
216 - `BetaSpendLimitUsageTierScope object`
217 
218 Scope of the monthly spend cap Anthropic sets for a Claude Console
219 organization from its usage tier, or a higher cap Anthropic granted the
220 organization. Read-only; its `created_at` and `updated_at` are the
221 organization's creation time, so `amount` can change while `updated_at` stays
222 the same.
201223 
202224 - `spend_limit_id: string`
203225 

api/beta/organization/spend_limits/increase_requests Changed · +162 / -14 lines

from line 158
158158 
159159 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
160160 
161 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
161 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
162162 
163163 - `BetaSpendLimitUserScope object`
164164 
from line 218
218218 
219219 Tagged ID of the workspace the spend limit applies to.
220220 
221 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
221 - `BetaSpendLimitUsageTierScope object`
222222 
223 Scope of the monthly spend cap Anthropic sets for a Claude Console
224 organization from its usage tier, or a higher cap Anthropic granted the
225 organization. Read-only; its `created_at` and `updated_at` are the
226 organization's creation time, so `amount` can change while `updated_at` stays
227 the same.
228 
229 - `type: "usage_tier"`
230 
231 Scope type. Always `usage_tier` for this scope.
232 
233 default: usage_tier
234 
235 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
236 
223237 - `BetaSpendLimitUserScope object`
224238 
225239 Scope selecting a single member of the organization.
from line 250
236250 
237251 Scope selecting one workspace of a Claude Console organization.
238252 
253 - `BetaSpendLimitUsageTierScope object`
254 
255 Scope of the monthly spend cap Anthropic sets for a Claude Console
256 organization from its usage tier, or a higher cap Anthropic granted the
257 organization. Read-only; its `created_at` and `updated_at` are the
258 organization's creation time, so `amount` can change while `updated_at` stays
259 the same.
260 
239261 - `spend_limit_id: string`
240262 
241263 - `status: BetaSpendLimitIncreaseRequestStatus`
from line 467
445467 
446468 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
447469 
448 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
470 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
449471 
450472 - `BetaSpendLimitUserScope object`
451473 
from line 527
505527 
506528 Tagged ID of the workspace the spend limit applies to.
507529 
508 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
530 - `BetaSpendLimitUsageTierScope object`
509531 
532 Scope of the monthly spend cap Anthropic sets for a Claude Console
533 organization from its usage tier, or a higher cap Anthropic granted the
534 organization. Read-only; its `created_at` and `updated_at` are the
535 organization's creation time, so `amount` can change while `updated_at` stays
536 the same.
537 
538 - `type: "usage_tier"`
539 
540 Scope type. Always `usage_tier` for this scope.
541 
542 default: usage_tier
543 
544 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
545 
510546 - `BetaSpendLimitUserScope object`
511547 
512548 Scope selecting a single member of the organization.
from line 559
523559 
524560 Scope selecting one workspace of a Claude Console organization.
525561 
562 - `BetaSpendLimitUsageTierScope object`
563 
564 Scope of the monthly spend cap Anthropic sets for a Claude Console
565 organization from its usage tier, or a higher cap Anthropic granted the
566 organization. Read-only; its `created_at` and `updated_at` are the
567 organization's creation time, so `amount` can change while `updated_at` stays
568 the same.
569 
526570 - `spend_limit_id: string`
527571 
528572 - `status: BetaSpendLimitIncreaseRequestStatus`
from line 789
745789 
746790 Length of the window the limit resets over. `amount` caps spend within each period.
747791 
748 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
792 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
749793 
750794 What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.
751795 
from line 851
807851 
808852 Tagged ID of the workspace the spend limit applies to.
809853 
854 - `BetaSpendLimitUsageTierScope object`
855 
856 Scope of the monthly spend cap Anthropic sets for a Claude Console
857 organization from its usage tier, or a higher cap Anthropic granted the
858 organization. Read-only; its `created_at` and `updated_at` are the
859 organization's creation time, so `amount` can change while `updated_at` stays
860 the same.
861 
862 - `type: "usage_tier"`
863 
864 Scope type. Always `usage_tier` for this scope.
865 
866 default: usage_tier
867 
810868 - `updated_at: string`
811869 
812870 RFC 3339 datetime at which the spend limit was last modified.
from line 903
845903 
846904 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
847905 
848 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
906 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
849907 
850908 - `BetaSpendLimitUserScope object`
851909 
from line 921
863921 
864922 Scope selecting one workspace of a Claude Console organization.
865923 
866 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
924 - `BetaSpendLimitUsageTierScope object`
867925 
926 Scope of the monthly spend cap Anthropic sets for a Claude Console
927 organization from its usage tier, or a higher cap Anthropic granted the
928 organization. Read-only; its `created_at` and `updated_at` are the
929 organization's creation time, so `amount` can change while `updated_at` stays
930 the same.
931 
932 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
933 
868934 - `BetaSpendLimitUserScope object`
869935 
870936 Scope selecting a single member of the organization.
from line 947
881947 
882948 Scope selecting one workspace of a Claude Console organization.
883949 
950 - `BetaSpendLimitUsageTierScope object`
951 
952 Scope of the monthly spend cap Anthropic sets for a Claude Console
953 organization from its usage tier, or a higher cap Anthropic granted the
954 organization. Read-only; its `created_at` and `updated_at` are the
955 organization's creation time, so `amount` can change while `updated_at` stays
956 the same.
957 
884958 - `spend_limit_id: string`
885959 
886960- `status: BetaSpendLimitIncreaseRequestStatus`
from line 1180
11061180 
11071181 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
11081182 
1109 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
1183 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
11101184 
11111185 - `BetaSpendLimitUserScope object`
11121186 
from line 1240
11661240 
11671241 Tagged ID of the workspace the spend limit applies to.
11681242 
1169 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
1243 - `BetaSpendLimitUsageTierScope object`
11701244 
1245 Scope of the monthly spend cap Anthropic sets for a Claude Console
1246 organization from its usage tier, or a higher cap Anthropic granted the
1247 organization. Read-only; its `created_at` and `updated_at` are the
1248 organization's creation time, so `amount` can change while `updated_at` stays
1249 the same.
1250 
1251 - `type: "usage_tier"`
1252 
1253 Scope type. Always `usage_tier` for this scope.
1254 
1255 default: usage_tier
1256 
1257 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
1258 
11711259 - `BetaSpendLimitUserScope object`
11721260 
11731261 Scope selecting a single member of the organization.
from line 1272
11841272 
11851273 Scope selecting one workspace of a Claude Console organization.
11861274 
1275 - `BetaSpendLimitUsageTierScope object`
1276 
1277 Scope of the monthly spend cap Anthropic sets for a Claude Console
1278 organization from its usage tier, or a higher cap Anthropic granted the
1279 organization. Read-only; its `created_at` and `updated_at` are the
1280 organization's creation time, so `amount` can change while `updated_at` stays
1281 the same.
1282 
11871283 - `spend_limit_id: string`
11881284 
11891285 - `status: BetaSpendLimitIncreaseRequestStatus`
from line 1463
13671463 
13681464 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
13691465 
1370 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
1466 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
13711467 
13721468 - `BetaSpendLimitUserScope object`
13731469 
from line 1523
14271523 
14281524 Tagged ID of the workspace the spend limit applies to.
14291525 
1430 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
1526 - `BetaSpendLimitUsageTierScope object`
14311527 
1528 Scope of the monthly spend cap Anthropic sets for a Claude Console
1529 organization from its usage tier, or a higher cap Anthropic granted the
1530 organization. Read-only; its `created_at` and `updated_at` are the
1531 organization's creation time, so `amount` can change while `updated_at` stays
1532 the same.
1533 
1534 - `type: "usage_tier"`
1535 
1536 Scope type. Always `usage_tier` for this scope.
1537 
1538 default: usage_tier
1539 
1540 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
1541 
14321542 - `BetaSpendLimitUserScope object`
14331543 
14341544 Scope selecting a single member of the organization.
from line 1555
14451555 
14461556 Scope selecting one workspace of a Claude Console organization.
14471557 
1558 - `BetaSpendLimitUsageTierScope object`
1559 
1560 Scope of the monthly spend cap Anthropic sets for a Claude Console
1561 organization from its usage tier, or a higher cap Anthropic granted the
1562 organization. Read-only; its `created_at` and `updated_at` are the
1563 organization's creation time, so `amount` can change while `updated_at` stays
1564 the same.
1565 
14481566 - `spend_limit_id: string`
14491567 
14501568 - `status: BetaSpendLimitIncreaseRequestStatus`
from line 1699
15811699 
15821700 Length of the window the limit resets over. `amount` caps spend within each period.
15831701 
1584 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
1702 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
15851703 
15861704 What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.
15871705 
from line 1761
16431761 
16441762 Tagged ID of the workspace the spend limit applies to.
16451763 
1764 - `BetaSpendLimitUsageTierScope object`
1765 
1766 Scope of the monthly spend cap Anthropic sets for a Claude Console
1767 organization from its usage tier, or a higher cap Anthropic granted the
1768 organization. Read-only; its `created_at` and `updated_at` are the
1769 organization's creation time, so `amount` can change while `updated_at` stays
1770 the same.
1771 
1772 - `type: "usage_tier"`
1773 
1774 Scope type. Always `usage_tier` for this scope.
1775 
1776 default: usage_tier
1777 
16461778 - `updated_at: string`
16471779 
16481780 RFC 3339 datetime at which the spend limit was last modified.
from line 1813
16811813 
16821814 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
16831815 
1684 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
1816 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
16851817 
16861818 - `BetaSpendLimitUserScope object`
16871819 
from line 1831
16991831 
17001832 Scope selecting one workspace of a Claude Console organization.
17011833 
1702 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
1834 - `BetaSpendLimitUsageTierScope object`
17031835 
1836 Scope of the monthly spend cap Anthropic sets for a Claude Console
1837 organization from its usage tier, or a higher cap Anthropic granted the
1838 organization. Read-only; its `created_at` and `updated_at` are the
1839 organization's creation time, so `amount` can change while `updated_at` stays
1840 the same.
1841 
1842 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
1843 
17041844 - `BetaSpendLimitUserScope object`
17051845 
17061846 Scope selecting a single member of the organization.
from line 1856
17161856 - `BetaSpendLimitWorkspaceScope object`
17171857 
17181858 Scope selecting one workspace of a Claude Console organization.
1859 
1860 - `BetaSpendLimitUsageTierScope object`
1861 
1862 Scope of the monthly spend cap Anthropic sets for a Claude Console
1863 organization from its usage tier, or a higher cap Anthropic granted the
1864 organization. Read-only; its `created_at` and `updated_at` are the
1865 organization's creation time, so `amount` can change while `updated_at` stays
1866 the same.
17191867 
17201868 - `spend_limit_id: string`
17211869 

api/beta/organization/spend_limits/increase_requests/approve Changed · +33 / -3 lines

from line 158
158158 
159159 Length of the window the limit resets over. `amount` caps spend within each period.
160160 
161 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
161 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
162162 
163163 What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.
164164 
from line 220
220220 
221221 Tagged ID of the workspace the spend limit applies to.
222222 
223 - `BetaSpendLimitUsageTierScope object`
224 
225 Scope of the monthly spend cap Anthropic sets for a Claude Console
226 organization from its usage tier, or a higher cap Anthropic granted the
227 organization. Read-only; its `created_at` and `updated_at` are the
228 organization's creation time, so `amount` can change while `updated_at` stays
229 the same.
230 
231 - `type: "usage_tier"`
232 
233 Scope type. Always `usage_tier` for this scope.
234 
235 default: usage_tier
236 
223237 - `updated_at: string`
224238 
225239 RFC 3339 datetime at which the spend limit was last modified.
from line 272
258272 
259273 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
260274 
261 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
275 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
262276 
263277 - `BetaSpendLimitUserScope object`
264278 
from line 290
276290 
277291 Scope selecting one workspace of a Claude Console organization.
278292 
279 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
293 - `BetaSpendLimitUsageTierScope object`
280294 
295 Scope of the monthly spend cap Anthropic sets for a Claude Console
296 organization from its usage tier, or a higher cap Anthropic granted the
297 organization. Read-only; its `created_at` and `updated_at` are the
298 organization's creation time, so `amount` can change while `updated_at` stays
299 the same.
300 
301 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
302 
281303 - `BetaSpendLimitUserScope object`
282304 
283305 Scope selecting a single member of the organization.
from line 315
293315 - `BetaSpendLimitWorkspaceScope object`
294316 
295317 Scope selecting one workspace of a Claude Console organization.
318 
319 - `BetaSpendLimitUsageTierScope object`
320 
321 Scope of the monthly spend cap Anthropic sets for a Claude Console
322 organization from its usage tier, or a higher cap Anthropic granted the
323 organization. Read-only; its `created_at` and `updated_at` are the
324 organization's creation time, so `amount` can change while `updated_at` stays
325 the same.
296326 
297327 - `spend_limit_id: string`
298328 

api/beta/organization/spend_limits/increase_requests/deny Changed · +24 / -2 lines

from line 142
142142 
143143 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
144144 
145 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
145 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
146146 
147147 - `BetaSpendLimitUserScope object`
148148 
from line 202
202202 
203203 Tagged ID of the workspace the spend limit applies to.
204204 
205 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
205 - `BetaSpendLimitUsageTierScope object`
206206 
207 Scope of the monthly spend cap Anthropic sets for a Claude Console
208 organization from its usage tier, or a higher cap Anthropic granted the
209 organization. Read-only; its `created_at` and `updated_at` are the
210 organization's creation time, so `amount` can change while `updated_at` stays
211 the same.
212 
213 - `type: "usage_tier"`
214 
215 Scope type. Always `usage_tier` for this scope.
216 
217 default: usage_tier
218 
219 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
220 
207221 - `BetaSpendLimitUserScope object`
208222 
209223 Scope selecting a single member of the organization.
from line 233
219233 - `BetaSpendLimitWorkspaceScope object`
220234 
221235 Scope selecting one workspace of a Claude Console organization.
236 
237 - `BetaSpendLimitUsageTierScope object`
238 
239 Scope of the monthly spend cap Anthropic sets for a Claude Console
240 organization from its usage tier, or a higher cap Anthropic granted the
241 organization. Read-only; its `created_at` and `updated_at` are the
242 organization's creation time, so `amount` can change while `updated_at` stays
243 the same.
222244 
223245 - `spend_limit_id: string`
224246 

api/beta/organization/spend_limits/increase_requests/list Changed · +24 / -2 lines

from line 156
156156 
157157 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
158158 
159 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
159 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
160160 
161161 - `BetaSpendLimitUserScope object`
162162 
from line 216
216216 
217217 Tagged ID of the workspace the spend limit applies to.
218218 
219 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
219 - `BetaSpendLimitUsageTierScope object`
220220 
221 Scope of the monthly spend cap Anthropic sets for a Claude Console
222 organization from its usage tier, or a higher cap Anthropic granted the
223 organization. Read-only; its `created_at` and `updated_at` are the
224 organization's creation time, so `amount` can change while `updated_at` stays
225 the same.
226 
227 - `type: "usage_tier"`
228 
229 Scope type. Always `usage_tier` for this scope.
230 
231 default: usage_tier
232 
233 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
234 
221235 - `BetaSpendLimitUserScope object`
222236 
223237 Scope selecting a single member of the organization.
from line 247
233247 - `BetaSpendLimitWorkspaceScope object`
234248 
235249 Scope selecting one workspace of a Claude Console organization.
250 
251 - `BetaSpendLimitUsageTierScope object`
252 
253 Scope of the monthly spend cap Anthropic sets for a Claude Console
254 organization from its usage tier, or a higher cap Anthropic granted the
255 organization. Read-only; its `created_at` and `updated_at` are the
256 organization's creation time, so `amount` can change while `updated_at` stays
257 the same.
236258 
237259 - `spend_limit_id: string`
238260 

api/beta/organization/spend_limits/increase_requests/retrieve Changed · +24 / -2 lines

from line 138
138138 
139139 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
140140 
141 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
141 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
142142 
143143 - `BetaSpendLimitUserScope object`
144144 
from line 198
198198 
199199 Tagged ID of the workspace the spend limit applies to.
200200 
201 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
201 - `BetaSpendLimitUsageTierScope object`
202202 
203 Scope of the monthly spend cap Anthropic sets for a Claude Console
204 organization from its usage tier, or a higher cap Anthropic granted the
205 organization. Read-only; its `created_at` and `updated_at` are the
206 organization's creation time, so `amount` can change while `updated_at` stays
207 the same.
208 
209 - `type: "usage_tier"`
210 
211 Scope type. Always `usage_tier` for this scope.
212 
213 default: usage_tier
214 
215 - `source: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
216 
203217 - `BetaSpendLimitUserScope object`
204218 
205219 Scope selecting a single member of the organization.
from line 229
215229 - `BetaSpendLimitWorkspaceScope object`
216230 
217231 Scope selecting one workspace of a Claude Console organization.
232 
233 - `BetaSpendLimitUsageTierScope object`
234 
235 Scope of the monthly spend cap Anthropic sets for a Claude Console
236 organization from its usage tier, or a higher cap Anthropic granted the
237 organization. Read-only; its `created_at` and `updated_at` are the
238 organization's creation time, so `amount` can change while `updated_at` stays
239 the same.
218240 
219241 - `spend_limit_id: string`
220242 

api/beta/organization/spend_limits/list Changed · +15 / -1 lines

from line 202
202202 
203203 - `"weekly"`
204204 
205 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
205 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
206206 
207207 What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.
208208 
from line 263
263263 - `workspace_id: string`
264264 
265265 Tagged ID of the workspace the spend limit applies to.
266 
267 - `BetaSpendLimitUsageTierScope object`
268 
269 Scope of the monthly spend cap Anthropic sets for a Claude Console
270 organization from its usage tier, or a higher cap Anthropic granted the
271 organization. Read-only; its `created_at` and `updated_at` are the
272 organization's creation time, so `amount` can change while `updated_at` stays
273 the same.
274 
275 - `type: "usage_tier"`
276 
277 Scope type. Always `usage_tier` for this scope.
278 
279 default: usage_tier
266280 
267281 - `updated_at: string`
268282 

api/beta/organization/spend_limits/retrieve Changed · +15 / -1 lines

from line 67
6767 
6868 - `"weekly"`
6969 
70 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
70 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
7171 
7272 What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.
7373 
from line 128
128128 - `workspace_id: string`
129129 
130130 Tagged ID of the workspace the spend limit applies to.
131 
132 - `BetaSpendLimitUsageTierScope object`
133 
134 Scope of the monthly spend cap Anthropic sets for a Claude Console
135 organization from its usage tier, or a higher cap Anthropic granted the
136 organization. Read-only; its `created_at` and `updated_at` are the
137 organization's creation time, so `amount` can change while `updated_at` stays
138 the same.
139 
140 - `type: "usage_tier"`
141 
142 Scope type. Always `usage_tier` for this scope.
143 
144 default: usage_tier
131145 
132146 - `updated_at: string`
133147 

api/beta/organization/spend_limits/set Changed · +15 / -1 lines

from line 229
229229 
230230 - `"weekly"`
231231 
232 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 3 more`
232 - `scope: BetaSpendLimitUserScope or BetaSpendLimitSeatTierScope or BetaSpendLimitRBACGroupScope or 4 more`
233233 
234234 What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.
235235 
from line 290
290290 - `workspace_id: string`
291291 
292292 Tagged ID of the workspace the spend limit applies to.
293 
294 - `BetaSpendLimitUsageTierScope object`
295 
296 Scope of the monthly spend cap Anthropic sets for a Claude Console
297 organization from its usage tier, or a higher cap Anthropic granted the
298 organization. Read-only; its `created_at` and `updated_at` are the
299 organization's creation time, so `amount` can change while `updated_at` stays
300 the same.
301 
302 - `type: "usage_tier"`
303 
304 Scope type. Always `usage_tier` for this scope.
305 
306 default: usage_tier
293307 
294308 - `updated_at: string`
295309 

api/compliance Changed · +115 / -14 lines

## Compliance API › Apps › Code › Artifacts ### Download Code Artifact Content ## Compliance API › Code › Artifacts

This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.

from line 961
961961 
962962 - `"inference_hooks_circuit_breaker_tripped"`
963963 
964 The organization's Inference hooks circuit breaker tripped automatically: calls to the organization's Inference hooks endpoint crossed a failure threshold, and inspection was suspended to protect live traffic. While tripped, requests are handled according to the organization's failure handling setting — allowed through uninspected (fail open) or rejected (fail closed) — and no per-request Inference hooks activities are recorded. The tripped state persists until an administrator re-enables Inference hooks inspection (or explicitly resets the circuit breaker).
964 The organization's Inference hooks circuit breaker tripped automatically: calls to the organization's Inference hooks endpoint crossed a failure threshold, and inspection was suspended to protect live traffic. While tripped, requests are handled according to the organization's failure handling setting — allowed through uninspected (fail open) or rejected (fail closed) — and no per-request Inference hooks activities are recorded. Inspection turns back on by itself once the organization's Inference hooks endpoint returns a valid allow or deny answer to Anthropic's test request again, at least 10 minutes after the trip. An administrator can also end the tripped state by re-enabling Inference hooks inspection. If an administrator saves the Inference hooks settings after the trip (even without changing anything) or generates a new signing secret, inspection no longer turns back on by itself and stays off until an administrator re-enables it.
965965 
966966 - `"inference_hooks_config_deleted"`
967967 
from line 3132
31323132 
31333133 - `"inference_hooks_circuit_breaker_tripped"`
31343134 
3135 The organization's Inference hooks circuit breaker tripped automatically: calls to the organization's Inference hooks endpoint crossed a failure threshold, and inspection was suspended to protect live traffic. While tripped, requests are handled according to the organization's failure handling setting — allowed through uninspected (fail open) or rejected (fail closed) — and no per-request Inference hooks activities are recorded. The tripped state persists until an administrator re-enables Inference hooks inspection (or explicitly resets the circuit breaker).
3135 The organization's Inference hooks circuit breaker tripped automatically: calls to the organization's Inference hooks endpoint crossed a failure threshold, and inspection was suspended to protect live traffic. While tripped, requests are handled according to the organization's failure handling setting — allowed through uninspected (fail open) or rejected (fail closed) — and no per-request Inference hooks activities are recorded. Inspection turns back on by itself once the organization's Inference hooks endpoint returns a valid allow or deny answer to Anthropic's test request again, at least 10 minutes after the trip. An administrator can also end the tripped state by re-enabling Inference hooks inspection. If an administrator saves the Inference hooks settings after the trip (even without changing anything) or generates a new signing secret, inspection no longer turns back on by itself and stays off until an administrator re-enables it.
31363136 
31373137 - `"inference_hooks_config_deleted"`
31383138 
from line 9479
94799479 
94809480 - `AttestedDeviceActor object`
94819481 
9482 An attested mobile device authenticated via Apple App Attest.
9483 
9484 - `type: optional "attested_device_actor"`
9485 
9486 default: attested_device_actor
9487 
9488 - `external_client_id: string`
9489 
9490 - `kid_hash: string`
9491 
9492 - `ip_address: optional string or null`
9493 
9494 - `user_agent: optional string or null`
9495 
9496 - `id: optional string`
9497 
9498 Unique identifier for the activity e.g. 'activity_abcd1234'
9499 
9500 - `created_at: optional string`
9501 
9502 When this activity occurred.
9503 
9504 format: date-time
9505 
9506 - `organization_id: optional string or null`
9507 
9508 Organization ID this activity is associated with
9509 
9510 - `organization_uuid: optional string or null`
9511 
9512 Organization UUID where the activity occurred. Null when the activity is not tied to
9482

api/compliance/activities Changed · +70 / -6 lines

This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.

from line 959
959959 
960960 - `"inference_hooks_circuit_breaker_tripped"`
961961 
962 The organization's Inference hooks circuit breaker tripped automatically: calls to the organization's Inference hooks endpoint crossed a failure threshold, and inspection was suspended to protect live traffic. While tripped, requests are handled according to the organization's failure handling setting — allowed through uninspected (fail open) or rejected (fail closed) — and no per-request Inference hooks activities are recorded. The tripped state persists until an administrator re-enables Inference hooks inspection (or explicitly resets the circuit breaker).
962 The organization's Inference hooks circuit breaker tripped automatically: calls to the organization's Inference hooks endpoint crossed a failure threshold, and inspection was suspended to protect live traffic. While tripped, requests are handled according to the organization's failure handling setting — allowed through uninspected (fail open) or rejected (fail closed) — and no per-request Inference hooks activities are recorded. Inspection turns back on by itself once the organization's Inference hooks endpoint returns a valid allow or deny answer to Anthropic's test request again, at least 10 minutes after the trip. An administrator can also end the tripped state by re-enabling Inference hooks inspection. If an administrator saves the Inference hooks settings after the trip (even without changing anything) or generates a new signing secret, inspection no longer turns back on by itself and stays off until an administrator re-enables it.
963963 
964964 - `"inference_hooks_config_deleted"`
965965 
from line 3130
31303130 
31313131 - `"inference_hooks_circuit_breaker_tripped"`
31323132 
3133 The organization's Inference hooks circuit breaker tripped automatically: calls to the organization's Inference hooks endpoint crossed a failure threshold, and inspection was suspended to protect live traffic. While tripped, requests are handled according to the organization's failure handling setting — allowed through uninspected (fail open) or rejected (fail closed) — and no per-request Inference hooks activities are recorded. The tripped state persists until an administrator re-enables Inference hooks inspection (or explicitly resets the circuit breaker).
3133 The organization's Inference hooks circuit breaker tripped automatically: calls to the organization's Inference hooks endpoint crossed a failure threshold, and inspection was suspended to protect live traffic. While tripped, requests are handled according to the organization's failure handling setting — allowed through uninspected (fail open) or rejected (fail closed) — and no per-request Inference hooks activities are recorded. Inspection turns back on by itself once the organization's Inference hooks endpoint returns a valid allow or deny answer to Anthropic's test request again, at least 10 minutes after the trip. An administrator can also end the tripped state by re-enabling Inference hooks inspection. If an administrator saves the Inference hooks settings after the trip (even without changing anything) or generates a new signing secret, inspection no longer turns back on by itself and stays off until an administrator re-enables it.
31343134 
31353135 - `"inference_hooks_config_deleted"`
31363136 
from line 9477
94779477 
94789478 - `AttestedDeviceActor object`
94799479 
9480 An attested mobile device authenticated via Apple App Attest.
9481 
9482 - `type: optional "attested_device_actor"`
9483 
9484 default: attested_device_actor
9485 
9486 - `external_client_id: string`
9487 
9488 - `kid_hash: string`
9489 
9490 - `ip_address: optional string or null`
9491 
9492 - `user_agent: optional string or null`
9493 
9494 - `id: optional string`
9495 
9496 Unique identifier for the activity e.g. 'activity_abcd1234'
9497 
9498 - `created_at: optional string`
9499 
9500 When this activity occurred.
9501 
9502 format: date-time
9503 
9504 - `organization_id: optional string or null`
9505 
9506 Organization ID this activity is associated with
9507 
9508 - `organization_uuid: optional string or null`
9509 
9510 Organization UUID where the activity occurred. Null when the activity is not tied to an organization (for example, login
9480 An attested mobile device authe

api/compliance/activities/list Changed · +36 / -4 lines

This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.

from line 957
957957 
958958 - `"inference_hooks_circuit_breaker_tripped"`
959959 
960 The organization's Inference hooks circuit breaker tripped automatically: calls to the organization's Inference hooks endpoint crossed a failure threshold, and inspection was suspended to protect live traffic. While tripped, requests are handled according to the organization's failure handling setting — allowed through uninspected (fail open) or rejected (fail closed) — and no per-request Inference hooks activities are recorded. The tripped state persists until an administrator re-enables Inference hooks inspection (or explicitly resets the circuit breaker).
960 The organization's Inference hooks circuit breaker tripped automatically: calls to the organization's Inference hooks endpoint crossed a failure threshold, and inspection was suspended to protect live traffic. While tripped, requests are handled according to the organization's failure handling setting — allowed through uninspected (fail open) or rejected (fail closed) — and no per-request Inference hooks activities are recorded. Inspection turns back on by itself once the organization's Inference hooks endpoint returns a valid allow or deny answer to Anthropic's test request again, at least 10 minutes after the trip. An administrator can also end the tripped state by re-enabling Inference hooks inspection. If an administrator saves the Inference hooks settings after the trip (even without changing anything) or generates a new signing secret, inspection no longer turns back on by itself and stays off until an administrator re-enables it.
961961 
962962 - `"inference_hooks_config_deleted"`
963963 
from line 3128
31283128 
31293129 - `"inference_hooks_circuit_breaker_tripped"`
31303130 
3131 The organization's Inference hooks circuit breaker tripped automatically: calls to the organization's Inference hooks endpoint crossed a failure threshold, and inspection was suspended to protect live traffic. While tripped, requests are handled according to the organization's failure handling setting — allowed through uninspected (fail open) or rejected (fail closed) — and no per-request Inference hooks activities are recorded. The tripped state persists until an administrator re-enables Inference hooks inspection (or explicitly resets the circuit breaker).
3131 The organization's Inference hooks circuit breaker tripped automatically: calls to the organization's Inference hooks endpoint crossed a failure threshold, and inspection was suspended to protect live traffic. While tripped, requests are handled according to the organization's failure handling setting — allowed through uninspected (fail open) or rejected (fail closed) — and no per-request Inference hooks activities are recorded. Inspection turns back on by itself once the organization's Inference hooks endpoint returns a valid allow or deny answer to Anthropic's test request again, at least 10 minutes after the trip. An administrator can also end the tripped state by re-enabling Inference hooks inspection. If an administrator saves the Inference hooks settings after the trip (even without changing anything) or generates a new signing secret, inspection no longer turns back on by itself and stays off until an administrator re-enables it.
31323132 
31333133 - `"inference_hooks_config_deleted"`
31343134 
from line 9475
94759475 
94769476 - `AttestedDeviceActor object`
94779477 
9478 An attested mobile device authenticated via Apple App Attest.
9479 
9480 - `type: optional "attested_device_actor"`
9481 
9482 default: attested_device_actor
9483 
9484 - `external_client_id: string`
9485 
9486 - `kid_hash: string`
9487 
9488 - `ip_address: optional string or null`
9489 
9490 - `user_agent: optional string or null`
9491 
9492 - `id: optional string`
9493 
9494 Unique identifier for the activity e.g. 'activity_abcd1234'
9495 
9496 - `created_at: optional string`
9497 
9498 When this activity occurred.
9499 
9500 format: date-time
9501 
9502 - `organization_id: optional string or null`
9503 
9504 Organization ID this activity is associated with
9505 
9506 - `organization_uuid: optional string or null`
9507 
9508 Organization UUID where the activity occurred. Null when the activity is not tied to an organization (for example, l
9478 An attested mobile device a

api/compliance/apps Changed · +388 / -0 lines

## Apps › Code › Artifacts ### List Code Artifacts ### Download Code Artifact Version Content ### Download Code Artifact Content ### Delete Code Artifact

from line 3286
32863286}
32873287```
32883288 
3289## Apps › Code › Artifacts
3290 
3291### List Code Artifacts
3292 
3293**GET** `/v1/compliance/apps/code/artifacts`
3294 
3295List Claude Code Artifacts owned by organizations under the parent
3296organization.
3297 
3298Results are sorted by Artifact identifier. Pages may be short or empty
3299while `next_page` is still set — continue until `next_page` is absent.
3300Artifacts are sorted by identifier (not creation time): an Artifact
3301published during an export may land before the cursor and be omitted, so
3302for a point-in-time-complete export re-enumerate after publishing
3303quiesces.
3304 
3305Artifacts owned by a since-deleted child organization are not
3306returned.
3307 
3308#### Query parameters
3309 
3310- `limit: optional number`
3311 
3312 Maximum results (default: 20, max: 100)
3313 
3314 default: 20, minimum: 1, maximum: 100
3315 
3316- `organization_ids: optional array of string`
3317 
3318 Filter by organization IDs (accepts `org_...` or organization UUID, up to 500). Enumerate IDs via `GET /v1/compliance/organizations`.
3319 
3320 maxItems: 500
3321 
3322- `page: optional string`
3323 
3324 Opaque pagination token from a previous response's `next_page` field. Pass this to retrieve the next page of results. Clients should treat this value as an opaque string and not attempt to parse or interpret its contents, as the format may change without notice.
3325 
3326- `updated_at: optional object`
3327 
3328 - `gt: optional string`
3329 
3330 Return only Artifacts updated after this time (RFC 3339 format). See `updated_at.gte` for the completeness caveat.
3331 
3332 format: date-time
3333 
3334 - `gte: optional string`
3335 
3336 Return only Artifacts updated at or after this time (RFC 3339 format). Time filters match an eventually-consistent index and Artifacts published before this field was recorded never match — omit the time filter for compliance-complete enumeration. For incremental export, apply a generous overlap margin between windows and dedupe by `id`: adjacent tiling silently misses items whose index update lagged their publish.
3337 
3338 format: date-time
3339 
3340 - `lt: optional string`
3341 
3342 Return only Artifacts updated before this time (RFC 3339 format). Multiple time operators are AND-ed to the tightest bound. See `updated_at.gte` for the completeness caveat.
3343 
3344 format: date-time
3345 
3346 - `lte: optional string`
3347 
3348 Return only Artifacts updated at or before this time (RFC 3339 format). See `updated_at.gte` for the completeness caveat.
3349 
3350 format: date-time
3351 
3352- `user_ids: optional array of string`
3353 
3354 Filter by owner user IDs (up to 200). Enumerate IDs via `GET /v1/compliance/organizations/{org_uuid}/users`.
3355 
3356 maxItems: 200
3357 
3358#### Headers
3359 
3360- `"anthropic-version": optional string`
3361 
3362 The version of the Claude API you want to use.
3363 
3364 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
3365 
3366- `"x-api-key": optional string`
3367 
3368#### Returns
3369 
3370- `data: array of object`
3371 
3372 Page of Artifacts
3373 
3374 - `id: string`
3375 
3376 Artifact identifier (tagged ID)
3377 
3378 - `artifact_type: "claude_design" or "claude_design_systems" or "claude_docs" or 4 more`
3379 
3380 Which kind of Artifact this is: `code` for a site published from Claude Code, or the built-in Artifact type it was made from — `claude_docs` (Claude Docs), `claude_slides` (Slides), `claude_design` (Design), `claude_design_systems` (a design system) or `claude_motion` (Motion). `other` is an Artifact made from a built-in type this list does not name yet.
3381 
3382 - `"claude_design"`
3383 
3384 - `"claude_design_systems"`
3385 
3386 - `"claude_docs"`
3387 
3388 - `"claude_motion"`
3389 
3390 - `"claude_slides"`
3391 
3392 - `"code"`
3393 
3394 - `"other"`
3395 
3396 - `organization_uuid: string`
3397 
3398 Organization UUID this Artifact belongs to
3399 
3400 - `owner_user_id: string or null`
3401 
3402 Artifact owner's user identifier (tagged ID), or null for Artifacts published by an agent session rather than a user account. When set, it survives after the owner's account is deleted or the owner leaves every organization under the parent.
3403 
3404 - `published_version_id: string or null`
3405 
3406 Identifier of the version a non-owner viewer would render when `read_mode` permits them — the version the owner has pinned for non-owner readers if one is pinned, otherwise the owner's latest. When `read_mode` is `owner` no non-owner renders any version; the field still reports which version would be served were read_mode widened. Null for a Claude Doc; see `versions`.
3407 
3408 - `read_mode: "org" or "owner" or "public" or "users"`
3409 
3410 Who can view this Artifact: only its owner, a named set of users, every member of its organization, or anyone on the internet (`public`)
3411 
3412 - `"org"`
3413 
3414 - `"owner"`
3415 
3416 - `"public"`
3417 
3418 - `"users"`
3419 
3420 - `updated_at: string or null`
3421 
3422 Artifact last update timestamp, or null for Artifacts published before this field was recorded
3423 
3424 format: date-time
3425 
3426 - `user: object or null`
3427 
3428 Artifact owner with email, or null if the Artifact was published by an agent session, the owner's account has been deleted, or the owner is no longer a member of an organization the key may read
3429 
3430 - `id: string`
3431 
3432 User identifier (tagged ID)
3433 
3434 - `email_address: string`
3435 
3436 User's email address
3437 
3438 - `versions: array of object`
3439 
3440 Up to roughly 20 most-recently-published versions of this Artifact (older versions are not retained). Metadata only — use `GET /v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}` to download a version's content. Empty for a Claude Doc, because a Doc's versions hold only the web page that displays it, not its text. Download a Doc's text with `GET /v1/compliance/apps/code/artifacts/{artifact_id}/content?multi_file_format=zip`.
3441 
3442 - `id: string`
3443 
3444 Opaque version identifier
3445 
3446 - `created_at: string or null`
3447 
3448 When this version was published
3449 
3450 format: date-time
3451 
3452 - `name: string`
3453 
3454 Artifact title at this version. Falls back to the version identifier when the title for an older version is no longer retained.
3455 
3456- `has_more: boolean`
3457 
3458 Whether `next_page` is set. May be true for a page whose next page is empty — continue until `next_page` is absent.
3459 
3460- `next_page: string or null`
3461 
3462 Token to retrieve the next page. Use this as the 'page' parameter in your next request
3463 
3464#### Example
3465 
3466```bash
3467curl https://api.anthropic.com/v1/compliance/apps/code/artifacts \
3468 -H 'anthropic-version: 2023-06-01' \
3469 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
3470```
3471 
3472##### Response (200)
3473 
3474```json
3475{
3476 "data": [
3477 {
3478 "id": "cart_01Tu9VwXyZaBcDeFgHiJkLmN",
3479 "artifact_type": "code",
3480 "organization_uuid": "a1b2c3d4-e5f6-4789-a012-3456789abcde",
3481 "owner_user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
3482 "published_version_id": "1741803761-9f3a",
3483 "read_mode": "org",
3484 "updated_at": "2025-03-14T09:05:17.456789Z",
3485 "user": {
3486 "id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
3487 "email_address": "[email protected]"
3488 },
3489 "versions": [
3490 {
3491 "id": "1741803761-9f3a",
3492 "created_at": "2025-03-12T18:22:41.123456Z",
3493 "name": "Team dashboard"
3494 }
3495 ]
3496 }
3497 ],
3498 "has_more": true,
3499 "next_page": "cGFnZV90b2tlbl9leGFtcGxlXzE3MzQ1Njc4OTA="
3500}
3501```
3502 
3503### Download Code Artifact Version Content
3504 
3505**GET** `/v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}`
3506 
3507Streams the content of one version of a Claude Code Artifact as the
3508response body.
3509 
3510Returns 404 for Artifacts that don't exist or belong to another parent
3511organization. A listed version id can start returning 404 if subsequent
3512publishes rotated it out of retained history — re-list on 404. Returns
3513503 while the version's content upload is still in flight or was
3514abandoned — retry with backoff. Returns 422 with
3515`error.details.error_code` `multi_file_unavailable` for a version that
3516has more than one file, unless the request sets `multi_file_format=zip`,
3517which returns those files as a ZIP archive. With `multi_file_format=zip`,
3518a version with more than one file, one of them with a name the API cannot
3519export, gets 422 `file_set_unavailable`. Do not retry a 422. A Claude
3520Doc's versions hold only the web page that displays the Doc and never come
3521back as a ZIP. That page usually has more than one file, so a Doc's version
3522usually gets the 422 `multi_file_unavailable`. Download the Doc's text with
3523`GET /v1/compliance/apps/code/artifacts/{artifact_id}/content?multi_file_format=zip`.
3524Oversized encoded content aborts mid-stream: headers and initial bytes arrive
3525but the body terminates early — an aborted chunked transfer is the
3526only truncation signal for encoded content. `Content-MD5` is emitted
3527only for identity-stored content; validate against it when present.
3528 
3529#### Path parameters
3530 
3531- `artifact_id: string`
3532 
3533 The Artifact ID (tagged ID, e.g., cart_abc123)
3534 
3535- `version_id: string`
3536 
3537 Opaque version identifier from the Artifact's `versions` list
3538 
3539#### Query parameters
3540 
3541- `multi_file_format: optional string`
3542 
3543 Set to `zip`, its only value, to receive a version that has more than one file as a ZIP archive of its files with an index, `files.json`. Files the artifact copied from its type (the app that displays every artifact of that type) are listed under `omitted_files` in the index, and left out of the archive, when an organization other than the artifact's owns that type. A Claude Doc's version never comes back as a ZIP: it is answered as without this parameter, except that a version with more than one file, one of them with a name the API cannot export, gets 422 `file_set_unavailable`. A version with one file is returned as that file, as without this parameter.
3544 
3545#### Headers
3546 
3547- `"anthropic-version": optional string`
3548 
3549 The version of the Claude API you want to use.
3550 
3551 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
3552 
3553- `"x-api-key": optional string`
3554 
3555#### Example
3556 
3557```bash
3558curl https://api.anthropic.com/v1/compliance/apps/code/artifacts/$ARTIFACT_ID/versions/$VERSION_ID \
3559 -H 'anthropic-version: 2023-06-01' \
3560 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
3561```
3562 
3563### Download Code Artifact Content
3564 
3565**GET** `/v1/compliance/apps/code/artifacts/{artifact_id}/content`
3566 
3567Streams an Artifact's current content as the response body. For a
3568Claude Doc, that is the Doc's text as a ZIP archive of Word files, one per
3569text tab, and the request must set `multi_file_format=zip`. For any other
3570Artifact, it is the latest version, as
3571`GET /v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}`
3572returns it.
3573 
3574Returns 404 for Artifacts that don't exist or that the API key cannot read.
3575Returns 400 with `error.details.error_code` `cmek_key_disabled` when the
3576organization's customer-managed encryption key can't be used, for example
3577because it is disabled or revoked. Returns 503 when the content can't be
3578produced right now; wait the number of seconds in the `Retry-After`
3579header, or retry with backoff when it is absent. For a Claude Doc, a 422's
3580`error.details.error_code` is `multi_file_unavailable` when the request
3581does not set `multi_file_format=zip`, `document_unavailable` when the Doc
3582has no text to export (for example, it has no text tab or is in the trash),
3583`document_too_large` when the export is over 16 MiB, or
3584`cmek_org_unsupported` when the organization uses customer-managed
3585encryption keys and the export can't be served for it right now. For any
3586other Artifact, the 422s are the version download's.
3587 
3588#### Path parameters
3589 
3590- `artifact_id: string`
3591 
3592 The Artifact ID (tagged ID, e.g., cart_abc123)
3593 
3594#### Query parameters
3595 
3596- `multi_file_format: optional string`
3597 
3598 Set to `zip`, its only value. A Claude Doc downloads only this way, as a ZIP archive of Word files, one per text tab. For any other Artifact it works as on the version download: when the latest version has more than one file, it comes back as a ZIP archive of its files with an index, `files.json`.
3599 
3600#### Headers
3601 
3602- `"anthropic-version": optional string`
3603 
3604 The version of the Claude API you want to use.
3605 
3606 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
3607 
3608- `"x-api-key": optional string`
3609 
3610#### Example
3611 
3612```bash
3613curl https://api.anthropic.com/v1/compliance/apps/code/artifacts/$ARTIFACT_ID/content \
3614 -H 'anthropic-version: 2023-06-01' \
3615 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
3616```
3617 
3618### Delete Code Artifact
3619 
3620**DELETE** `/v1/compliance/apps/code/artifacts/{artifact_id}`
3621 
3622Permanently deletes a Code Artifact and all its versions. This is a
3623destructive operation that cannot be undone. A 200 response means the
3624deletion is initiated and the Artifact is claimed; content removal
3625completes asynchronously.
3626 
3627Returns 404 for Artifacts that don't exist or belong to another parent
3628organization. Returns 404 on a repeated delete of an already-deleted
3629Artifact.
3630 
3631#### Path parameters
3632 
3633- `artifact_id: string`
3634 
3635 The Artifact ID (tagged ID, e.g., cart_abc123)
3636 
3637#### Headers
3638 
3639- `"anthropic-version": optional string`
3640 
3641 The version of the Claude API you want to use.
3642 
3643 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
3644 
3645- `"x-api-key": optional string`
3646 
3647#### Returns
3648 
3649- `type: "code_artifact_deleted"`
3650 
3651 Constant string confirming deletion
3652 
3653 default: code_artifact_deleted
3654 
3655- `id: string`
3656 
3657 The ID of the Artifact that was deleted
3658 
3659#### Example
3660 
3661```bash
3662curl https://api.anthropic.com/v1/compliance/apps/code/artifacts/$ARTIFACT_ID \
3663 -X DELETE \
3664 -H 'anthropic-version: 2023-06-01' \
3665 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
3666```
3667 
3668##### Response (200)
3669 
3670```json
3671{
3672 "id": "cart_xyz789",
3673 "type": "code_artifact_deleted"
3674}
3675```
3676 

api/compliance/apps/code New page · 394 lines, new page

# Code ## Code › Artifacts ### List Code Artifacts #### Query parameters #### Headers #### Returns #### Example ##### Response (200) ### Download Code Artifact Version Content #### Path parameters #### Query parameters #### Headers #### Example ### Download Code Artifact Content #### Path parameters #### Query parameters #### Headers #### Example ### Delete Code Artifact #### Path parameters #### Headers #### Returns #### Example ##### Response (200)

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: Code
url: https://platform.claude.com/docs/en/api/compliance/apps/code
---

# Code

## Code › Artifacts

### List Code Artifacts

**GET** `/v1/compliance/apps/code/artifacts`

List Claude Code Artifacts owned by organizations under the parent
organization.

Results are sorted by Artifact identifier. Pages may be short or empty
while `next_page` is still set — continue until `next_page` is absent.
Artifacts are sorted by identifier (not creation time): an Artifact
published during an export may land before the cursor and be omitted, so
for a point-in-time-complete export re-enumerate after publishing
quiesces.

Artifacts owned by a since-deleted child organization are not
returned.

#### Query parameters

- `limit: optional number`

  Maximum results (default: 20, max: 100)

  default: 20, minimum: 1, maximum: 100

- `organization_ids: optional array of string`

  Filter by organization IDs (accepts `org_...` or organization UUID, up to 500). Enumerate IDs via `GET /v1/compliance/organizations`.

  maxItems: 500

- `page: optional string`

  Opaque pagination token from a previous response's `next_page` field. Pass this to retrieve the next page of results. Clients should treat this value as an opaque string and not attempt to parse or interpret its contents, as the format may change without notice.

- `updated_at: optional object`

  - `gt: optional string`

    Return only Artifacts updated after this time (RFC 3339 format). See `updated_at.gte` for the completeness caveat.

    format: date-time

  - `gte: optional string`

    Return only Artifacts updated at or after this time (RFC 3339 format). Time filters match an eventually-consistent index and Artifacts published before this field was recorded never match — omit the time filter for compliance-complete enumeration. For incremental export, apply a generous overlap margin between windows and dedupe by `id`: adjacent tiling silently misses items whose index update lagged their publish.

    format: date-time

  - `lt: optional string`

    Return only Artifacts updated before this time (RFC 3339 format). Multiple time operators are AND-ed to the tightest bound. See `updated_at.gte` for the completeness caveat.

    format: date-time

  - `lte: optional string`

    Return only Artifacts updated at or before this time (RFC 3339 format). See `updated_at.gte` for the completeness caveat.

    format: date-time

- `user_ids: optional array of string`

  Filter by owner user IDs (up to 200). Enumerate IDs via `GET /v1/compliance/organizations/{org_uuid}/users`.

  maxItems: 200

#### Headers

- `"anthropic-version": optional string`

  The version of the Claude API you want to use.

  Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).

- `"x-api-key": optional string`

#### Returns

- `data: array of object`

  Page of Artifacts

  - `id: string`

    Artifact identifier (tagged ID)

  - `artifact_type: "claude_design" or "claude_design_systems" or "claude_docs" or 4 more`

    Which kind of Artifact this is: `code` for a site published from Claude Code, or the built-in Artifact type it was made from — `claude_docs` (Claude Docs), `claude_slides` (Slides), `claude_design` (Design), `claude_design_systems` (a design system) or `claude_motion` (Motion). `other` is an Artifact made from a built-in type this list does not name yet.

    - `"claude_design"`

    - `"claude_design_systems"`

    - `"claude_docs"`

    - `"claude_motion"`

    - `"claude_slides"`

    - `"code"`

    - `"other"`

  - `organization_uuid: string`

    Organization UUID this Artifact belongs to

  - `owner_user_id: string or null`

    Artifact owner's user identifier (tagged ID), or null for Artifacts published by an agent session rather than a user account. When set, it survives after the owner's account is deleted or the owner leaves every organization under the parent.

  - `published_version_id: string or null`

    Identifier of the version a non-owner viewer would render when `read_mode` permits them — the version the owner has pinned for non-owner readers if one is pinned, otherwise the owner's latest. When `read_mode` is `owner` no non-owner renders any version; the field still reports which version would be served were read_mode widened. Null for a Claude Doc; see `versions`.

  - `read_mode: "org" or "owner" or "public" or "users"`

    Who can view this Artifact: only its owner, a named set of users, every member of its organization, or anyone on the internet (`public`)

    - `"org"`

    - `"owner"`

    - `"public"`

    - `"users"`

  - `updated_at: string or null`

    Artifact last update timestamp, or null for Artifacts published before this field was recorded

    format: date-time

  - `user: object or null`

    Artifact owner with email, or null if the Artifact was published by an agent session, the owner's account has been deleted, or the owner is no longer a member of an organization the key may read

    - `id: string`

      User identifier (tagged ID)

    - `email_address: string`

      User's email address

  - `versions: array of object`

    Up to roughly 20 most-recently-published versions of this Artifact (older versions are not retained). Metadata only — use `GET /v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}` to download a version's content. Empty for a Claude Doc, because a Doc's versions hold only the web page that displays it, not its text. Download a Doc's text with `GET /v1/compliance/apps/code/artifacts/{artifact_id}/content?multi_file_format=zip`.

    - `id: string`

      Opaque version identifier

    - `created_at: string or null`

      When this version was published

      format: date-time

    - `name: string`

      Artifact title at this version. Falls back to the version identifier when the title for an older version is no longer retained.

- `has_more: boolean`

  Whether `next_page` is set. May be true for a page whose next page is empty — continue until `next_page` is absent.

- `next_page: string or null`

  Token to retrieve the next page. Use this as the 'page' parameter in your next request

#### Example

```bash
curl https://api.anthropic.com/v1/compliance/apps/code/artifacts \
    -H 'anthropic-version: 2023-06-01' \
    -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
```

##### Response (200)

```json
{
  "data": [
    {
      "id": "cart_01Tu9VwXyZaBcDeFgHiJkLmN",
      "artifact_type": "code",
      "organization_uuid": "a1b2c3d4-e5f6-4789-a012-3456789abcde",
      "owner_user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
      "published_version_id": "1741803761-9f3a",
      "read_mode": "org",
      "updated_at": "2025-03-14T09:05:17.456789Z",
      "user": {
        "id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
        "email_address": "[email protected]"
      },
      "versions": [
        {
          "id": "1741803761-9f3a",
          "created_at": "2025-03-12T18:22:41.123456Z",
          "name": "Team dashboard"
        }
      ]
    }
  ],
  "has_more": true,
  "next_page": "cGFnZV90b2tlbl9leGFtcGxlXzE3MzQ1Njc4OTA="
}
```

### Download Code Artifact Version Content

**GET** `/v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}`

Streams the content of one version of a Claude Code Artifact as the
response body.

Returns 404 for Artifacts that don't exist or belong to another parent
organization. A listed version id can start returning 404 if subsequent
publishes rotated it out of retained history — re-list on 404. Returns
503 while the version's content upload is still in flight or was
abandoned — retry with backoff. Returns 422 with
`error.details.error_code` `multi_file_unavailable` for a version that
has more than one file, unless the request sets `multi_file_format=zip`,
which returns those files as a ZIP archive. With `multi_file_format=zip`,
a version with more than one file, one of them with a name the API cannot
export, gets 422 `file_set_unavailable`. Do not retry a 422. A Claude
Doc's versions hold only the web page that displays the Doc and never come
back as a ZIP. That page usually has more than one file, so a Doc's version
usually gets the 422 `multi_file_unavailable`. Download the Doc's text with
`GET /v1/compliance/apps/code/artifacts/{artifact_id}/content?multi_file_format=zip`.
Oversized encoded content aborts mid-stream: headers and initial bytes arrive
but the body terminates early — an aborted chunked transfer is the
only truncation signal for encoded content. `Content-MD5` is emitted
only for identity-stored content; validate against it when present.

#### Path parameters

- `artifact_id: string`

  The Artifact ID (tagged ID, e.g., cart_abc123)

- `version_id: string`

  Opaque version identifier from the Artifact's `versions` list

#### Query parameters

- `multi_file_format: optional string`

  Set to `zip`, its only value, to receive a version that has more than one file as a ZIP archive of its files with an index, `files.json`. Files the artifact copied from its type (the app that displays every artifact of that type) are listed under `omitted_files` in the index, and left out of the archive, when an organization other than the artifact's owns that type. A Claude Doc's version never comes back as a ZIP: it is answered as without this parameter, except that a version with more than one file, one of them with a name the API cannot export, gets 422 `file_set_unavailable`. A version with one file is returned as that file, as without this parameter.

#### Headers

- `"anthropic-version": optional string`

  The version of the Claude API you want to use.

  Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).

- `"x-api-key": optional string`

#### Example

```bash
curl https://api.anthropic.com/v1/compliance/apps/code/artifacts/$ARTIFACT_ID/versions/$VERSION_ID \
    -H 'anthropic-version: 2023-06-01' \
    -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
```

### Download Code Artifact Content

**GET** `/v1/compliance/apps/code/artifacts/{artifact_id}/content`

Streams an Artifact's current content as the response body. For a
Claude Doc, that is the Doc's text as a ZIP archive of Word files, one per
text tab, and the request must set `multi_file_format=zip`. For any other
Artifact, it is the latest version, as
`GET /v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}`
returns it.

Returns 404 for Artifacts that don't exist or that the API key cannot read.
Returns 400 with `error.details.error_code` `cmek_key_disabled` when the
organization's customer-managed encryption key can't be used, for example
because it is disabled or revoked. Returns 503 when the content can't be
produced right now; wait the number of seconds in the `Retry-After`
header, or retry with backoff when it is absent. For a Claude Doc, a 422's
`error.details.error_code` is `multi_file_unavailable` when the request
does not set `multi_file_format=zip`, `document_unavailable` when the Doc

Cut at 300 lines. The page has the rest.

api/compliance/apps/code/artifacts New page · 500 lines, new page

# Artifacts ## List Code Artifacts ### Query parameters ### Headers ### Returns ### Example #### Response (200) ## Download Code Artifact Version Content ### Path parameters ### Query parameters ### Headers ### Example ## Download Code Artifact Content ### Path parameters ### Query parameters ### Headers ### Example ## Delete Code Artifact ### Path parameters ### Headers ### Returns ### Example #### Response (200) ## Domain types ### Artifact List Response ### Artifact Delete Response

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: Artifacts
url: https://platform.claude.com/docs/en/api/compliance/apps/code/artifacts
---

# Artifacts

## List Code Artifacts

**GET** `/v1/compliance/apps/code/artifacts`

List Claude Code Artifacts owned by organizations under the parent
organization.

Results are sorted by Artifact identifier. Pages may be short or empty
while `next_page` is still set — continue until `next_page` is absent.
Artifacts are sorted by identifier (not creation time): an Artifact
published during an export may land before the cursor and be omitted, so
for a point-in-time-complete export re-enumerate after publishing
quiesces.

Artifacts owned by a since-deleted child organization are not
returned.

### Query parameters

- `limit: optional number`

  Maximum results (default: 20, max: 100)

  default: 20, minimum: 1, maximum: 100

- `organization_ids: optional array of string`

  Filter by organization IDs (accepts `org_...` or organization UUID, up to 500). Enumerate IDs via `GET /v1/compliance/organizations`.

  maxItems: 500

- `page: optional string`

  Opaque pagination token from a previous response's `next_page` field. Pass this to retrieve the next page of results. Clients should treat this value as an opaque string and not attempt to parse or interpret its contents, as the format may change without notice.

- `updated_at: optional object`

  - `gt: optional string`

    Return only Artifacts updated after this time (RFC 3339 format). See `updated_at.gte` for the completeness caveat.

    format: date-time

  - `gte: optional string`

    Return only Artifacts updated at or after this time (RFC 3339 format). Time filters match an eventually-consistent index and Artifacts published before this field was recorded never match — omit the time filter for compliance-complete enumeration. For incremental export, apply a generous overlap margin between windows and dedupe by `id`: adjacent tiling silently misses items whose index update lagged their publish.

    format: date-time

  - `lt: optional string`

    Return only Artifacts updated before this time (RFC 3339 format). Multiple time operators are AND-ed to the tightest bound. See `updated_at.gte` for the completeness caveat.

    format: date-time

  - `lte: optional string`

    Return only Artifacts updated at or before this time (RFC 3339 format). See `updated_at.gte` for the completeness caveat.

    format: date-time

- `user_ids: optional array of string`

  Filter by owner user IDs (up to 200). Enumerate IDs via `GET /v1/compliance/organizations/{org_uuid}/users`.

  maxItems: 200

### Headers

- `"anthropic-version": optional string`

  The version of the Claude API you want to use.

  Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).

- `"x-api-key": optional string`

### Returns

- `data: array of object`

  Page of Artifacts

  - `id: string`

    Artifact identifier (tagged ID)

  - `artifact_type: "claude_design" or "claude_design_systems" or "claude_docs" or 4 more`

    Which kind of Artifact this is: `code` for a site published from Claude Code, or the built-in Artifact type it was made from — `claude_docs` (Claude Docs), `claude_slides` (Slides), `claude_design` (Design), `claude_design_systems` (a design system) or `claude_motion` (Motion). `other` is an Artifact made from a built-in type this list does not name yet.

    - `"claude_design"`

    - `"claude_design_systems"`

    - `"claude_docs"`

    - `"claude_motion"`

    - `"claude_slides"`

    - `"code"`

    - `"other"`

  - `organization_uuid: string`

    Organization UUID this Artifact belongs to

  - `owner_user_id: string or null`

    Artifact owner's user identifier (tagged ID), or null for Artifacts published by an agent session rather than a user account. When set, it survives after the owner's account is deleted or the owner leaves every organization under the parent.

  - `published_version_id: string or null`

    Identifier of the version a non-owner viewer would render when `read_mode` permits them — the version the owner has pinned for non-owner readers if one is pinned, otherwise the owner's latest. When `read_mode` is `owner` no non-owner renders any version; the field still reports which version would be served were read_mode widened. Null for a Claude Doc; see `versions`.

  - `read_mode: "org" or "owner" or "public" or "users"`

    Who can view this Artifact: only its owner, a named set of users, every member of its organization, or anyone on the internet (`public`)

    - `"org"`

    - `"owner"`

    - `"public"`

    - `"users"`

  - `updated_at: string or null`

    Artifact last update timestamp, or null for Artifacts published before this field was recorded

    format: date-time

  - `user: object or null`

    Artifact owner with email, or null if the Artifact was published by an agent session, the owner's account has been deleted, or the owner is no longer a member of an organization the key may read

    - `id: string`

      User identifier (tagged ID)

    - `email_address: string`

      User's email address

  - `versions: array of object`

    Up to roughly 20 most-recently-published versions of this Artifact (older versions are not retained). Metadata only — use `GET /v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}` to download a version's content. Empty for a Claude Doc, because a Doc's versions hold only the web page that displays it, not its text. Download a Doc's text with `GET /v1/compliance/apps/code/artifacts/{artifact_id}/content?multi_file_format=zip`.

    - `id: string`

      Opaque version identifier

    - `created_at: string or null`

      When this version was published

      format: date-time

    - `name: string`

      Artifact title at this version. Falls back to the version identifier when the title for an older version is no longer retained.

- `has_more: boolean`

  Whether `next_page` is set. May be true for a page whose next page is empty — continue until `next_page` is absent.

- `next_page: string or null`

  Token to retrieve the next page. Use this as the 'page' parameter in your next request

### Example

```bash
curl https://api.anthropic.com/v1/compliance/apps/code/artifacts \
    -H 'anthropic-version: 2023-06-01' \
    -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
```

#### Response (200)

```json
{
  "data": [
    {
      "id": "cart_01Tu9VwXyZaBcDeFgHiJkLmN",
      "artifact_type": "code",
      "organization_uuid": "a1b2c3d4-e5f6-4789-a012-3456789abcde",
      "owner_user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
      "published_version_id": "1741803761-9f3a",
      "read_mode": "org",
      "updated_at": "2025-03-14T09:05:17.456789Z",
      "user": {
        "id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
        "email_address": "[email protected]"
      },
      "versions": [
        {
          "id": "1741803761-9f3a",
          "created_at": "2025-03-12T18:22:41.123456Z",
          "name": "Team dashboard"
        }
      ]
    }
  ],
  "has_more": true,
  "next_page": "cGFnZV90b2tlbl9leGFtcGxlXzE3MzQ1Njc4OTA="
}
```

## Download Code Artifact Version Content

**GET** `/v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}`

Streams the content of one version of a Claude Code Artifact as the
response body.

Returns 404 for Artifacts that don't exist or belong to another parent
organization. A listed version id can start returning 404 if subsequent
publishes rotated it out of retained history — re-list on 404. Returns
503 while the version's content upload is still in flight or was
abandoned — retry with backoff. Returns 422 with
`error.details.error_code` `multi_file_unavailable` for a version that
has more than one file, unless the request sets `multi_file_format=zip`,
which returns those files as a ZIP archive. With `multi_file_format=zip`,
a version with more than one file, one of them with a name the API cannot
export, gets 422 `file_set_unavailable`. Do not retry a 422. A Claude
Doc's versions hold only the web page that displays the Doc and never come
back as a ZIP. That page usually has more than one file, so a Doc's version
usually gets the 422 `multi_file_unavailable`. Download the Doc's text with
`GET /v1/compliance/apps/code/artifacts/{artifact_id}/content?multi_file_format=zip`.
Oversized encoded content aborts mid-stream: headers and initial bytes arrive
but the body terminates early — an aborted chunked transfer is the
only truncation signal for encoded content. `Content-MD5` is emitted
only for identity-stored content; validate against it when present.

### Path parameters

- `artifact_id: string`

  The Artifact ID (tagged ID, e.g., cart_abc123)

- `version_id: string`

  Opaque version identifier from the Artifact's `versions` list

### Query parameters

- `multi_file_format: optional string`

  Set to `zip`, its only value, to receive a version that has more than one file as a ZIP archive of its files with an index, `files.json`. Files the artifact copied from its type (the app that displays every artifact of that type) are listed under `omitted_files` in the index, and left out of the archive, when an organization other than the artifact's owns that type. A Claude Doc's version never comes back as a ZIP: it is answered as without this parameter, except that a version with more than one file, one of them with a name the API cannot export, gets 422 `file_set_unavailable`. A version with one file is returned as that file, as without this parameter.

### Headers

- `"anthropic-version": optional string`

  The version of the Claude API you want to use.

  Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).

- `"x-api-key": optional string`

### Example

```bash
curl https://api.anthropic.com/v1/compliance/apps/code/artifacts/$ARTIFACT_ID/versions/$VERSION_ID \
    -H 'anthropic-version: 2023-06-01' \
    -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
```

## Download Code Artifact Content

**GET** `/v1/compliance/apps/code/artifacts/{artifact_id}/content`

Streams an Artifact's current content as the response body. For a
Claude Doc, that is the Doc's text as a ZIP archive of Word files, one per
text tab, and the request must set `multi_file_format=zip`. For any other
Artifact, it is the latest version, as
`GET /v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}`
returns it.

Returns 404 for Artifacts that don't exist or that the API key cannot read.
Returns 400 with `error.details.error_code` `cmek_key_disabled` when the
organization's customer-managed encryption key can't be used, for example
because it is disabled or revoked. Returns 503 when the content can't be
produced right now; wait the number of seconds in the `Retry-After`
header, or retry with backoff when it is absent. For a Claude Doc, a 422's
`error.details.error_code` is `multi_file_unavailable` when the request
does not set `multi_file_format=zip`, `document_unavailable` when the Doc
has no text to export (for example, it has no text tab or is in the trash),
`document_too_large` when the export is over 16 MiB, or

Cut at 300 lines. The page has the rest.

api/compliance/apps/code/artifacts/delete New page · 63 lines, new page

# Delete Code Artifact ## Path parameters ## Headers ## Returns ## Example ### Response (200)

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: Delete Code Artifact
url: https://platform.claude.com/docs/en/api/compliance/apps/code/artifacts/delete
---

# Delete Code Artifact

**DELETE** `/v1/compliance/apps/code/artifacts/{artifact_id}`

Permanently deletes a Code Artifact and all its versions. This is a
destructive operation that cannot be undone. A 200 response means the
deletion is initiated and the Artifact is claimed; content removal
completes asynchronously.

Returns 404 for Artifacts that don't exist or belong to another parent
organization. Returns 404 on a repeated delete of an already-deleted
Artifact.

## Path parameters

- `artifact_id: string`

  The Artifact ID (tagged ID, e.g., cart_abc123)

## Headers

- `"anthropic-version": optional string`

  The version of the Claude API you want to use.

  Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).

- `"x-api-key": optional string`

## Returns

- `type: "code_artifact_deleted"`

  Constant string confirming deletion

  default: code_artifact_deleted

- `id: string`

  The ID of the Artifact that was deleted

## Example

```bash
curl https://api.anthropic.com/v1/compliance/apps/code/artifacts/$ARTIFACT_ID \
    -X DELETE \
    -H 'anthropic-version: 2023-06-01' \
    -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
```

### Response (200)

```json
{
  "id": "cart_xyz789",
  "type": "code_artifact_deleted"
}
```

api/compliance/apps/code/artifacts/download New page · 59 lines, new page

# Download Code Artifact Content ## Path parameters ## Query parameters ## Headers ## Example

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: Download Code Artifact Content
url: https://platform.claude.com/docs/en/api/compliance/apps/code/artifacts/download
---

# Download Code Artifact Content

**GET** `/v1/compliance/apps/code/artifacts/{artifact_id}/content`

Streams an Artifact's current content as the response body. For a
Claude Doc, that is the Doc's text as a ZIP archive of Word files, one per
text tab, and the request must set `multi_file_format=zip`. For any other
Artifact, it is the latest version, as
`GET /v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}`
returns it.

Returns 404 for Artifacts that don't exist or that the API key cannot read.
Returns 400 with `error.details.error_code` `cmek_key_disabled` when the
organization's customer-managed encryption key can't be used, for example
because it is disabled or revoked. Returns 503 when the content can't be
produced right now; wait the number of seconds in the `Retry-After`
header, or retry with backoff when it is absent. For a Claude Doc, a 422's
`error.details.error_code` is `multi_file_unavailable` when the request
does not set `multi_file_format=zip`, `document_unavailable` when the Doc
has no text to export (for example, it has no text tab or is in the trash),
`document_too_large` when the export is over 16 MiB, or
`cmek_org_unsupported` when the organization uses customer-managed
encryption keys and the export can't be served for it right now. For any
other Artifact, the 422s are the version download's.

## Path parameters

- `artifact_id: string`

  The Artifact ID (tagged ID, e.g., cart_abc123)

## Query parameters

- `multi_file_format: optional string`

  Set to `zip`, its only value. A Claude Doc downloads only this way, as a ZIP archive of Word files, one per text tab. For any other Artifact it works as on the version download: when the latest version has more than one file, it comes back as a ZIP archive of its files with an index, `files.json`.

## Headers

- `"anthropic-version": optional string`

  The version of the Claude API you want to use.

  Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).

- `"x-api-key": optional string`

## Example

```bash
curl https://api.anthropic.com/v1/compliance/apps/code/artifacts/$ARTIFACT_ID/content \
    -H 'anthropic-version: 2023-06-01' \
    -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
```

api/compliance/apps/code/artifacts/list New page · 216 lines, new page

# List Code Artifacts ## Query parameters ## Headers ## Returns ## Example ### Response (200)

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: List Code Artifacts
url: https://platform.claude.com/docs/en/api/compliance/apps/code/artifacts/list
---

# List Code Artifacts

**GET** `/v1/compliance/apps/code/artifacts`

List Claude Code Artifacts owned by organizations under the parent
organization.

Results are sorted by Artifact identifier. Pages may be short or empty
while `next_page` is still set — continue until `next_page` is absent.
Artifacts are sorted by identifier (not creation time): an Artifact
published during an export may land before the cursor and be omitted, so
for a point-in-time-complete export re-enumerate after publishing
quiesces.

Artifacts owned by a since-deleted child organization are not
returned.

## Query parameters

- `limit: optional number`

  Maximum results (default: 20, max: 100)

  default: 20, minimum: 1, maximum: 100

- `organization_ids: optional array of string`

  Filter by organization IDs (accepts `org_...` or organization UUID, up to 500). Enumerate IDs via `GET /v1/compliance/organizations`.

  maxItems: 500

- `page: optional string`

  Opaque pagination token from a previous response's `next_page` field. Pass this to retrieve the next page of results. Clients should treat this value as an opaque string and not attempt to parse or interpret its contents, as the format may change without notice.

- `updated_at: optional object`

  - `gt: optional string`

    Return only Artifacts updated after this time (RFC 3339 format). See `updated_at.gte` for the completeness caveat.

    format: date-time

  - `gte: optional string`

    Return only Artifacts updated at or after this time (RFC 3339 format). Time filters match an eventually-consistent index and Artifacts published before this field was recorded never match — omit the time filter for compliance-complete enumeration. For incremental export, apply a generous overlap margin between windows and dedupe by `id`: adjacent tiling silently misses items whose index update lagged their publish.

    format: date-time

  - `lt: optional string`

    Return only Artifacts updated before this time (RFC 3339 format). Multiple time operators are AND-ed to the tightest bound. See `updated_at.gte` for the completeness caveat.

    format: date-time

  - `lte: optional string`

    Return only Artifacts updated at or before this time (RFC 3339 format). See `updated_at.gte` for the completeness caveat.

    format: date-time

- `user_ids: optional array of string`

  Filter by owner user IDs (up to 200). Enumerate IDs via `GET /v1/compliance/organizations/{org_uuid}/users`.

  maxItems: 200

## Headers

- `"anthropic-version": optional string`

  The version of the Claude API you want to use.

  Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).

- `"x-api-key": optional string`

## Returns

- `data: array of object`

  Page of Artifacts

  - `id: string`

    Artifact identifier (tagged ID)

  - `artifact_type: "claude_design" or "claude_design_systems" or "claude_docs" or 4 more`

    Which kind of Artifact this is: `code` for a site published from Claude Code, or the built-in Artifact type it was made from — `claude_docs` (Claude Docs), `claude_slides` (Slides), `claude_design` (Design), `claude_design_systems` (a design system) or `claude_motion` (Motion). `other` is an Artifact made from a built-in type this list does not name yet.

    - `"claude_design"`

    - `"claude_design_systems"`

    - `"claude_docs"`

    - `"claude_motion"`

    - `"claude_slides"`

    - `"code"`

    - `"other"`

  - `organization_uuid: string`

    Organization UUID this Artifact belongs to

  - `owner_user_id: string or null`

    Artifact owner's user identifier (tagged ID), or null for Artifacts published by an agent session rather than a user account. When set, it survives after the owner's account is deleted or the owner leaves every organization under the parent.

  - `published_version_id: string or null`

    Identifier of the version a non-owner viewer would render when `read_mode` permits them — the version the owner has pinned for non-owner readers if one is pinned, otherwise the owner's latest. When `read_mode` is `owner` no non-owner renders any version; the field still reports which version would be served were read_mode widened. Null for a Claude Doc; see `versions`.

  - `read_mode: "org" or "owner" or "public" or "users"`

    Who can view this Artifact: only its owner, a named set of users, every member of its organization, or anyone on the internet (`public`)

    - `"org"`

    - `"owner"`

    - `"public"`

    - `"users"`

  - `updated_at: string or null`

    Artifact last update timestamp, or null for Artifacts published before this field was recorded

    format: date-time

  - `user: object or null`

    Artifact owner with email, or null if the Artifact was published by an agent session, the owner's account has been deleted, or the owner is no longer a member of an organization the key may read

    - `id: string`

      User identifier (tagged ID)

    - `email_address: string`

      User's email address

  - `versions: array of object`

    Up to roughly 20 most-recently-published versions of this Artifact (older versions are not retained). Metadata only — use `GET /v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}` to download a version's content. Empty for a Claude Doc, because a Doc's versions hold only the web page that displays it, not its text. Download a Doc's text with `GET /v1/compliance/apps/code/artifacts/{artifact_id}/content?multi_file_format=zip`.

    - `id: string`

      Opaque version identifier

    - `created_at: string or null`

      When this version was published

      format: date-time

    - `name: string`

      Artifact title at this version. Falls back to the version identifier when the title for an older version is no longer retained.

- `has_more: boolean`

  Whether `next_page` is set. May be true for a page whose next page is empty — continue until `next_page` is absent.

- `next_page: string or null`

  Token to retrieve the next page. Use this as the 'page' parameter in your next request

## Example

```bash
curl https://api.anthropic.com/v1/compliance/apps/code/artifacts \
    -H 'anthropic-version: 2023-06-01' \
    -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
```

### Response (200)

```json
{
  "data": [
    {
      "id": "cart_01Tu9VwXyZaBcDeFgHiJkLmN",
      "artifact_type": "code",
      "organization_uuid": "a1b2c3d4-e5f6-4789-a012-3456789abcde",
      "owner_user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
      "published_version_id": "1741803761-9f3a",
      "read_mode": "org",
      "updated_at": "2025-03-14T09:05:17.456789Z",
      "user": {
        "id": "user_01WCz1FkmYMm4gnmykNKUu3Q",
        "email_address": "[email protected]"
      },
      "versions": [
        {
          "id": "1741803761-9f3a",
          "created_at": "2025-03-12T18:22:41.123456Z",
          "name": "Team dashboard"
        }
      ]
    }
  ],
  "has_more": true,
  "next_page": "cGFnZV90b2tlbl9leGFtcGxlXzE3MzQ1Njc4OTA="
}
```

api/compliance/apps/code/artifacts/retrieve_version New page · 64 lines, new page

# Download Code Artifact Version Content ## Path parameters ## Query parameters ## Headers ## Example

A whole new page. There's nothing to diff it against, so here is what it says.

---
title: Download Code Artifact Version Content
url: https://platform.claude.com/docs/en/api/compliance/apps/code/artifacts/retrieve_version
---

# Download Code Artifact Version Content

**GET** `/v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}`

Streams the content of one version of a Claude Code Artifact as the
response body.

Returns 404 for Artifacts that don't exist or belong to another parent
organization. A listed version id can start returning 404 if subsequent
publishes rotated it out of retained history — re-list on 404. Returns
503 while the version's content upload is still in flight or was
abandoned — retry with backoff. Returns 422 with
`error.details.error_code` `multi_file_unavailable` for a version that
has more than one file, unless the request sets `multi_file_format=zip`,
which returns those files as a ZIP archive. With `multi_file_format=zip`,
a version with more than one file, one of them with a name the API cannot
export, gets 422 `file_set_unavailable`. Do not retry a 422. A Claude
Doc's versions hold only the web page that displays the Doc and never come
back as a ZIP. That page usually has more than one file, so a Doc's version
usually gets the 422 `multi_file_unavailable`. Download the Doc's text with
`GET /v1/compliance/apps/code/artifacts/{artifact_id}/content?multi_file_format=zip`.
Oversized encoded content aborts mid-stream: headers and initial bytes arrive
but the body terminates early — an aborted chunked transfer is the
only truncation signal for encoded content. `Content-MD5` is emitted
only for identity-stored content; validate against it when present.

## Path parameters

- `artifact_id: string`

  The Artifact ID (tagged ID, e.g., cart_abc123)

- `version_id: string`

  Opaque version identifier from the Artifact's `versions` list

## Query parameters

- `multi_file_format: optional string`

  Set to `zip`, its only value, to receive a version that has more than one file as a ZIP archive of its files with an index, `files.json`. Files the artifact copied from its type (the app that displays every artifact of that type) are listed under `omitted_files` in the index, and left out of the archive, when an organization other than the artifact's owns that type. A Claude Doc's version never comes back as a ZIP: it is answered as without this parameter, except that a version with more than one file, one of them with a name the API cannot export, gets 422 `file_set_unavailable`. A version with one file is returned as that file, as without this parameter.

## Headers

- `"anthropic-version": optional string`

  The version of the Claude API you want to use.

  Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).

- `"x-api-key": optional string`

## Example

```bash
curl https://api.anthropic.com/v1/compliance/apps/code/artifacts/$ARTIFACT_ID/versions/$VERSION_ID \
    -H 'anthropic-version: 2023-06-01' \
    -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
```

api/compliance/code Page removed · 327 lines, page removed

# Code ## Code › Artifacts ### List Code Artifacts #### Query parameters #### Headers #### Returns #### Example ##### Response (200) ### Download Code Artifact Version Content #### Path parameters #### Headers #### Example ### Delete Code Artifact #### Path parameters #### Headers #### Returns #### Example ##### Response (200)

The page is gone upstream. What it last said is kept here.

Feedback