Set Spend Limit changedapi/admin/spend_limits/create
Nearest release: v2.1.245, published 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+26added
Lines−27removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits5to this page, all time
# Set Spend Limit ## Body parameters ## Returns ## Example ### Response (200) ## Set Spend Limit ### Body Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Set Spend Limit
3url: https://platform.claude.com/docs/en/api/admin/spend_limits/create
4---
1# Set Spend Limit
52
6## Set Spend Limit
3**POST** `/v1/organizations/spend_limits`
74
8**post** `/v1/organizations/spend_limits`
9
105Set a per-user spend limit override.
116
127Upsert keyed on (scope, period): setting a limit that already exists
from line 8
138overwrites it in place. Only `scope.type: "user"` is accepted; seat-tier,
149group, and organization-level defaults are configured in claude.ai.
1510
16### Body Parameters
11## Body parameters
1712
1813- `amount: string or null`
1914
2015 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.
2116
22- `scope: object { type, user_id }`
17- `scope: object`
2318
2419 - `type: "user"`
2520
26 - `"user"`
21 default: user
2722
2823 - `user_id: string`
2924
from line 30
3530
3631 - `"weekly"`
3732
38### Returns
33## Returns
3934
40- `SpendLimit object { id, amount, created_at, 5 more }`
35- `SpendLimit object`
4136
4237 - `id: string`
4338
from line 42
4742
4843 - `created_at: string`
4944
45 format: date-time
46
5047 - `currency: string`
5148
5249 ISO 4217 code of the organization's billing currency; the unit for `amount`.
from line 56
5956
6057 - `"weekly"`
6158
62 - `scope: object { type, user_id } or object { seat_tier, type } or object { rbac_group_id, type } or 2 more`
59 - `scope: object or object or object or 2 more`
6360
64 - `User object { type, user_id }`
61 - `User object`
6562
6663 - `type: "user"`
6764
68 - `"user"`
65 default: user
6966
7067 - `user_id: string`
7168
72 - `SeatTier object { seat_tier, type }`
69 - `SeatTier object`
7370
7471 - `seat_tier: string`
7572
7673 - `type: "seat_tier"`
7774
78 - `"seat_tier"`
75 default: seat_tier
7976
80 - `RbacGroup object { rbac_group_id, type }`
77 - `RbacGroup object`
8178
8279 - `rbac_group_id: string`
8380
8481 - `type: "rbac_group"`
8582
86 - `"rbac_group"`
83 default: rbac_group
8784
88 - `OrganizationService object { service, type }`
85 - `OrganizationService object`
8986
9087 - `service: string`
9188
9289 - `type: "organization_service"`
9390
94 - `"organization_service"`
91 default: organization_service
9592
96 - `Organization object { type }`
93 - `Organization object`
9794
9895 - `type: "organization"`
9996
100 - `"organization"`
97 default: organization
10198
10299 - `type: "spend_limit"`
103100
104 - `"spend_limit"`
101 default: spend_limit
105102
106103 - `updated_at: string`
107104
108### Example
105 format: date-time
109106
110```http
107## Example
108
109```bash
111110curl https://api.anthropic.com/v1/organizations/spend_limits \
112111 -H 'Content-Type: application/json' \
113112 -H 'anthropic-version: 2023-06-01' \
from line 121
122121 }'
123122```
124123
125#### Response
124### Response (200)
126125
127126```json
128127{
No line in this hunk matches that.