The whole hunk
from line 47, old and new numbered
/
lines
from line 47
4747
4848- `data: array of BetaSpendSummary`
4949
50 - `actor: object`
50 - `actor: UserActor or ScopedAPIKeyActor`
5151
52 A user within the organization. `name` and `email_address` are
53 null when the underlying account is unavailable or has been deleted;
54 `deleted` is true only for deleted accounts.
52 - `UserActor object`
5553
56 - `type: "user_actor"`
54 A user within the organization. `name` and `email_address` are
55 null when the underlying account is unavailable or has been deleted;
56 `deleted` is true only for deleted accounts.
5757
58 Actor type. Always `user_actor`.
58 - `type: "user_actor"`
5959
60 default: user_actor
60 Actor type. Always `user_actor`.
6161
62 - `deleted: boolean`
62 default: user_actor
6363
64 True only when the underlying account has been deleted.
64 - `deleted: boolean`
6565
66 default: false
66 True only when the underlying account has been deleted.
6767
68 - `email_address: string or null`
68 default: false
6969
70 The user's email address. Null when the account is unavailable or has been deleted.
70 - `email_address: string or null`
7171
72 - `name: string or null`
72 The user's email address. Null when the account is unavailable or has been deleted.
7373
74 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
74 - `name: string or null`
7575
76 - `user_id: string`
76 The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
7777
78 Tagged ID of the user.
78 - `user_id: string`
7979
80 Tagged ID of the user.
81
82 - `ScopedAPIKeyActor object`
83
84 A scoped Admin API key acting on behalf of the organization.
85
86 - `type: "scoped_api_key_actor"`
87
88 default: scoped_api_key_actor
89
90 - `scoped_api_key_id: string`
91
8092 - `amount: string or null`
8193
8294 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 111
99111
100112 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.
101113
102 - `scope: object`
114 - `scope: User or SeatTier or RBACGroup or 3 more`
103115
104 Scope selecting a single member of the organization.
116 - `User object`
105117
106 - `type: "user"`
118 Scope selecting a single member of the organization.
107119
108 Scope type. Always `user` for this scope.
120 - `type: "user"`
109121
110 default: user
122 Scope type. Always `user` for this scope.
111123
112 - `user_id: string`
124 default: user
113125
114 Tagged ID of the member the spend limit applies to.
126 - `user_id: string`
115127
116 - `source: User or SeatTier or RBACGroup or 2 more`
128 Tagged ID of the member the spend limit applies to.
117129
130 - `SeatTier object`
131
132 - `type: "seat_tier"`
133
134 default: seat_tier
135
136 - `seat_tier: string`
137
138 - `RBACGroup object`
139
140 - `type: "rbac_group"`
141
142 default: rbac_group
143
144 - `rbac_group_id: string`
145
146 - `OrganizationService object`
147
148 - `type: "organization_service"`
149
150 default: organization_service
151
152 - `service: string`
153
154 - `Organization object`
155
156 - `type: "organization"`
157
158 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.
173
174 - `source: User or SeatTier or RBACGroup or 3 more`
175
118176 - `User object`
119177
120178 Scope selecting a single member of the organization.
from line 216
158216 - `type: "organization"`
159217
160218 default: organization
219
220 - `Workspace object`
221
222 Scope selecting one workspace of a Claude Console organization.
223
224 - `type: "workspace"`
225
226 Scope type. Always `workspace` for this scope.
227
228 default: workspace
229
230 - `workspace_id: string`
231
232 Tagged ID of the workspace the spend limit applies to.
161233
162234 - `spend_limit_id: string`
163235