Set Spend Limit changedapi/beta/organization/spend_limits/create
Nearest release: v2.1.277, published 4 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+59added
Lines−17removed
From line
7
where the diff opens
First seen
10 Sep 2026
this site's first read of the page
Recorded edits5to this page, all time
The whole hunk
from line 7, old and new numbered
/
from line 7
77
88**POST** `/v1/organizations/spend_limits`
99
10Set a per-user spend limit override.
10Set a spend limit.
1111
1212Upsert keyed on (scope, period): setting a limit that already exists
13overwrites it in place. Only `scope.type: "user"` is accepted; seat-tier,
14group, and organization-level defaults are configured in claude.ai.
13overwrites it in place. A Claude Enterprise organization sets `user`
14limits. Its seat-tier, group, and organization-level defaults are configured
15in claude.ai. A Claude Console organization sets `organization` and
16`workspace` limits, which are monthly and always carry an amount. Setting those
17limits is in an early access preview. To request access, contact your
18Anthropic account team.
1519
1620## Body parameters
1721
from line 23
1923
2024 Limit amount as a non-negative integer decimal string in the minor unit of the organization's billing currency (cents for USD): "50000" is $500.00. `null` sets an explicit no-limit override for this scope and `period` only — each period resolves independently, so caps for other periods still apply.
2125
22- `scope: object`
26- `scope: User or Organization or Workspace`
2327
24 Scope selecting a single member of the organization.
28 What the limit applies to. Claude Enterprise organizations set `user` limits. Claude Console organizations set `organization` and `workspace` limits. Any other combination returns 400. Setting `organization` and `workspace` limits through the API is in an early access preview. To request access, contact your Anthropic account team.
2529
26 - `type: "user"`
30 - `User object`
2731
28 Scope type. Always `user` for this scope.
32 Scope selecting a single member of the organization.
2933
30 default: user
34 - `type: "user"`
3135
32 - `user_id: string`
36 Scope type. Always `user` for this scope.
3337
34 Tagged ID of the member the spend limit applies to.
38 default: user
3539
40 - `user_id: string`
41
42 Tagged ID of the member the spend limit applies to.
43
44 - `Organization object`
45
46 - `type: "organization"`
47
48 default: organization
49
50 - `Workspace object`
51
52 Scope selecting one workspace of a Claude Console organization.
53
54 - `type: "workspace"`
55
56 Scope type. Always `workspace` for this scope.
57
58 default: workspace
59
60 - `workspace_id: string`
61
62 Tagged ID of the workspace the spend limit applies to.
63
3664- `period: optional "daily" or "monthly" or "weekly"`
3765
3866 - `"daily"`
from line 109
81109
82110 - `"weekly"`
83111
84 - `scope: User or SeatTier or RBACGroup or 2 more`
112 - `scope: User or SeatTier or RBACGroup or 3 more`
85113
86114 What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.
87115
from line 156
128156 - `type: "organization"`
129157
130158 default: organization
159
160 - `Workspace object`
161
162 Scope selecting one workspace of a Claude Console organization.
163
164 - `type: "workspace"`
165
166 Scope type. Always `workspace` for this scope.
167
168 default: workspace
169
170 - `workspace_id: string`
171
172 Tagged ID of the workspace the spend limit applies to.
131173
132174 - `updated_at: string`
133175
No line in this hunk matches that.