Spend Limits changedapi/beta/organization/spend_limits
Nearest release: v2.1.286, published 6 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+275added
Lines−247removed
From line
63
where the diff opens
First seen
10 Sep 2026
this site's first read of the page
Recorded edits7to this page, all time
### Beta Spend Limit Period
The whole hunk
from line 63, old and new numbered
/
from line 63
6363
6464 Tagged ID of the workspace the spend limit applies to.
6565
66- `period: optional "daily" or "monthly" or "weekly"`
66- `period: optional BetaSpendLimitPeriod`
6767
6868 - `"daily"`
6969
from line 101
101101
102102 ISO 4217 code of the organization's billing currency; the unit for `amount`.
103103
104 - `period: "daily" or "monthly" or "weekly"`
104 - `period: BetaSpendLimitPeriod`
105105
106106 Length of the window the limit resets over. `amount` caps spend within each period.
107107
from line 204
204204 "amount": "50000",
205205 "created_at": "2019-12-27T18:11:19.117Z",
206206 "currency": "USD",
207 "period": "monthly",
207 "period": "daily",
208208 "scope": {
209209 "type": "user",
210210 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
from line 256
256256
257257 ISO 4217 code of the organization's billing currency; the unit for `amount`.
258258
259 - `period: "daily" or "monthly" or "weekly"`
259 - `period: BetaSpendLimitPeriod`
260260
261261 Length of the window the limit resets over. `amount` caps spend within each period.
262262
from line 350
350350 "amount": "50000",
351351 "created_at": "2019-12-27T18:11:19.117Z",
352352 "currency": "USD",
353 "period": "monthly",
353 "period": "daily",
354354 "scope": {
355355 "type": "user",
356356 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
from line 498
498498
499499 ISO 4217 code of the organization's billing currency; the unit for `amount` and `period_to_date_spend`.
500500
501 - `period: "daily" or "monthly" or "weekly"`
501 - `period: BetaSpendLimitPeriod`
502502
503503 Period this row's effective limit and spend are reported for.
504504
from line 659
659659 },
660660 "amount": "50000",
661661 "currency": "USD",
662 "period": "monthly",
662 "period": "daily",
663663 "period_to_date_spend": "12050.5",
664664 "scope": {
665665 "type": "user",
from line 708
708708
709709 ISO 4217 code of the organization's billing currency; the unit for `amount`.
710710
711 - `period: "daily" or "monthly" or "weekly"`
711 - `period: BetaSpendLimitPeriod`
712712
713713 Length of the window the limit resets over. `amount` caps spend within each period.
714714
from line 786
786786
787787 format: date-time
788788
789### Beta Spend Limit Period
790
791- `BetaSpendLimitPeriod = "daily" or "monthly" or "weekly"`
792
793 - `"daily"`
794
795 - `"monthly"`
796
797 - `"weekly"`
798
789799### Beta Spend Summary
790800
791801- `BetaSpendSummary object`
from line 852
842852
843853 ISO 4217 code of the organization's billing currency; the unit for `amount` and `period_to_date_spend`.
844854
845 - `period: "daily" or "monthly" or "weekly"`
855 - `period: BetaSpendLimitPeriod`
846856
847857 Period this row's effective limit and spend are reported for.
848858
from line 1023
10131023
10141024 Opaque cursor from a previous response's `next_page`.
10151025
1016- `status: optional array of "approved" or "denied" or "pending"`
1026- `status: optional array of BetaSpendLimitIncreaseRequestStatus`
10171027
10181028 Filter by status. Omit to return all.
10191029
from line 1043
10331043
10341044 - `id: string`
10351045
1036 - `actor: object`
1046 - `actor: UserActor or ScopedAPIKeyActor`
10371047
1038 A user within the organization. `name` and `email_address` are
1039 null when the underlying account is unavailable or has been deleted;
1040 `deleted` is true only for deleted accounts.
1048 - `UserActor object`
10411049
1042 - `type: "user_actor"`
1050 A user within the organization. `name` and `email_address` are
1051 null when the underlying account is unavailable or has been deleted;
1052 `deleted` is true only for deleted accounts.
10431053
1044 Actor type. Always `user_actor`.
1054 - `type: "user_actor"`
10451055
1046 default: user_actor
1056 Actor type. Always `user_actor`.
10471057
1048 - `deleted: boolean`
1058 default: user_actor
10491059
1050 True only when the underlying account has been deleted.
1060 - `deleted: boolean`
10511061
1052 default: false
1062 True only when the underlying account has been deleted.
10531063
1054 - `email_address: string or null`
1064 default: false
10551065
1056 The user's email address. Null when the account is unavailable or has been deleted.
1066 - `email_address: string or null`
10571067
1058 - `name: string or null`
1068 The user's email address. Null when the account is unavailable or has been deleted.
10591069
1060 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
1070 - `name: string or null`
10611071
1062 - `user_id: string`
1072 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
10631073
1064 Tagged ID of the user.
1074 - `user_id: string`
10651075
1076 Tagged ID of the user.
1077
1078 - `ScopedAPIKeyActor object`
1079
1080 A scoped Admin API key acting on behalf of the organization.
1081
1082 - `type: "scoped_api_key_actor"`
1083
1084 default: scoped_api_key_actor
1085
1086 - `scoped_api_key_id: string`
1087
10661088 - `created_at: string`
10671089
10681090 format: date-time
10691091
1070 - `period: "daily" or "monthly" or "weekly"`
1092 - `period: BetaSpendLimitPeriod`
10711093
10721094 - `"daily"`
10731095
from line 1197
11751197
11761198 ISO 4217 code of the organization's billing currency; the unit for `amount` and `period_to_date_spend`.
11771199
1178 - `period: "daily" or "monthly" or "weekly"`
1200 - `period: BetaSpendLimitPeriod`
11791201
11801202 Period this row's effective limit and spend are reported for.
11811203
1182 - `"daily"`
1183
1184 - `"monthly"`
1185
1186 - `"weekly"`
1187
11881204 - `period_to_date_spend: string`
11891205
11901206 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.
from line 1327
13111327
13121328 - `spend_limit_id: string`
13131329
1314 - `status: "approved" or "denied" or "pending"`
1330 - `status: BetaSpendLimitIncreaseRequestStatus`
13151331
13161332 - `"approved"`
13171333
from line 1360
13441360 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
13451361 },
13461362 "created_at": "2019-12-27T18:11:19.117Z",
1347 "period": "monthly",
1363 "period": "daily",
13481364 "resolved_at": "2019-12-27T18:11:19.117Z",
13491365 "resolved_by": {
13501366 "deleted": true,
from line 1379
13631379 },
13641380 "amount": "50000",
13651381 "currency": "USD",
1366 "period": "monthly",
1382 "period": "daily",
13671383 "period_to_date_spend": "12050.5",
13681384 "scope": {
13691385 "type": "user",
from line 1424
14081424
14091425 - `id: string`
14101426
1411 - `actor: object`
1427 - `actor: UserActor or ScopedAPIKeyActor`
14121428
1413 A user within the organization. `name` and `email_address` are
1414 null when the underlying account is unavailable or has been deleted;
1415 `deleted` is true only for deleted accounts.
1429 - `UserActor object`
14161430
1417 - `type: "user_actor"`
1431 A user within the organization. `name` and `email_address` are
1432 null when the underlying account is unavailable or has been deleted;
1433 `deleted` is true only for deleted accounts.
14181434
1419 Actor type. Always `user_actor`.
1435 - `type: "user_actor"`
14201436
1421 default: user_actor
1437 Actor type. Always `user_actor`.
14221438
1423 - `deleted: boolean`
1439 default: user_actor
14241440
1425 True only when the underlying account has been deleted.
1441 - `deleted: boolean`
14261442
1427 default: false
1443 True only when the underlying account has been deleted.
14281444
1429 - `email_address: string or null`
1445 default: false
14301446
1431 The user's email address. Null when the account is unavailable or has been deleted.
1447 - `email_address: string or null`
14321448
1433 - `name: string or null`
1449 The user's email address. Null when the account is unavailable or has been deleted.
14341450
1435 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
1451 - `name: string or null`
14361452
1437 - `user_id: string`
1453 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
14381454
1439 Tagged ID of the user.
1455 - `user_id: string`
14401456
1457 Tagged ID of the user.
1458
1459 - `ScopedAPIKeyActor object`
1460
1461 A scoped Admin API key acting on behalf of the organization.
1462
1463 - `type: "scoped_api_key_actor"`
1464
1465 default: scoped_api_key_actor
1466
1467 - `scoped_api_key_id: string`
1468
14411469 - `created_at: string`
14421470
14431471 format: date-time
14441472
1445 - `period: "daily" or "monthly" or "weekly"`
1473 - `period: BetaSpendLimitPeriod`
14461474
14471475 - `"daily"`
14481476
from line 1578
15501578
15511579 ISO 4217 code of the organization's billing currency; the unit for `amount` and `period_to_date_spend`.
15521580
1553 - `period: "daily" or "monthly" or "weekly"`
1581 - `period: BetaSpendLimitPeriod`
15541582
15551583 Period this row's effective limit and spend are reported for.
15561584
1557 - `"daily"`
1558
1559 - `"monthly"`
1560
1561 - `"weekly"`
1562
15631585 - `period_to_date_spend: string`
15641586
15651587 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.
from line 1708
16861708
16871709 - `spend_limit_id: string`
16881710
1689 - `status: "approved" or "denied" or "pending"`
1711 - `status: BetaSpendLimitIncreaseRequestStatus`
16901712
16911713 - `"approved"`
16921714
from line 1737
17151737 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
17161738 },
17171739 "created_at": "2019-12-27T18:11:19.117Z",
1718 "period": "monthly",
1740 "period": "daily",
17191741 "resolved_at": "2019-12-27T18:11:19.117Z",
17201742 "resolved_by": {
17211743 "deleted": true,
from line 1756
17341756 },
17351757 "amount": "50000",
17361758 "currency": "USD",
1737 "period": "monthly",
1759 "period": "daily",
17381760 "period_to_date_spend": "12050.5",
17391761 "scope": {
17401762 "type": "user",
from line 1796
17741796
17751797 New per-user spend limit as a non-negative integer decimal string (minor units).
17761798
1777- `period: optional "daily" or "monthly" or "weekly" or null`
1799- `period: optional BetaSpendLimitPeriod or null`
17781800
17791801 - `"daily"`
17801802
from line 1814
17921814
17931815- `id: string`
17941816
1795- `actor: object`
1817- `actor: UserActor or ScopedAPIKeyActor`
17961818
1797 A user within the organization. `name` and `email_address` are
1798 null when the underlying account is unavailable or has been deleted;
1799 `deleted` is true only for deleted accounts.
1819 - `UserActor object`
18001820
1801 - `type: "user_actor"`
1821 A user within the organization. `name` and `email_address` are
1822 null when the underlying account is unavailable or has been deleted;
1823 `deleted` is true only for deleted accounts.
18021824
1803 Actor type. Always `user_actor`.
1825 - `type: "user_actor"`
18041826
1805 default: user_actor
1827 Actor type. Always `user_actor`.
18061828
1807 - `deleted: boolean`
1829 default: user_actor
18081830
1809 True only when the underlying account has been deleted.
1831 - `deleted: boolean`
18101832
1811 default: false
1833 True only when the underlying account has been deleted.
18121834
1813 - `email_address: string or null`
1835 default: false
18141836
1815 The user's email address. Null when the account is unavailable or has been deleted.
1837 - `email_address: string or null`
18161838
1817 - `name: string or null`
1839 The user's email address. Null when the account is unavailable or has been deleted.
18181840
1819 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
1841 - `name: string or null`
18201842
1821 - `user_id: string`
1843 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
18221844
1823 Tagged ID of the user.
1845 - `user_id: string`
18241846
1847 Tagged ID of the user.
1848
1849 - `ScopedAPIKeyActor object`
1850
1851 A scoped Admin API key acting on behalf of the organization.
1852
1853 - `type: "scoped_api_key_actor"`
1854
1855 default: scoped_api_key_actor
1856
1857 - `scoped_api_key_id: string`
1858
18251859- `created_at: string`
18261860
18271861 format: date-time
18281862
1829- `period: "daily" or "monthly" or "weekly"`
1863- `period: BetaSpendLimitPeriod`
18301864
18311865 - `"daily"`
18321866
from line 1942
19081942
19091943 ISO 4217 code of the organization's billing currency; the unit for `amount`.
19101944
1911 - `period: "daily" or "monthly" or "weekly"`
1945 - `period: BetaSpendLimitPeriod`
19121946
19131947 Length of the window the limit resets over. `amount` caps spend within each period.
19141948
1915 - `"daily"`
1916
1917 - `"monthly"`
1918
1919 - `"weekly"`
1920
19211949 - `scope: User or SeatTier or RBACGroup or 3 more`
19221950
19231951 What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.
from line 2068
20402068
20412069 ISO 4217 code of the organization's billing currency; the unit for `amount` and `period_to_date_spend`.
20422070
2043 - `period: "daily" or "monthly" or "weekly"`
2071 - `period: BetaSpendLimitPeriod`
20442072
20452073 Period this row's effective limit and spend are reported for.
20462074
2047 - `"daily"`
2048
2049 - `"monthly"`
2050
2051 - `"weekly"`
2052
20532075 - `period_to_date_spend: string`
20542076
20552077 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.
from line 2198
21762198
21772199 - `spend_limit_id: string`
21782200
2179- `status: "approved" or "denied" or "pending"`
2201- `status: BetaSpendLimitIncreaseRequestStatus`
21802202
21812203 - `"approved"`
21822204
from line 2232
22102232 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
22112233 },
22122234 "created_at": "2019-12-27T18:11:19.117Z",
2213 "period": "monthly",
2235 "period": "daily",
22142236 "resolved_at": "2019-12-27T18:11:19.117Z",
22152237 "resolved_by": {
22162238 "deleted": true,
from line 2246
22242246 "amount": "50000",
22252247 "created_at": "2019-12-27T18:11:19.117Z",
22262248 "currency": "USD",
2227 "period": "monthly",
2249 "period": "daily",
22282250 "scope": {
22292251 "type": "user",
22302252 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
from line 2264
22422264 },
22432265 "amount": "50000",
22442266 "currency": "USD",
2245 "period": "monthly",
2267 "period": "daily",
22462268 "period_to_date_spend": "12050.5",
22472269 "scope": {
22482270 "type": "user",
from line 2310
22882310
22892311 - `id: string`
22902312
2291 - `actor: object`
2313 - `actor: UserActor or ScopedAPIKeyActor`
22922314
2293 A user within the organization. `name` and `email_address` are
2294 null when the underlying account is unavailable or has been deleted;
2295 `deleted` is true only for deleted accounts.
2315 - `UserActor object`
22962316
2297 - `type: "user_actor"`
2317 A user within the organization. `name` and `email_address` are
2318 null when the underlying account is unavailable or has been deleted;
2319 `deleted` is true only for deleted accounts.
22982320
2299 Actor type. Always `user_actor`.
2321 - `type: "user_actor"`
23002322
2301 default: user_actor
2323 Actor type. Always `user_actor`.
23022324
2303 - `deleted: boolean`
2325 default: user_actor
23042326
2305 True only when the underlying account has been deleted.
2327 - `deleted: boolean`
23062328
2307 default: false
2329 True only when the underlying account has been deleted.
23082330
2309 - `email_address: string or null`
2331 default: false
23102332
2311 The user's email address. Null when the account is unavailable or has been deleted.
2333 - `email_address: string or null`
23122334
2313 - `name: string or null`
2335 The user's email address. Null when the account is unavailable or has been deleted.
23142336
2315 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
2337 - `name: string or null`
23162338
2317 - `user_id: string`
2339 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
23182340
2319 Tagged ID of the user.
2341 - `user_id: string`
23202342
2343 Tagged ID of the user.
2344
2345 - `ScopedAPIKeyActor object`
2346
2347 A scoped Admin API key acting on behalf of the organization.
2348
2349 - `type: "scoped_api_key_actor"`
2350
2351 default: scoped_api_key_actor
2352
2353 - `scoped_api_key_id: string`
2354
23212355 - `created_at: string`
23222356
23232357 format: date-time
23242358
2325 - `period: "daily" or "monthly" or "weekly"`
2359 - `period: BetaSpendLimitPeriod`
23262360
23272361 - `"daily"`
23282362
from line 2464
24302464
24312465 ISO 4217 code of the organization's billing currency; the unit for `amount` and `period_to_date_spend`.
24322466
2433 - `period: "daily" or "monthly" or "weekly"`
2467 - `period: BetaSpendLimitPeriod`
24342468
24352469 Period this row's effective limit and spend are reported for.
24362470
2437 - `"daily"`
2438
2439 - `"monthly"`
2440
2441 - `"weekly"`
2442
24432471 - `period_to_date_spend: string`
24442472
24452473 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.
from line 2594
25662594
25672595 - `spend_limit_id: string`
25682596
2569 - `status: "approved" or "denied" or "pending"`
2597 - `status: BetaSpendLimitIncreaseRequestStatus`
25702598
25712599 - `"approved"`
25722600
from line 2625
25972625 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
25982626 },
25992627 "created_at": "2019-12-27T18:11:19.117Z",
2600 "period": "monthly",
2628 "period": "daily",
26012629 "resolved_at": "2019-12-27T18:11:19.117Z",
26022630 "resolved_by": {
26032631 "deleted": true,
from line 2644
26162644 },
26172645 "amount": "50000",
26182646 "currency": "USD",
2619 "period": "monthly",
2647 "period": "daily",
26202648 "period_to_date_spend": "12050.5",
26212649 "scope": {
26222650 "type": "user",
No line in this hunk matches that.