Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Get Spend Limit changedapi/admin/spend_limits/retrieve

Nearest release: v2.1.250, published 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+21added
Lines−1removed
From line 14 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits5to this page, all time

The whole hunk

from line 14, old and new numbered
/
lines
from line 14
1414 
1515- `SpendLimit object`
1616 
17 A configured spend limit: a cap on metered spend for one scope and period.
18 
1719 - `id: string`
1820 
21 Unique tagged ID of the spend limit (`spl_...`).
22 
1923 - `amount: string or null`
2024 
2125 Limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD): "50000" is $500.00. `null` means no numeric cap is configured at this scope — see the effective report for whether a limit applies.
from line 26
2226 
2327 - `created_at: string`
2428 
29 RFC 3339 datetime at which the spend limit was created.
30 
2531 format: date-time
2632 
2733 - `currency: string`
from line 36
3036 
3137 - `period: "daily" or "monthly" or "weekly"`
3238 
39 Length of the window the limit resets over. `amount` caps spend within each period.
40 
3341 - `"daily"`
3442 
3543 - `"monthly"`
from line 46
3846 
3947 - `scope: object or object or object or 2 more`
4048 
49 What the limit applies to. A tagged union on `type`; each variant carries the identifier for its scope.
50 
4151 - `User object`
4252 
53 Scope selecting a single member of the organization.
54 
4355 - `type: "user"`
4456 
57 Scope type. Always `user` for this scope.
58 
4559 default: user
4660 
4761 - `user_id: string`
4862 
63 Tagged ID of the member the spend limit applies to.
64 
4965 - `SeatTier object`
5066 
5167 - `seat_tier: string`
from line 94
7894 
7995 - `type: "spend_limit"`
8096 
97 Object type. Always `spend_limit`.
98 
8199 default: spend_limit
82100 
83101 - `updated_at: string`
84102 
103 RFC 3339 datetime at which the spend limit was last modified.
104 
85105 format: date-time
86106 
87107## Example
from line 123
103123 "period": "monthly",
104124 "scope": {
105125 "type": "user",
106 "user_id": "user_id"
126 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
107127 },
108128 "type": "spend_limit",
109129 "updated_at": "2019-12-27T18:11:19.117Z"
Feedback