Create User Profile changedapi/user_profiles/create
Nearest release: v2.1.309, published 2 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+101added
Lines−2removed
From line
141
where the diff opens
First seen
21 Oct 2026
this site's first read of the page
Recorded edits2to this page, all time
The whole hunk
from line 141, old and new numbered
/
from line 141
141141
142142 format: date-time
143143
144 - `enforcement_actions: array of UserProfileEnforcementAction`
145
146 The enforcement actions open on this profile; empty when none is open. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
147
148 - `UserProfileEnforcementActionRestriction object`
149
150 Anthropic has limited how it serves the end user until the action is resolved. The end user may still be served in part.
151
152 - `type: "restriction"`
153
154 - `id: string`
155
156 The action's ID (`enac_...`), stable while the action is open.
157
158 - `action: UserProfileEnforcementActionNextStep or null`
159
160 The next step on the action: `verify` or `null`. `verify`: the end user can clear it now by passing an identity check. `null`: there is nothing the end user can do now to clear it, including while Anthropic reviews an identity check the end user submitted.
161
162 - `expires_at: string or null`
163
164 When the action ends on its own, in RFC 3339 format; it stops showing once this time has passed. `null` when it has no end date, and always `null` when `reason` is `account_compromise`.
165
166 format: date-time
167
168 - `opened_at: string`
169
170 When Anthropic opened the action, in RFC 3339 format.
171
172 format: date-time
173
174 - `reason: UserProfileEnforcementActionReason`
175
176 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
177
178 - `"unsupported_region"`
179
180 - `"fraud_or_abuse"`
181
182 - `"high_harm"`
183
184 - `"usage_policy_violation"`
185
186 - `"account_compromise"`
187
188 - `"unspecified"`
189
190 - `UserProfileEnforcementActionBan object`
191
192 Anthropic has stopped serving the end user where the ban applies and does not plan to serve them there again.
193
194 - `type: "ban"`
195
196 - `id: string`
197
198 The action's ID (`enac_...`), stable while the action is open.
199
200 - `action: UserProfileEnforcementActionNextStep or null`
201
202 Always `null`: the end user cannot clear a ban.
203
204 - `expires_at: string or null`
205
206 Always `null`: a ban has no end date.
207
208 format: date-time
209
210 - `opened_at: string`
211
212 When Anthropic opened the action, in RFC 3339 format.
213
214 format: date-time
215
216 - `reason: UserProfileEnforcementActionReason`
217
218 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
219
220 - `enforcement_status: UserProfileEnforcementStatus`
221
222 Anthropic's enforcement status of this profile, from its open enforcement actions and any identity check under review, by the first rule that applies: `banned` while any open action is a `ban`; `pending` while a restriction that an identity check can clear is open, the end user has submitted that check, Anthropic's review of it has not ended, and no open action's `reason` is `account_compromise`; `restricted` while any action is open; `unrestricted` while none is. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
223
224 - `"unrestricted"`
225
226 - `"pending"`
227
228 - `"restricted"`
229
230 - `"banned"`
231
144232 - `external_user_details: UserProfileExternalUserDetails`
145233
146234 Details about the entity this profile represents, as the platform states them; not verified by Anthropic. Every field is present, `null` until the platform supplies a value. Absent under the legacy `user-profiles-2026-03-24` and `user-profiles-2026-08-18` beta headers, which serve `reference_id` as the top-level `external_id` and, under `user-profiles-2026-08-18`, `onboarded_at` as `external_user_onboarded_at`.
from line 370
282370```bash
283371curl https://api.anthropic.com/v1/user_profiles \
284372 -H 'Content-Type: application/json' \
285 -H 'anthropic-version: 2023-06-01' \
286 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
373 -H 'anthropic-version: 2026-10-21' \
374 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
287375 -d '{
288376 "external_user_details": {
289377 "account_status": "active",
from line 392
304392 "id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
305393 "access_type": "application",
306394 "created_at": "2026-03-15T10:00:00Z",
395 "enforcement_actions": [
396 {
397 "id": "enac_011CZkZCu8hGbp5mYRQgUmz9",
398 "action": "verify",
399 "expires_at": null,
400 "opened_at": "2026-10-02T19:30:00Z",
401 "reason": "fraud_or_abuse",
402 "type": "restriction"
403 }
404 ],
405 "enforcement_status": "unrestricted",
307406 "external_user_details": {
308407 "account_status": "active",
309408 "country": "US",
No line in this hunk matches that.