The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Get User Profile
3url: https://platform.claude.com/docs/en/api/beta/user_profiles/retrieve
4---
5
16# Get User Profile
27
38**GET** `/v1/user_profiles/{user_profile_id}`
from line 21
1621
1722 - `string`
1823
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
24 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2025
2126 - `"message-batches-2024-09-24"`
2227
from line 69
6469
6570 - `"user-profiles-2026-08-18"`
6671
72 - `"user-profiles-2026-09-04"`
73
6774 - `"advisor-tool-2026-03-01"`
6875
6976 - `"managed-agents-2026-04-01"`
from line 117
110117
111118- `BetaUserProfile object`
112119
120 - `type: "user_profile"`
121
122 Object type. Always `user_profile`.
123
113124 - `id: string`
114125
115126 Unique identifier for this user profile, prefixed `uprof_`.
from line 149
138149
139150 - `"rejected"`
140151
141 - `type: "user_profile"`
142
143 Object type. Always `user_profile`.
144
145152 - `updated_at: string`
146153
147154 A timestamp in RFC 3339 format
from line 165
158165
159166 - `external_id: optional string or null`
160167
161 Platform's own identifier for this user. Not enforced unique.
168 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`.
162169
170 - `external_user_details: optional BetaUserProfileExternalUserDetails`
171
172 Details about the entity this profile represents, as the platform states them. Anthropic does not verify them. Every field is present, `null` until the platform supplies a value.
173
174 - `account_status: "active" or "suspended" or "blocked" or null`
175
176 The status of the entity's account on the platform, as the platform states it: `active`; `suspended`, when the platform has restricted the account and may restore it; or `blocked`, when the platform has barred it. It records the platform's decision only; the statuses in `trust_grants` are Anthropic's and do not follow it.
177
178 - `"active"`
179
180 - `"suspended"`
181
182 - `"blocked"`
183
184 - `country: string or null`
185
186 The country the platform associates with the entity, as an ISO 3166-1 alpha-2 code. `null` until the platform supplies one.
187
188 - `email_hash: string or null`
189
190 The platform-computed hash of the entity's email address. `null` until the platform supplies one.
191
192 - `entity_type: "individual" or "business" or "non_profit" or "government" or null`
193
194 What kind of entity the profile represents, as the platform states it: `individual`, `business`, `non_profit` or `government`.
195
196 - `"individual"`
197
198 - `"business"`
199
200 - `"non_profit"`
201
202 - `"government"`
203
204 - `name_hash: string or null`
205
206 The platform-computed hash of the entity's name. `null` until the platform supplies one.
207
208 - `onboarded_at: string or null`
209
210 A timestamp in RFC 3339 format
211
212 format: date-time
213
214 - `reference_id: string or null`
215
216 The platform's own reference for the entity. `null` until the platform supplies one.
217
163218 - `external_user_onboarded_at: optional string or null`
164219
165220 A timestamp in RFC 3339 format
from line 250
195250 "updated_at": "2026-03-15T10:00:00Z",
196251 "access_type": "application",
197252 "external_id": "user_12345",
253 "external_user_details": {
254 "account_status": "active",
255 "country": "country",
256 "email_hash": "email_hash",
257 "entity_type": "individual",
258 "name_hash": "name_hash",
259 "onboarded_at": "2019-12-27T18:11:19.117Z",
260 "reference_id": "reference_id"
261 },
198262 "external_user_onboarded_at": "2024-11-02T08:15:00Z",
199263 "name": "Example User"
200264}