The whole hunk
from line 138, old and new numbered
/
lines
from line 138
138138
139139 Per-member effective-limit report row (`GET /spend_limits/effective`).
140140
141 - `actor: object`
141 - `actor: UserActor or ScopedAPIKeyActor`
142142
143 A user within the organization. `name` and `email_address` are
144 null when the underlying account is unavailable or has been deleted;
145 `deleted` is true only for deleted accounts.
143 - `UserActor object`
146144
147 - `type: "user_actor"`
145 A user within the organization. `name` and `email_address` are
146 null when the underlying account is unavailable or has been deleted;
147 `deleted` is true only for deleted accounts.
148148
149 Actor type. Always `user_actor`.
149 - `type: "user_actor"`
150150
151 default: user_actor
151 Actor type. Always `user_actor`.
152152
153 - `deleted: boolean`
153 default: user_actor
154154
155 True only when the underlying account has been deleted.
155 - `deleted: boolean`
156156
157 default: false
157 True only when the underlying account has been deleted.
158158
159 - `email_address: string or null`
159 default: false
160160
161 The user's email address. Null when the account is unavailable or has been deleted.
161 - `email_address: string or null`
162162
163 - `name: string or null`
163 The user's email address. Null when the account is unavailable or has been deleted.
164164
165 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
165 - `name: string or null`
166166
167 - `user_id: string`
167 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
168168
169 Tagged ID of the user.
169 - `user_id: string`
170170
171 Tagged ID of the user.
172
173 - `ScopedAPIKeyActor object`
174
175 A scoped Admin API key acting on behalf of the organization.
176
177 - `type: "scoped_api_key_actor"`
178
179 default: scoped_api_key_actor
180
181 - `scoped_api_key_id: string`
182
171183 - `amount: string or null`
172184
173185 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 202
190202
191203 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.
192204
193 - `scope: object`
205 - `scope: User or SeatTier or RBACGroup or 3 more`
194206
195 Scope selecting a single member of the organization.
207 - `User object`
196208
197 - `type: "user"`
209 Scope selecting a single member of the organization.
198210
199 Scope type. Always `user` for this scope.
211 - `type: "user"`
200212
201 default: user
213 Scope type. Always `user` for this scope.
202214
203 - `user_id: string`
215 default: user
204216
205 Tagged ID of the member the spend limit applies to.
217 - `user_id: string`
206218
207 - `source: User or SeatTier or RBACGroup or 2 more`
219 Tagged ID of the member the spend limit applies to.
208220
221 - `SeatTier object`
222
223 - `type: "seat_tier"`
224
225 default: seat_tier
226
227 - `seat_tier: string`
228
229 - `RBACGroup object`
230
231 - `type: "rbac_group"`
232
233 default: rbac_group
234
235 - `rbac_group_id: string`
236
237 - `OrganizationService object`
238
239 - `type: "organization_service"`
240
241 default: organization_service
242
243 - `service: string`
244
245 - `Organization object`
246
247 - `type: "organization"`
248
249 default: organization
250
251 - `Workspace object`
252
253 Scope selecting one workspace of a Claude Console organization.
254
255 - `type: "workspace"`
256
257 Scope type. Always `workspace` for this scope.
258
259 default: workspace
260
261 - `workspace_id: string`
262
263 Tagged ID of the workspace the spend limit applies to.
264
265 - `source: User or SeatTier or RBACGroup or 3 more`
266
209267 - `User object`
210268
211269 Scope selecting a single member of the organization.
from line 307
249307 - `type: "organization"`
250308
251309 default: organization
310
311 - `Workspace object`
312
313 Scope selecting one workspace of a Claude Console organization.
314
315 - `type: "workspace"`
316
317 Scope type. Always `workspace` for this scope.
318
319 default: workspace
320
321 - `workspace_id: string`
322
323 Tagged ID of the workspace the spend limit applies to.
252324
253325 - `spend_limit_id: string`
254326