Get User Profile changedapi/user_profiles/retrieve
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
63
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 63, old and new numbered
/
from line 63
6363
6464 format: date-time
6565
66 - `enforcement_actions: array of UserProfileEnforcementAction`
67
68 The enforcement actions open on this profile; empty when none is open. Absent under the `user-profiles-2026-09-04` and earlier beta headers.
69
70 - `UserProfileEnforcementActionRestriction object`
71
72 Anthropic has limited how it serves the end user until the action is resolved. The end user may still be served in part.
73
74 - `type: "restriction"`
75
76 - `id: string`
77
78 The action's ID (`enac_...`), stable while the action is open.
79
80 - `action: UserProfileEnforcementActionNextStep or null`
81
82 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.
83
84 - `expires_at: string or null`
85
86 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`.
87
88 format: date-time
89
90 - `opened_at: string`
91
92 When Anthropic opened the action, in RFC 3339 format.
93
94 format: date-time
95
96 - `reason: UserProfileEnforcementActionReason`
97
98 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
99
100 - `"unsupported_region"`
101
102 - `"fraud_or_abuse"`
103
104 - `"high_harm"`
105
106 - `"usage_policy_violation"`
107
108 - `"account_compromise"`
109
110 - `"unspecified"`
111
112 - `UserProfileEnforcementActionBan object`
113
114 Anthropic has stopped serving the end user where the ban applies and does not plan to serve them there again.
115
116 - `type: "ban"`
117
118 - `id: string`
119
120 The action's ID (`enac_...`), stable while the action is open.
121
122 - `action: UserProfileEnforcementActionNextStep or null`
123
124 Always `null`: the end user cannot clear a ban.
125
126 - `expires_at: string or null`
127
128 Always `null`: a ban has no end date.
129
130 format: date-time
131
132 - `opened_at: string`
133
134 When Anthropic opened the action, in RFC 3339 format.
135
136 format: date-time
137
138 - `reason: UserProfileEnforcementActionReason`
139
140 Why Anthropic placed the limit: `unsupported_region`, `fraud_or_abuse`, `high_harm`, `usage_policy_violation`, `account_compromise` or `unspecified`.
141
142 - `enforcement_status: UserProfileEnforcementStatus`
143
144 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.
145
146 - `"unrestricted"`
147
148 - `"pending"`
149
150 - `"restricted"`
151
152 - `"banned"`
153
66154 - `external_user_details: UserProfileExternalUserDetails`
67155
68156 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 291
203291
204292```bash
205293curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID \
206 -H 'anthropic-version: 2023-06-01' \
207 -H "X-Api-Key: $ANTHROPIC_API_KEY"
294 -H 'anthropic-version: 2026-10-21' \
295 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
208296```
209297
210298### Response (200)
from line 302
214302 "id": "uprof_011CZkZCu8hGbp5mYRQgUmz9",
215303 "access_type": "application",
216304 "created_at": "2026-03-15T10:00:00Z",
305 "enforcement_actions": [
306 {
307 "id": "enac_011CZkZCu8hGbp5mYRQgUmz9",
308 "action": "verify",
309 "expires_at": null,
310 "opened_at": "2026-10-02T19:30:00Z",
311 "reason": "fraud_or_abuse",
312 "type": "restriction"
313 }
314 ],
315 "enforcement_status": "unrestricted",
217316 "external_user_details": {
218317 "account_status": "active",
219318 "country": "US",
No line in this hunk matches that.