The whole hunk
from line 113, old and new numbered
/
lines
from line 113
113113
114114- `"anthropic-workspace-id": optional string`
115115
116 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
117
118 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
119
116120## Body parameters
117121
118122- `access_type: optional "application" or "passthrough"`
from line 125
121125
122126 - `"application"`
123127
128 The user profile represents an individual end-user of a product that the platform builds on the API. New profiles get this value by default.
129
124130 - `"passthrough"`
125131
132 The user profile represents a company that the platform resells Claude access to.
133
126134- `external_id: optional string or null`
127135
128136 Platform's own identifier for this user. Not enforced unique. Maximum 255 characters. Accepted under the `user-profiles-2026-03-24` and `user-profiles-2026-08-18` beta headers; under `user-profiles-2026-09-04` send `external_user_details.reference_id` instead.
from line 147
139147
140148 - `"active"`
141149
150 The platform has neither restricted nor barred the account of the entity that the user profile represents.
151
142152 - `"suspended"`
143153
154 The platform has restricted the account of the entity that the user profile represents and may restore it.
155
144156 - `"blocked"`
145157
158 The platform has barred the account of the entity that the user profile represents.
159
146160 - `country: optional string or null`
147161
148162 The country of the entity (not of the platform), as the platform determines it: an ISO 3166-1 alpha-2 code in upper case, for example `US`. Only the form, two uppercase ASCII letters, is checked.
from line 217
203217
204218- `BetaUserProfile object`
205219
220 A record of an entity that the platform serves through the API, such as an end-user of the platform's product or a company that the platform resells Claude access to.
221
222 A Messages, Message Batches or token counting request can send a profile's `id` in the `anthropic-user-profile-id` header to attribute the request to that entity.
223
206224 - `type: "user_profile"`
207225
208226 Object type. Always `user_profile`.
from line 265
247265
248266 - `"application"`
249267
268 The user profile represents an individual end-user of a product that the platform builds on the API. New profiles get this value by default.
269
250270 - `"passthrough"`
251271
272 The user profile represents a company that the platform resells Claude access to.
273
252274 - `external_id: optional string or null`
253275
254276 Platform's own identifier for this user. Not enforced unique. Present under the `user-profiles-2026-03-24` and `user-profiles-2026-08-18` beta headers; under `user-profiles-2026-09-04` the value is `external_user_details.reference_id`.
from line 285
263285
264286 - `"active"`
265287
288 The platform has neither restricted nor barred the account of the entity that the user profile represents.
289
266290 - `"suspended"`
267291
292 The platform has restricted the account of the entity that the user profile represents and may restore it.
293
268294 - `"blocked"`
295
296 The platform has barred the account of the entity that the user profile represents.
269297
270298 - `country: string or null`
271299