The whole hunk
from line 140, old and new numbered
/
lines
The two sides of this change are more than 400 edits apart, too far apart to line up, so this is the differ's own diff of it and the words inside a line are not marked.
from line 140
140140
141141 Per-member effective-limit report row (`GET /spend_limits/effective`).
142142
143 - `actor: object`
144
145 A user within the organization. `name` and `email_address` are
146 null when the underlying account is unavailable or has been deleted;
147 `deleted` is true only for deleted accounts.
148
149 - `type: "user_actor"`
150
151 Actor type. Always `user_actor`.
152
153 default: user_actor
154
155 - `deleted: boolean`
156
157 True only when the underlying account has been deleted.
158
159 default: false
160
161 - `email_address: string or null`
162
163 The user's email address. Null when the account is unavailable or has been deleted.
164
165 - `name: string or null`
166
167 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
168
169 - `user_id: string`
170
171 Tagged ID of the user.
143 - `actor: UserActor or ScopedAPIKeyActor`
144
145 - `UserActor object`
146
147 A user within the organization. `name` and `email_address` are
148 null when the underlying account is unavailable or has been deleted;
149 `deleted` is true only for deleted accounts.
150
151 - `type: "user_actor"`
152
153 Actor type. Always `user_actor`.
154
155 default: user_actor
156
157 - `deleted: boolean`
158
159 True only when the underlying account has been deleted.
160
161 default: false
162
163 - `email_address: string or null`
164
165 The user's email address. Null when the account is unavailable or has been deleted.
166
167 - `name: string or null`
168
169 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
170
171 - `user_id: string`
172
173 Tagged ID of the user.
174
175 - `ScopedAPIKeyActor object`
176
177 A scoped Admin API key acting on behalf of the organization.
178
179 - `type: "scoped_api_key_actor"`
180
181 default: scoped_api_key_actor
182
183 - `scoped_api_key_id: string`
172184
173185 - `amount: string or null`
174186
from line 204
192204
193205 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.
194206
195 - `scope: object`
196
197 Scope selecting a single member of the organization.
198
199 - `type: "user"`
200
201 Scope type. Always `user` for this scope.
202
203 default: user
204
205 - `user_id: string`
206
207 Tagged ID of the member the spend limit applies to.
208
209 - `source: User or SeatTier or RBACGroup or 2 more`
207 - `scope: User or SeatTier or RBACGroup or 3 more`
210208
211209 - `User object`
212210
from line 249
251249 - `type: "organization"`
252250
253251 default: organization
252
253 - `Workspace object`
254
255 Scope selecting one workspace of a Claude Console organization.
256
257 - `type: "workspace"`
258
259 Scope type. Always `workspace` for this scope.
260
261 default: workspace
262
263 - `workspace_id: string`
264
265 Tagged ID of the workspace the spend limit applies to.
266
267 - `source: User or SeatTier or RBACGroup or 3 more`
268
269 - `User object`
270
271 Scope selecting a single member of the organization.
272
273 - `type: "user"`
274
275 Scope type. Always `user` for this scope.
276
277 default: user
278
279 - `user_id: string`
280
281 Tagged ID of the member the spend limit applies to.
282
283 - `SeatTier object`
284
285 - `type: "seat_tier"`
286
287 default: seat_tier
288
289 - `seat_tier: string`
290
291 - `RBACGroup object`
292
293 - `type: "rbac_group"`
294
295 default: rbac_group
296
297 - `rbac_group_id: string`
298
299 - `OrganizationService object`
300
301 - `type: "organization_service"`
302
303 default: organization_service
304
305 - `service: string`
306
307 - `Organization object`
308
309 - `type: "organization"`
310
311 default: organization
312
313 - `Workspace object`
314
315 Scope selecting one workspace of a Claude Console organization.
316
317 - `type: "workspace"`
318
319 Scope type. Always `workspace` for this scope.
320
321 default: workspace
322
323 - `workspace_id: string`
324
325 Tagged ID of the workspace the spend limit applies to.
254326
255327 - `spend_limit_id: string`
256328
from line 515
443515
444516 Per-member effective-limit report row (`GET /spend_limits/effective`).
445517
446 - `actor: object`
447
448 A user within the organization. `name` and `email_address` are
449 null when the underlying account is unavailable or has been deleted;
450 `deleted` is true only for deleted accounts.
451
452 - `type: "user_actor"`
453
454 Actor type. Always `user_actor`.
455
456 default: user_actor
457
458 - `deleted: boolean`
459
460 True only when the underlying account has been deleted.
461
462 default: false
463
464 - `email_address: string or null`
465
466 The user's email address. Null when the account is unavailable or has been deleted.
467
468 - `name: string or null`
469
470 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
471
472 - `user_id: string`
473
474 Tagged ID of the user.
518 - `actor: UserActor or ScopedAPIKeyActor`
519
520 - `UserActor object`
521
522 A user within the organization. `name` and `email_address` are
523 null when the underlying account is unavailable or has been deleted;
524 `deleted` is true only for deleted accounts.
525
526 - `type: "user_actor"`
527
528 Actor type. Always `user_actor`.
529
530 default: user_actor
531
532 - `deleted: boolean`
533
534 True only when the underlying account has been deleted.
535
536 default: false
537
538 - `email_address: string or null`
539
540 The user's email address. Null when the account is unavailable or has been deleted.
541
542 - `name: string or null`
543
544 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
545
546 - `user_id: string`
547
548 Tagged ID of the user.
549
550 - `ScopedAPIKeyActor object`
551
552 A scoped Admin API key acting on behalf of the organization.
553
554 - `type: "scoped_api_key_actor"`
555
556 default: scoped_api_key_actor
557
558 - `scoped_api_key_id: string`
475559
476560 - `amount: string or null`
477561
from line 579
495579
496580 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.
497581
498 - `scope: object`
499
500 Scope selecting a single member of the organization.
501
502 - `type: "user"`
503
504 Scope type. Always `user` for this scope.
505
506 default: user
507
508 - `user_id: string`
509
510 Tagged ID of the member the spend limit applies to.
511
512 - `source: User or SeatTier or RBACGroup or 2 more`
582 - `scope: User or SeatTier or RBACGroup or 3 more`
513583
514584 - `User object`
515585
from line 624
554624 - `type: "organization"`
555625
556626 default: organization
627
628 - `Workspace object`
629
630 Scope selecting one workspace of a Claude Console organization.
631
632 - `type: "workspace"`
633
634 Scope type. Always `workspace` for this scope.
635
636 default: workspace
637
638 - `workspace_id: string`
639
640 Tagged ID of the workspace the spend limit applies to.
641
642 - `source: User or SeatTier or RBACGroup or 3 more`
643
644 - `User object`
645
646 Scope selecting a single member of the organization.
647
648 - `type: "user"`
649
650 Scope type. Always `user` for this scope.
651
652 default: user
653
654 - `user_id: string`
655
656 Tagged ID of the member the spend limit applies to.
657
658 - `SeatTier object`
659
660 - `type: "seat_tier"`
661
662 default: seat_tier
663
664 - `seat_tier: string`
665
666 - `RBACGroup object`
667
668 - `type: "rbac_group"`
669
670 default: rbac_group
671
672 - `rbac_group_id: string`
673
674 - `OrganizationService object`
675
676 - `type: "organization_service"`
677
678 default: organization_service
679
680 - `service: string`
681
682 - `Organization object`
683
684 - `type: "organization"`
685
686 default: organization
687
688 - `Workspace object`
689
690 Scope selecting one workspace of a Claude Console organization.
691
692 - `type: "workspace"`
693
694 Scope type. Always `workspace` for this scope.
695
696 default: workspace
697
698 - `workspace_id: string`
699
700 Tagged ID of the workspace the spend limit applies to.
557701
558702 - `spend_limit_id: string`
559703
from line 933
789933
790934 - `"weekly"`
791935
792 - `scope: User or SeatTier or RBACGroup or 2 more`
936 - `scope: User or SeatTier or RBACGroup or 3 more`
793937
794938 What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.
795939
from line 981
837981
838982 default: organization
839983
984 - `Workspace object`
985
986 Scope selecting one workspace of a Claude Console organization.
987
988 - `type: "workspace"`
989
990 Scope type. Always `workspace` for this scope.
991
992 default: workspace
993
994 - `workspace_id: string`
995
996 Tagged ID of the workspace the spend limit applies to.
997
840998 - `updated_at: string`
841999
8421000 RFC 3339 datetime at which the spend limit was last modified.
from line 1005
8471005
8481006 Per-member effective-limit report row (`GET /spend_limits/effective`).
8491007
850 - `actor: object`
851
852 A user within the organization. `name` and `email_address` are
853 null when the underlying account is unavailable or has been deleted;
854 `deleted` is true only for deleted accounts.
855
856 - `type: "user_actor"`
857
858 Actor type. Always `user_actor`.
859
860 default: user_actor
861
862 - `deleted: boolean`
863
864 True only when the underlying account has been deleted.
865
866 default: false
867
868 - `email_address: string or null`
869
870 The user's email address. Null when the account is unavailable or has been deleted.
871
872 - `name: string or null`
873
874 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
875
876 - `user_id: string`
877
878 Tagged ID of the user.
1008 - `actor: UserActor or ScopedAPIKeyActor`
1009
1010 - `UserActor object`
1011
1012 A user within the organization. `name` and `email_address` are
1013 null when the underlying account is unavailable or has been deleted;
1014 `deleted` is true only for deleted accounts.
1015
1016 - `type: "user_actor"`
1017
1018 Actor type. Always `user_actor`.
1019
1020 default: user_actor
1021
1022 - `deleted: boolean`
1023
1024 True only when the underlying account has been deleted.
1025
1026 default: false
1027
1028 - `email_address: string or null`
1029
1030 The user's email address. Null when the account is unavailable or has been deleted.
1031
1032 - `name: string or null`
1033
1034 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
1035
1036 - `user_id: string`
1037
1038 Tagged ID of the user.
1039
1040 - `ScopedAPIKeyActor object`
1041
1042 A scoped Admin API key acting on behalf of the organization.
1043
1044 - `type: "scoped_api_key_actor"`
1045
1046 default: scoped_api_key_actor
1047
1048 - `scoped_api_key_id: string`
8791049
8801050 - `amount: string or null`
8811051
from line 1069
8991069
9001070 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.
9011071
902 - `scope: object`
903
904 Scope selecting a single member of the organization.
905
906 - `type: "user"`
907
908 Scope type. Always `user` for this scope.
909
910 default: user
911
912 - `user_id: string`
913
914 Tagged ID of the member the spend limit applies to.
915
916 - `source: User or SeatTier or RBACGroup or 2 more`
1072 - `scope: User or SeatTier or RBACGroup or 3 more`
9171073
9181074 - `User object`
9191075
from line 1114
9581114 - `type: "organization"`
9591115
9601116 default: organization
1117
1118 - `Workspace object`
1119
1120 Scope selecting one workspace of a Claude Console organization.
1121
1122 - `type: "workspace"`
1123
1124 Scope type. Always `workspace` for this scope.
1125
1126 default: workspace
1127
1128 - `workspace_id: string`
1129
1130 Tagged ID of the workspace the spend limit applies to.
1131
1132 - `source: User or SeatTier or RBACGroup or 3 more`
1133
1134 - `User object`
1135
1136 Scope selecting a single member of the organization.
1137
1138 - `type: "user"`
1139
1140 Scope type. Always `user` for this scope.
1141
1142 default: user
1143
1144 - `user_id: string`
1145
1146 Tagged ID of the member the spend limit applies to.
1147
1148 - `SeatTier object`
1149
1150 - `type: "seat_tier"`
1151
1152 default: seat_tier
1153
1154 - `seat_tier: string`
1155
1156 - `RBACGroup object`
1157
1158 - `type: "rbac_group"`
1159
1160 default: rbac_group
1161
1162 - `rbac_group_id: string`
1163
1164 - `OrganizationService object`
1165
1166 - `type: "organization_service"`
1167
1168 default: organization_service
1169
1170 - `service: string`
1171
1172 - `Organization object`
1173
1174 - `type: "organization"`
1175
1176 default: organization
1177
1178 - `Workspace object`
1179
1180 Scope selecting one workspace of a Claude Console organization.
1181
1182 - `type: "workspace"`
1183
1184 Scope type. Always `workspace` for this scope.
1185
1186 default: workspace
1187
1188 - `workspace_id: string`
1189
1190 Tagged ID of the workspace the spend limit applies to.
9611191
9621192 - `spend_limit_id: string`
9631193
from line 1395
11651395
11661396 Per-member effective-limit report row (`GET /spend_limits/effective`).
11671397
1168 - `actor: object`
1169
1170 A user within the organization. `name` and `email_address` are
1171 null when the underlying account is unavailable or has been deleted;
1172 `deleted` is true only for deleted accounts.
1173
1174 - `type: "user_actor"`
1175
1176 Actor type. Always `user_actor`.
1177
1178 default: user_actor
1179
1180 - `deleted: boolean`
1181
1182 True only when the underlying account has been deleted.
1183
1184 default: false
1185
1186 - `email_address: string or null`
1187
1188 The user's email address. Null when the account is unavailable or has been deleted.
1189
1190 - `name: string or null`
1191
1192 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
1193
1194 - `user_id: string`
1195
1196 Tagged ID of the user.
1398 - `actor: UserActor or ScopedAPIKeyActor`
1399
1400 - `UserActor object`
1401
1402 A user within the organization. `name` and `email_address` are
1403 null when the underlying account is unavailable or has been deleted;
1404 `deleted` is true only for deleted accounts.
1405
1406 - `type: "user_actor"`
1407
1408 Actor type. Always `user_actor`.
1409
1410 default: user_actor
1411
1412 - `deleted: boolean`
1413
1414 True only when the underlying account has been deleted.
1415
1416 default: false
1417
1418 - `email_address: string or null`
1419
1420 The user's email address. Null when the account is unavailable or has been deleted.
1421
1422 - `name: string or null`
1423
1424 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
1425
1426 - `user_id: string`
1427
1428 Tagged ID of the user.
1429
1430 - `ScopedAPIKeyActor object`
1431
1432 A scoped Admin API key acting on behalf of the organization.
1433
1434 - `type: "scoped_api_key_actor"`
1435
1436 default: scoped_api_key_actor
1437
1438 - `scoped_api_key_id: string`
11971439
11981440 - `amount: string or null`
11991441
from line 1459
12171459
12181460 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.
12191461
1220 - `scope: object`
1221
1222 Scope selecting a single member of the organization.
1223
1224 - `type: "user"`
1225
1226 Scope type. Always `user` for this scope.
1227
1228 default: user
1229
1230 - `user_id: string`
1231
1232 Tagged ID of the member the spend limit applies to.
1233
1234 - `source: User or SeatTier or RBACGroup or 2 more`
1462 - `scope: User or SeatTier or RBACGroup or 3 more`
12351463
12361464 - `User object`
12371465
from line 1504
12761504 - `type: "organization"`
12771505
12781506 default: organization
1507
1508 - `Workspace object`
1509
1510 Scope selecting one workspace of a Claude Console organization.
1511
1512 - `type: "workspace"`
1513
1514 Scope type. Always `workspace` for this scope.
1515
1516 default: workspace
1517
1518 - `workspace_id: string`
1519
1520 Tagged ID of the workspace the spend limit applies to.
1521
1522 - `source: User or SeatTier or RBACGroup or 3 more`
1523
1524 - `User object`
1525
1526 Scope selecting a single member of the organization.
1527
1528 - `type: "user"`
1529
1530 Scope type. Always `user` for this scope.
1531
1532 default: user
1533
1534 - `user_id: string`
1535
1536 Tagged ID of the member the spend limit applies to.
1537
1538 - `SeatTier object`
1539
1540 - `type: "seat_tier"`
1541
1542 default: seat_tier
1543
1544 - `seat_tier: string`
1545
1546 - `RBACGroup object`
1547
1548 - `type: "rbac_group"`
1549
1550 default: rbac_group
1551
1552 - `rbac_group_id: string`
1553
1554 - `OrganizationService object`
1555
1556 - `type: "organization_service"`
1557
1558 default: organization_service
1559
1560 - `service: string`
1561
1562 - `Organization object`
1563
1564 - `type: "organization"`
1565
1566 default: organization
1567
1568 - `Workspace object`
1569
1570 Scope selecting one workspace of a Claude Console organization.
1571
1572 - `type: "workspace"`
1573
1574 Scope type. Always `workspace` for this scope.
1575
1576 default: workspace
1577
1578 - `workspace_id: string`
1579
1580 Tagged ID of the workspace the spend limit applies to.
12791581
12801582 - `spend_limit_id: string`
12811583
from line 1752
14501752
14511753 Per-member effective-limit report row (`GET /spend_limits/effective`).
14521754
1453 - `actor: object`
1755 - `actor: UserActor or ScopedAPIKeyActor`
1756
1757 - `UserActor object`
1758
1759 A user within the organization. `name` and `email_address` are
1760 null when the underlying account is unavailable or has been deleted;
1761 `deleted` is true only for deleted accounts.
1762
1763 - `type: "user_actor"`
1764
1765 Actor type. Always `user_actor`.
1766
1767 default: user_actor
1768
1769 - `deleted: boolean`
1770
1771 True only when the underlying account has been deleted.
1772
1773 default: false
1774
1775 - `email_address: string or null`
1776
1777 The user's email address. Null when the account is unavailable or has been deleted.
1778
1779 - `name: string or null`
1780
1781 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
1782
1783 - `user_id: string`
1784
1785 Tagged ID of the user.
1786
1787 - `ScopedAPIKeyActor object`
1788
1789 A scoped Admin API key acting on behalf of the organization.
1790
1791 - `type: "scoped_api_key_actor"`
1792
1793 default: scoped_api_key_actor
1794
1795 - `scoped_api_key_id: string`
1796
1797 - `amount: string or null`
1798
1799 Effective limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD). `null` means no limit applies for this row's `period` — each period resolves independently, so another period may still cap this member.
1800
1801 - `currency: string`
1802
1803 ISO 4217 code of the organization's billing currency; the unit for `amount` and `period_to_date_spend`.
1804
1805 - `period: "daily" or "monthly" or "weekly"`
1806
1807 Period this row's effective limit and spend are reported for.
1808
1809 - `"daily"`
1810
1811 - `"monthly"`
1812
1813 - `"weekly"`
1814
1815 - `period_to_date_spend: string`
1816
1817 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.
1818
1819 - `scope: User or SeatTier or RBACGroup or 3 more`
1820
1821 - `User object`
1822
1823 Scope selecting a single member of the organization.
1824
1825 - `type: "user"`
1826
1827 Scope type. Always `user` for this scope.
1828
1829 default: user
1830
1831 - `user_id: string`
1832
1833 Tagged ID of the member the spend limit applies to.
1834
1835 - `SeatTier object`
1836
1837 - `type: "seat_tier"`
1838
1839 default: seat_tier
1840
1841 - `seat_tier: string`
1842
1843 - `RBACGroup object`
1844
1845 - `type: "rbac_group"`
1846
1847 default: rbac_group
1848
1849 - `rbac_group_id: string`
1850
1851 - `OrganizationService object`
1852
1853 - `type: "organization_service"`
1854
1855 default: organization_service
1856
1857 - `service: string`
1858
1859 - `Organization object`
1860
1861 - `type: "organization"`
1862
1863 default: organization
1864
1865 - `Workspace object`
1866
1867 Scope selecting one workspace of a Claude Console organization.
1868
1869 - `type: "workspace"`
1870
1871 Scope type. Always `workspace` for this scope.
1872
1873 default: workspace
1874
1875 - `workspace_id: string`
1876
1877 Tagged ID of the workspace the spend limit applies to.
1878
1879 - `source: User or SeatTier or RBACGroup or 3 more`
1880
1881 - `User object`
1882
1883 Scope selecting a single member of the organization.
1884
1885 - `type: "user"`
1886
1887 Scope type. Always `user` for this scope.
1888
1889 default: user
1890
1891 - `user_id: string`
1892
1893 Tagged ID of the member the spend limit applies to.
1894
1895 - `SeatTier object`
1896
1897 - `type: "seat_tier"`
1898
1899 default: seat_tier
1900
1901 - `seat_tier: string`
1902
1903 - `RBACGroup object`
1904
1905 - `type: "rbac_group"`
1906
1907 default: rbac_group
1908
1909 - `rbac_group_id: string`
1910
1911 - `OrganizationService object`
1912
1913 - `type: "organization_service"`
1914
1915 default: organization_service
1916
1917 - `service: string`
1918
1919 - `Organization object`
1920
1921 - `type: "organization"`
1922
1923 default: organization
1924
1925 - `Workspace object`
1926
1927 Scope selecting one workspace of a Claude Console organization.
1928
1929 - `type: "workspace"`
1930
1931 Scope type. Always `workspace` for this scope.
1932
1933 default: workspace
1934
1935 - `workspace_id: string`
1936
1937 Tagged ID of the workspace the spend limit applies to.
1938
1939 - `spend_limit_id: string`
1940
1941 - `status: "approved" or "denied" or "pending"`
1942
1943 - `"approved"`
1944
1945 - `"denied"`
1946
1947 - `"pending"`
1948
1949### Increase Request Approve Response
1950
1951- `IncreaseRequestApproveResponse object`
1952
1953 - `type: "spend_limit_increase_request"`
1954
1955 default: spend_limit_increase_request
1956
1957 - `id: string`
1958
1959 - `actor: object`
1960
1961 A user within the organization. `name` and `email_address` are
1962 null when the underlying account is unavailable or has been deleted;
1963 `deleted` is true only for deleted accounts.
1964
1965 - `type: "user_actor"`
1966
1967 Actor type. Always `user_actor`.
1968
1969 default: user_actor
1970
1971 - `deleted: boolean`
1972
1973 True only when the underlying account has been deleted.
1974
1975 default: false
1976
1977 - `email_address: string or null`
1978
1979 The user's email address. Null when the account is unavailable or has been deleted.
1980
1981 - `name: string or null`
1982
1983 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
1984
1985 - `user_id: string`
1986
1987 Tagged ID of the user.
1988
1989 - `created_at: string`
1990
1991 format: date-time
1992
1993 - `period: "daily" or "monthly" or "weekly"`
1994
1995 - `"daily"`
1996
1997 - `"monthly"`
1998
1999 - `"weekly"`
2000
2001 - `resolved_at: string or null`
2002
2003 format: date-time
2004
2005 - `resolved_by: UserActor or ScopedAPIKeyActor or null`
2006
2007 - `UserActor object`
14542008
14552009 A user within the organization. `name` and `email_address` are
14562010 null when the underlying account is unavailable or has been deleted;
from line 2034
14802034
14812035 Tagged ID of the user.
14822036
2037 - `ScopedAPIKeyActor object`
2038
2039 A scoped Admin API key acting on behalf of the organization.
2040
2041 - `type: "scoped_api_key_actor"`
2042
2043 default: scoped_api_key_actor
2044
2045 - `scoped_api_key_id: string`
2046
2047 - `spend_limit: BetaSpendLimit`
2048
2049 A configured spend limit: a cap on metered spend for one scope and period.
2050
2051 - `type: "spend_limit"`
2052
2053 Object type. Always `spend_limit`.
2054
2055 default: spend_limit
2056
2057 - `id: string`
2058
2059 Unique tagged ID of the spend limit (`spl_...`).
2060
14832061 - `amount: string or null`
14842062
2063 Limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD): "50000" is $500.00. `null` means no numeric cap is configured at this scope — see the effective report for whether a limit applies.
2064
2065 - `created_at: string`
2066
2067 RFC 3339 datetime at which the spend limit was created.
2068
2069 format: date-time
2070
2071 - `currency: string`
2072
2073 ISO 4217 code of the organization's billing currency; the unit for `amount`.
2074
2075 - `period: "daily" or "monthly" or "weekly"`
2076
2077 Length of the window the limit resets over. `amount` caps spend within each period.
2078
2079 - `"daily"`
2080
2081 - `"monthly"`
2082
2083 - `"weekly"`
2084
2085 - `scope: User or SeatTier or RBACGroup or 3 more`
2086
2087 What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.
2088
2089 - `User object`
2090
2091 Scope selecting a single member of the organization.
2092
2093 - `type: "user"`
2094
2095 Scope type. Always `user` for this scope.
2096
2097 default: user
2098
2099 - `user_id: string`
2100
2101 Tagged ID of the member the spend limit applies to.
2102
2103 - `SeatTier object`
2104
2105 - `type: "seat_tier"`
2106
2107 default: seat_tier
2108
2109 - `seat_tier: string`
2110
2111 - `RBACGroup object`
2112
2113 - `type: "rbac_group"`
2114
2115 default: rbac_group
2116
2117 - `rbac_group_id: string`
2118
2119 - `OrganizationService object`
2120
2121 - `type: "organization_service"`
2122
2123 default: organization_service
2124
2125 - `service: string`
2126
2127 - `Organization object`
2128
2129 - `type: "organization"`
2130
2131 default: organization
2132
2133 - `Workspace object`
2134
2135 Scope selecting one workspace of a Claude Console organization.
2136
2137 - `type: "workspace"`
2138
2139 Scope type. Always `workspace` for this scope.
2140
2141 default: workspace
2142
2143 - `workspace_id: string`
2144
2145 Tagged ID of the workspace the spend limit applies to.
2146
2147 - `updated_at: string`
2148
2149 RFC 3339 datetime at which the spend limit was last modified.
2150
2151 format: date-time
2152
2153 - `spend_summary: BetaSpendSummary or null`
2154
2155 Per-member effective-limit report row (`GET /spend_limits/effective`).
2156
2157 - `actor: UserActor or ScopedAPIKeyActor`
2158
2159 - `UserActor object`
2160
2161 A user within the organization. `name` and `email_address` are
2162 null when the underlying account is unavailable or has been deleted;
2163 `deleted` is true only for deleted accounts.
2164
2165 - `type: "user_actor"`
2166
2167 Actor type. Always `user_actor`.
2168
2169 default: user_actor
2170
2171 - `deleted: boolean`
2172
2173 True only when the underlying account has been deleted.
2174
2175 default: false
2176
2177 - `email_address: string or null`
2178
2179 The user's email address. Null when the account is unavailable or has been deleted.
2180
2181 - `name: string or null`
2182
2183 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
2184
2185 - `user_id: string`
2186
2187 Tagged ID of the user.
2188
2189 - `ScopedAPIKeyActor object`
2190
2191 A scoped Admin API key acting on behalf of the organization.
2192
2193 - `type: "scoped_api_key_actor"`
2194
2195 default: scoped_api_key_actor
2196
2197 - `scoped_api_key_id: string`
2198
2199 - `amount: string or null`
2200
14852201 Effective limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD). `null` means no limit applies for this row's `period` — each period resolves independently, so another period may still cap this member.
14862202
14872203 - `currency: string`
from line 2218
15022218
15032219 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.
15042220
1505 - `scope: object`
1506
1507 Scope selecting a single member of the organization.
1508
1509 - `type: "user"`
1510
1511 Scope type. Always `user` for this scope.
1512
1513 default: user
1514
1515 - `user_id: string`
1516
1517 Tagged ID of the member the spend limit applies to.
1518
1519 - `source: User or SeatTier or RBACGroup or 2 more`
2221 - `scope: User or SeatTier or RBACGroup or 3 more`
15202222
15212223 - `User object`
15222224
from line 2264
15622264
15632265 default: organization
15642266
2267 - `Workspace object`
2268
2269 Scope selecting one workspace of a Claude Console organization.
2270
2271 - `type: "workspace"`
2272
2273 Scope type. Always `workspace` for this scope.
2274
2275 default: workspace
2276
2277 - `workspace_id: string`
2278
2279 Tagged ID of the workspace the spend limit applies to.
2280
2281 - `source: User or SeatTier or RBACGroup or 3 more`
2282
2283 - `User object`
2284
2285 Scope selecting a single member of the organization.
2286
2287 - `type: "user"`
2288
2289 Scope type. Always `user` for this scope.
2290
2291 default: user
2292
2293 - `user_id: string`
2294
2295 Tagged ID of the member the spend limit applies to.
2296
2297 - `SeatTier object`
2298
2299 - `type: "seat_tier"`
2300
2301 default: seat_tier
2302
2303 - `seat_tier: string`
2304
2305 - `RBACGroup object`
2306
2307 - `type: "rbac_group"`
2308
2309 default: rbac_group
2310
2311 - `rbac_group_id: string`
2312
2313 - `OrganizationService object`
2314
2315 - `type: "organization_service"`
2316
2317 default: organization_service
2318
2319 - `service: string`
2320
2321 - `Organization object`
2322
2323 - `type: "organization"`
2324
2325 default: organization
2326
2327 - `Workspace object`
2328
2329 Scope selecting one workspace of a Claude Console organization.
2330
2331 - `type: "workspace"`
2332
2333 Scope type. Always `workspace` for this scope.
2334
2335 default: workspace
2336
2337 - `workspace_id: string`
2338
2339 Tagged ID of the workspace the spend limit applies to.
2340
15652341 - `spend_limit_id: string`
15662342
15672343 - `status: "approved" or "denied" or "pending"`
from line 2347
15712347 - `"denied"`
15722348
15732349 - `"pending"`
1574
1575### Increase Request Approve Response
1576
1577- `IncreaseRequestApproveResponse object`
1578
1579 - `type: "spend_limit_increase_request"`
1580
1581 default: spend_limit_increase_request
1582
1583 - `id: string`
1584
1585 - `actor: object`
1586
1587 A user within the organization. `name` and `email_address` are
1588 null when the underlying account is unavailable or has been deleted;
1589 `deleted` is true only for deleted accounts.
1590
1591 - `type: "user_actor"`
1592
1593 Actor type. Always `user_actor`.
1594
1595 default: user_actor
1596
1597 - `deleted: boolean`
1598
1599 True only when the underlying account has been deleted.
1600
1601 default: false
1602
1603 - `email_address: string or null`
1604
1605 The user's email address. Null when the account is unavailable or has been deleted.
1606
1607 - `name: string or null`
1608
1609 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
1610
1611 - `user_id: string`
1612
1613 Tagged ID of the user.
1614
1615 - `created_at: string`
1616
1617 format: date-time
1618
1619 - `period: "daily" or "monthly" or "weekly"`
1620
1621 - `"daily"`
1622
1623 - `"monthly"`
1624
1625 - `"weekly"`
1626
1627 - `resolved_at: string or null`
1628
1629 format: date-time
1630
1631 - `resolved_by: UserActor or ScopedAPIKeyActor or null`
1632
1633 - `UserActor object`
1634
1635 A user within the organization. `name` and `email_address` are
1636 null when the underlying account is unavailable or has been deleted;
1637 `deleted` is true only for deleted accounts.
1638
1639 - `type: "user_actor"`
1640
1641 Actor type. Always `user_actor`.
1642
1643 default: user_actor
1644
1645 - `deleted: boolean`
1646
1647 True only when the underlying account has been deleted.
1648
1649 default: false
1650
1651 - `email_address: string or null`
1652
1653 The user's email address. Null when the account is unavailable or has been deleted.
1654
1655 - `name: string or null`
1656
1657 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
1658
1659 - `user_id: string`
1660
1661 Tagged ID of the user.
1662
1663 - `ScopedAPIKeyActor object`
1664
1665 A scoped Admin API key acting on behalf of the organization.
1666
1667 - `type: "scoped_api_key_actor"`
1668
1669 default: scoped_api_key_actor
1670
1671 - `scoped_api_key_id: string`
1672
1673 - `spend_limit: BetaSpendLimit`
1674
1675 A configured spend limit: a cap on metered spend for one scope and period.
1676
1677 - `type: "spend_limit"`
1678
1679 Object type. Always `spend_limit`.
1680
1681 default: spend_limit
1682
1683 - `id: string`
1684
1685 Unique tagged ID of the spend limit (`spl_...`).
1686
1687 - `amount: string or null`
1688
1689 Limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD): "50000" is $500.00. `null` means no numeric cap is configured at this scope — see the effective report for whether a limit applies.
1690
1691 - `created_at: string`
1692
1693 RFC 3339 datetime at which the spend limit was created.
1694
1695 format: date-time
1696
1697 - `currency: string`
1698
1699 ISO 4217 code of the organization's billing currency; the unit for `amount`.
1700
1701 - `period: "daily" or "monthly" or "weekly"`
1702
1703 Length of the window the limit resets over. `amount` caps spend within each period.
1704
1705 - `"daily"`
1706
1707 - `"monthly"`
1708
1709 - `"weekly"`
1710
1711 - `scope: User or SeatTier or RBACGroup or 2 more`
1712
1713 What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.
1714
1715 - `User object`
1716
1717 Scope selecting a single member of the organization.
1718
1719 - `type: "user"`
1720
1721 Scope type. Always `user` for this scope.
1722
1723 default: user
1724
1725 - `user_id: string`
1726
1727 Tagged ID of the member the spend limit applies to.
1728
1729 - `SeatTier object`
1730
1731 - `type: "seat_tier"`
1732
1733 default: seat_tier
1734
1735 - `seat_tier: string`
1736
1737 - `RBACGroup object`
1738
1739 - `type: "rbac_group"`
1740
1741 default: rbac_group
1742
1743 - `rbac_group_id: string`
1744
1745 - `OrganizationService object`
1746
1747 - `type: "organization_service"`
1748
1749 default: organization_service
1750
1751 - `service: string`
1752
1753 - `Organization object`
1754
1755 - `type: "organization"`
1756
1757 default: organization
1758
1759 - `updated_at: string`
1760
1761 RFC 3339 datetime at which the spend limit was last modified.
1762
1763 format: date-time
1764
1765 - `spend_summary: BetaSpendSummary or null`
1766
1767 Per-member effective-limit report row (`GET /spend_limits/effective`).
1768
1769 - `actor: object`
1770
1771 A user within the organization. `name` and `email_address` are
1772 null when the underlying account is unavailable or has been deleted;
1773 `deleted` is true only for deleted accounts.
1774
1775 - `type: "user_actor"`
1776
1777 Actor type. Always `user_actor`.
1778
1779 default: user_actor
1780
1781 - `deleted: boolean`
1782
1783 True only when the underlying account has been deleted.
1784
1785 default: false
1786
1787 - `email_address: string or null`
1788
1789 The user's email address. Null when the account is unavailable or has been deleted.
1790
1791 - `name: string or null`
1792
1793 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
1794
1795 - `user_id: string`
1796
1797 Tagged ID of the user.
1798
1799 - `amount: string or null`
1800
1801 Effective limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD). `null` means no limit applies for this row's `period` — each period resolves independently, so another period may still cap this member.
1802
1803 - `currency: string`
1804
1805 ISO 4217 code of the organization's billing currency; the unit for `amount` and `period_to_date_spend`.
1806
1807 - `period: "daily" or "monthly" or "weekly"`
1808
1809 Period this row's effective limit and spend are reported for.
1810
1811 - `"daily"`
1812
1813 - `"monthly"`
1814
1815 - `"weekly"`
1816
1817 - `period_to_date_spend: string`
1818
1819 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.
1820
1821 - `scope: object`
1822
1823 Scope selecting a single member of the organization.
1824
1825 - `type: "user"`
1826
1827 Scope type. Always `user` for this scope.
1828
1829 default: user
1830
1831 - `user_id: string`
1832
1833 Tagged ID of the member the spend limit applies to.
1834
1835 - `source: User or SeatTier or RBACGroup or 2 more`
1836
1837 - `User object`
1838
1839 Scope selecting a single member of the organization.
1840
1841 - `type: "user"`
1842
1843 Scope type. Always `user` for this scope.
1844
1845 default: user
1846
1847 - `user_id: string`
1848
1849 Tagged ID of the member the spend limit applies to.
1850
1851 - `SeatTier object`
1852
1853 - `type: "seat_tier"`
1854
1855 default: seat_tier
1856
1857 - `seat_tier: string`
1858
1859 - `RBACGroup object`
1860
1861 - `type: "rbac_group"`
1862
1863 default: rbac_group
1864
1865 - `rbac_group_id: string`
1866
1867 - `OrganizationService object`
1868
1869 - `type: "organization_service"`
1870
1871 default: organization_service
1872
1873 - `service: string`
1874
1875 - `Organization object`
1876
1877 - `type: "organization"`
1878
1879 default: organization
1880
1881 - `spend_limit_id: string`
1882
1883 - `status: "approved" or "denied" or "pending"`
1884
1885 - `"approved"`
1886
1887 - `"denied"`
1888
1889 - `"pending"`
18902350