The whole hunk
from line 16, old and new numbered
/
lines
from line 16
1616
1717 - `string`
1818
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
2020
2121 - `"message-batches-2024-09-24"`
2222
from line 100
100100
101101 - `"ce-user-management-2026-07-13"`
102102
103 - `"mid-conversation-output-config-2026-07-01"`
104
105 - `"thinking-binding-controls-2026-08-01"`
106
107 - `"mid-conversation-system-clear-at-2026-08-21"`
108
103109## Returns
104110
105111- `BetaUserProfile object`
from line 160
154160
155161 Platform's own identifier for this user. Not enforced unique.
156162
157 - `name: optional string or null`
163 - `external_user_onboarded_at: optional string or null`
158164
159 Real-world name of the entity this profile represents (company or individual). For a resold-to company (`access_type` `passthrough`, or `relationship` `resold` under the `user-profiles-2026-03-24` header) this is that company's name.
165 A timestamp in RFC 3339 format
160166
161 - `relationship: optional "external" or "resold" or "internal"`
167 format: date-time
162168
163 How the entity behind a user profile relates to the platform that owns the API key. `external`: an individual end-user of the platform. `resold`: a company the platform resells Claude access to. `internal`: the platform's own usage.
169 - `name: optional string or null`
164170
165 - `"external"`
171 Real-world name of the entity this profile represents (company or individual). For a company the platform resells Claude access to (`access_type` `passthrough`) this is that company's name.
166172
167 - `"resold"`
168
169 - `"internal"`
170
171173## Example
172174
173175```bash
from line 195
193195 "updated_at": "2026-03-15T10:00:00Z",
194196 "access_type": "application",
195197 "external_id": "user_12345",
196 "name": "Example User",
197 "relationship": "external"
198 "external_user_onboarded_at": "2024-11-02T08:15:00Z",
199 "name": "Example User"
198200}
199201```
200202