Spend Limits changedapi/beta/organization/spend_limits
Nearest release: v2.1.315, published under an hour 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+32added
Lines−28removed
From line
141
where the diff opens
First seen
10 Sep 2026
this site's first read of the page
Recorded edits19to this page, all time
The whole hunk
from line 141, old and new numbered
/
from line 141
141141
142142 - `"analytics-usage-cost-2026-08-24"`
143143
144 - `"experimental-claude-tag-2026-10-21"`
145
144146### Body parameters
145147
146148- `amount: string or null`
from line 332
330332 "amount": "50000",
331333 "scope": {
332334 "type": "user",
333 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
335 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
334336 },
335337 "period": "monthly"
336338 }'
from line 350
348350 "period": "daily",
349351 "scope": {
350352 "type": "user",
351 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
353 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
352354 },
353355 "type": "spend_limit",
354356 "updated_at": "2019-12-27T18:11:19.117Z"
from line 523
521523 "period": "daily",
522524 "scope": {
523525 "type": "user",
524 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
526 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
525527 },
526528 "type": "spend_limit",
527529 "updated_at": "2019-12-27T18:11:19.117Z"
from line 754
752754
753755 - `"analytics-usage-cost-2026-08-24"`
754756
757 - `"experimental-claude-tag-2026-10-21"`
758
755759### Returns
756760
757761- `data: array of BetaSpendLimit`
from line 905
901905 "period": "daily",
902906 "scope": {
903907 "type": "user",
904 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
908 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
905909 },
906910 "type": "spend_limit",
907911 "updated_at": "2019-12-27T18:11:19.117Z"
from line 1608
16041608 "email_address": "email_address",
16051609 "name": "name",
16061610 "type": "user_actor",
1607 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1611 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
16081612 },
16091613 "amount": "50000",
16101614 "currency": "USD",
from line 1616
16121616 "period_to_date_spend": "12050.5",
16131617 "scope": {
16141618 "type": "user",
1615 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1619 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
16161620 },
16171621 "source": {
16181622 "type": "user",
1619 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1623 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
16201624 },
16211625 "spend_limit_id": "spend_limit_id"
16221626 }
from line 1916
19121916 "email_address": "email_address",
19131917 "name": "name",
19141918 "type": "user_actor",
1915 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1919 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
19161920 },
19171921 "created_at": "2019-12-27T18:11:19.117Z",
19181922 "period": "daily",
from line 1926
19221926 "email_address": "email_address",
19231927 "name": "name",
19241928 "type": "user_actor",
1925 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1929 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
19261930 },
19271931 "spend_summary": {
19281932 "actor": {
from line 1934
19301934 "email_address": "email_address",
19311935 "name": "name",
19321936 "type": "user_actor",
1933 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1937 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
19341938 },
19351939 "amount": "50000",
19361940 "currency": "USD",
from line 1942
19381942 "period_to_date_spend": "12050.5",
19391943 "scope": {
19401944 "type": "user",
1941 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1945 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
19421946 },
19431947 "source": {
19441948 "type": "user",
1945 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
1949 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
19461950 },
19471951 "spend_limit_id": "spend_limit_id"
19481952 },
from line 2221
22172221 "email_address": "email_address",
22182222 "name": "name",
22192223 "type": "user_actor",
2220 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2224 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
22212225 },
22222226 "created_at": "2019-12-27T18:11:19.117Z",
22232227 "period": "daily",
from line 2231
22272231 "email_address": "email_address",
22282232 "name": "name",
22292233 "type": "user_actor",
2230 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2234 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
22312235 },
22322236 "spend_summary": {
22332237 "actor": {
from line 2239
22352239 "email_address": "email_address",
22362240 "name": "name",
22372241 "type": "user_actor",
2238 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2242 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
22392243 },
22402244 "amount": "50000",
22412245 "currency": "USD",
from line 2247
22432247 "period_to_date_spend": "12050.5",
22442248 "scope": {
22452249 "type": "user",
2246 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2250 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
22472251 },
22482252 "source": {
22492253 "type": "user",
2250 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2254 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
22512255 },
22522256 "spend_limit_id": "spend_limit_id"
22532257 },
from line 2614
26102614 "email_address": "email_address",
26112615 "name": "name",
26122616 "type": "user_actor",
2613 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2617 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
26142618 },
26152619 "created_at": "2019-12-27T18:11:19.117Z",
26162620 "period": "daily",
from line 2624
26202624 "email_address": "email_address",
26212625 "name": "name",
26222626 "type": "user_actor",
2623 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2627 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
26242628 },
26252629 "spend_limit": {
26262630 "id": "id",
from line 2635
26312635 "period": "daily",
26322636 "scope": {
26332637 "type": "user",
2634 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2638 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
26352639 },
26362640 "type": "spend_limit",
26372641 "updated_at": "2019-12-27T18:11:19.117Z"
from line 2646
26422646 "email_address": "email_address",
26432647 "name": "name",
26442648 "type": "user_actor",
2645 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2649 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
26462650 },
26472651 "amount": "50000",
26482652 "currency": "USD",
from line 2654
26502654 "period_to_date_spend": "12050.5",
26512655 "scope": {
26522656 "type": "user",
2653 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2657 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
26542658 },
26552659 "source": {
26562660 "type": "user",
2657 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2661 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
26582662 },
26592663 "spend_limit_id": "spend_limit_id"
26602664 },
from line 2936
29322936 "email_address": "email_address",
29332937 "name": "name",
29342938 "type": "user_actor",
2935 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2939 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
29362940 },
29372941 "created_at": "2019-12-27T18:11:19.117Z",
29382942 "period": "daily",
from line 2946
29422946 "email_address": "email_address",
29432947 "name": "name",
29442948 "type": "user_actor",
2945 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2949 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
29462950 },
29472951 "spend_summary": {
29482952 "actor": {
from line 2954
29502954 "email_address": "email_address",
29512955 "name": "name",
29522956 "type": "user_actor",
2953 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2957 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
29542958 },
29552959 "amount": "50000",
29562960 "currency": "USD",
from line 2962
29582962 "period_to_date_spend": "12050.5",
29592963 "scope": {
29602964 "type": "user",
2961 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2965 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
29622966 },
29632967 "source": {
29642968 "type": "user",
2965 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
2969 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
29662970 },
29672971 "spend_limit_id": "spend_limit_id"
29682972 },
No line in this hunk matches that.