Compliance API changedgovernment/org-admin/compliance-api
Nearest release: v2.1.324, published under an hour before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 13 Nov 2026 18:53 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 13 Nov 2026 19:07 UTC.
Upstream edited
Recorded here
Lines+8added
Lines−5removed
From line
88
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits17to this page, all time
The whole hunk
from line 88, old and new numbered
/
from line 88
8888| `user_id` | The Claude for Government user ID, in the same `usr_` format as `actor.user_id`. |
8989| `user_email` | The user's email address at the time of the event. |
9090
91The user an event is about is not always the actor. When an owner changes someone's role, the `actor` block names the owner and these fields name the user whose role changed. When a tenant administrator who isn't one of the organization's Primary Owners grants or removes the Primary Owner role, the `user.role_changed` event also carries a `by_tenant_admin` field set to `true`.
91The user an event is about is not always the actor. When an administrator changes someone's role, the `actor` block names the administrator and these fields name the user whose role changed.
9292
9393```json theme={null}
9494{
from line 100
100100 "actor": {
101101 "type": "user_actor",
102102 "user_id": "usr_00000000-0000-0000-0000-000000000001",
103 "email_address": "[email protected]"
103 "email_address": "[email protected]"
104104 },
105105 "user_id": "usr_00000000-0000-0000-0000-000000000002",
107 "old": "user",
108 "new": "owner"
107 "old": "owner",
108 "new": "primary_owner",
109 "by_tenant_admin": true
109110}
110111```
111112
113On `user.role_changed` or `user.seat_tier_changed`, `by_tenant_admin: true` means that a tenant administrator who isn't a [Primary Owner](https://claude.com/docs/government/org-admin/users.md#understanding-roles) of the organization made a change that an Owner can't make, such as granting the Primary Owner role. Otherwise, the field is absent.
114
112115### Activity types
113116
114117Event types use a dotted `resource.action` naming convention. The categories emitted today include:
115118
116* **Users** such as `user.created`, `user.signed_in`, `user.role_changed`, `user.deactivated`, and `user.reactivated`.
119* **Users** such as `user.created`, `user.signed_in`, `user.role_changed`, `user.seat_tier_changed`, `user.deactivated`, and `user.reactivated`.
117120* **Organizations** such as `org.created`, `org.renamed`, and `org.deactivated`.
118121* **Credentials** such as `api_key.created` and `api_key.revoked`.
119122* **Seats and tiers** such as `seat_allocation.set`, `seat_allocation.tier_assigned`, `seat_tier.created`, and `seat_tier.updated`.
No line in this hunk matches that.