The whole hunk
from line 20, old and new numbered
/
lines
from line 20
2020
2121 - `"desc"`
2222
23- `order_by: optional "created_at" or "name"`
24
25 Query parameter for order_by
26
27 - `"created_at"`
28
29 - `"name"`
30
2331- `page: optional string`
2432
2533 Query parameter for page
from line 40
3240
3341 - `string`
3442
35 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
43 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
3644
3745 - `"message-batches-2024-09-24"`
3846
from line 124
116124
117125 - `"ce-user-management-2026-07-13"`
118126
127 - `"mid-conversation-output-config-2026-07-01"`
128
129 - `"thinking-binding-controls-2026-08-01"`
130
131 - `"mid-conversation-system-clear-at-2026-08-21"`
132
119133## Returns
120134
121135- `data: array of BetaUserProfile`
from line 186
172186
173187 Platform's own identifier for this user. Not enforced unique.
174188
175 - `name: optional string or null`
189 - `external_user_onboarded_at: optional string or null`
176190
177 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.
191 A timestamp in RFC 3339 format
178192
179 - `relationship: optional "external" or "resold" or "internal"`
193 format: date-time
180194
181 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.
195 - `name: optional string or null`
182196
183 - `"external"`
197 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.
184198
185 - `"resold"`
186
187 - `"internal"`
188
189199- `next_page: string or null`
190200
191201 Cursor for the next page, or `null` when there are no more results.
from line 227
217227 "updated_at": "2026-03-15T10:00:00Z",
218228 "access_type": "application",
219229 "external_id": "user_12345",
220 "name": "Example User",
221 "relationship": "external"
230 "external_user_onboarded_at": "2024-11-02T08:15:00Z",
231 "name": "Example User"
222232 }
223233 ],
224234 "next_page": "page_MjAyNS0wNS0xNFQwMDowMDowMFo="