spend-limits-api changedmanage-claude/spend-limits-api
Nearest release: v2.1.318, published under an hour after 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+5added
Lines−4removed
From line
2,007
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits19to this page, all time
The whole hunk
from line 2007, old and new numbered
/
from line 2007
20072007 ```
20082008
20092009 ```csharp C#
2010 using Anthropic.Models.Beta.Organization.SpendLimits.Effective;
2010 using Anthropic.Models.Beta.Organization.SpendLimits;
20112011
20122012 AnthropicClient client = new();
20132013
20142014 var page = await client.Beta.Organization.SpendLimits.Effective.List(
2015 new() { UserIds = ["user_01AbCdEfGh"], Period = [Period.Monthly] }
2015 new() { UserIds = ["user_01AbCdEfGh"], Period = [BetaSpendLimitPeriod.Monthly] }
20162016 );
20172017
20182018 await foreach (var effectiveLimit in page.Paginate())
from line 2030
20302030
20312031 effectiveLimits := client.Beta.Organization.SpendLimits.Effective.ListAutoPaging(context.Background(), anthropic.BetaOrganizationSpendLimitEffectiveListParams{
20322032 UserIDs: []string{"user_01AbCdEfGh"},
2033 Period: []string{"monthly"},
2033 Period: []anthropic.BetaSpendLimitPeriod{anthropic.BetaSpendLimitPeriodMonthly},
20342034 })
20352035
20362036 for effectiveLimits.Next() {
from line 2049
20492049 ```
20502050
20512051 ```java Java
2052 import com.anthropic.models.beta.organization.spendlimits.BetaSpendLimitPeriod;
20522053 import com.anthropic.models.beta.organization.spendlimits.effective.EffectiveListParams;
20532054
20542055 void main() {
from line 2057
20562057
20572058 var params = EffectiveListParams.builder()
20582059 .addUserId("user_01AbCdEfGh")
2059 .addPeriod(EffectiveListParams.Period.MONTHLY)
2060 .addPeriod(BetaSpendLimitPeriod.MONTHLY)
20602061 .build();
20612062 var effectiveLimits = client.beta().organization().spendLimits().effective().list(params);
20622063
No line in this hunk matches that.