The whole hunk
from line 120, old and new numbered
/
lines
from line 120
120120
121121 Per-member effective-limit report row (`GET /spend_limits/effective`).
122122
123 - `actor: object`
123 - `actor: UserActor or ScopedAPIKeyActor`
124124
125 A user within the organization. `name` and `email_address` are
126 null when the underlying account is unavailable or has been deleted;
127 `deleted` is true only for deleted accounts.
125 - `UserActor object`
128126
129 - `type: "user_actor"`
127 A user within the organization. `name` and `email_address` are
128 null when the underlying account is unavailable or has been deleted;
129 `deleted` is true only for deleted accounts.
130130
131 Actor type. Always `user_actor`.
131 - `type: "user_actor"`
132132
133 default: user_actor
133 Actor type. Always `user_actor`.
134134
135 - `deleted: boolean`
135 default: user_actor
136136
137 True only when the underlying account has been deleted.
137 - `deleted: boolean`
138138
139 default: false
139 True only when the underlying account has been deleted.
140140
141 - `email_address: string or null`
141 default: false
142142
143 The user's email address. Null when the account is unavailable or has been deleted.
143 - `email_address: string or null`
144144
145 - `name: string or null`
145 The user's email address. Null when the account is unavailable or has been deleted.
146146
147 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
147 - `name: string or null`
148148
149 - `user_id: string`
149 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
150150
151 Tagged ID of the user.
151 - `user_id: string`
152152
153 Tagged ID of the user.
154
155 - `ScopedAPIKeyActor object`
156
157 A scoped Admin API key acting on behalf of the organization.
158
159 - `type: "scoped_api_key_actor"`
160
161 default: scoped_api_key_actor
162
163 - `scoped_api_key_id: string`
164
153165 - `amount: string or null`
154166
155167 Effective limit amount as a non-negative integer decimal string in the minor unit of `currency` (cents for USD). `null` means no limit applies for this row's `period` — each period resolves independently, so another period may still cap this member.
from line 184
172184
173185 The member's spend so far in the current period, as a non-negative decimal string in the minor unit of `currency` (cents for USD). May carry fractional minor units up to three decimal places (e.g. `"12050.5"`) — metered usage is not rounded to whole cents. Reads as `"0"` when the spend reading is temporarily unavailable.
174186
175 - `scope: object`
187 - `scope: User or SeatTier or RBACGroup or 3 more`
176188
177 Scope selecting a single member of the organization.
189 - `User object`
178190
179 - `type: "user"`
191 Scope selecting a single member of the organization.
180192
181 Scope type. Always `user` for this scope.
193 - `type: "user"`
182194
183 default: user
195 Scope type. Always `user` for this scope.
184196
185 - `user_id: string`
197 default: user
186198
187 Tagged ID of the member the spend limit applies to.
199 - `user_id: string`
188200
189 - `source: User or SeatTier or RBACGroup or 2 more`
201 Tagged ID of the member the spend limit applies to.
190202
203 - `SeatTier object`
204
205 - `type: "seat_tier"`
206
207 default: seat_tier
208
209 - `seat_tier: string`
210
211 - `RBACGroup object`
212
213 - `type: "rbac_group"`
214
215 default: rbac_group
216
217 - `rbac_group_id: string`
218
219 - `OrganizationService object`
220
221 - `type: "organization_service"`
222
223 default: organization_service
224
225 - `service: string`
226
227 - `Organization object`
228
229 - `type: "organization"`
230
231 default: organization
232
233 - `Workspace object`
234
235 Scope selecting one workspace of a Claude Console organization.
236
237 - `type: "workspace"`
238
239 Scope type. Always `workspace` for this scope.
240
241 default: workspace
242
243 - `workspace_id: string`
244
245 Tagged ID of the workspace the spend limit applies to.
246
247 - `source: User or SeatTier or RBACGroup or 3 more`
248
191249 - `User object`
192250
193251 Scope selecting a single member of the organization.
from line 289
231289 - `type: "organization"`
232290
233291 default: organization
292
293 - `Workspace object`
294
295 Scope selecting one workspace of a Claude Console organization.
296
297 - `type: "workspace"`
298
299 Scope type. Always `workspace` for this scope.
300
301 default: workspace
302
303 - `workspace_id: string`
304
305 Tagged ID of the workspace the spend limit applies to.
234306
235307 - `spend_limit_id: string`
236308