Compliance API changedapi/compliance
Nearest release: v2.1.282, published an hour before 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+2,545added
Lines−1,467removed
From line
19
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits15to this page, all time
The whole hunk
from line 19, old and new numbered
/
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 19
1919
2020#### Query parameters
2121
22- `activity_types: optional array of "abuse_decision_received" or "account_deleted" or "admin_api_key_created" or 507 more`
22- `activity_types: optional array of "abuse_decision_received" or "account_deleted" or "admin_api_key_created" or 511 more`
2323
2424 Filter activities by type. See the response `data` schema for the additional fields each type returns. Cannot be combined with `exclude_activity_types[]`.
2525
from line 251
251251
252252 An organization admin allowed one artifact to be shared outside the organization by link while the organization-wide external sharing setting was off, or revoked that permission.
253253
254 - `"claude_artifact_invite_accepted"`
255
256 Someone outside the organization signed in with a verified account for the invited address and accepted an invitation to an artifact, and can now open it; recorded in the artifact owner's organization. The person who accepted is identified by `invitee_email` and `invitee_user_id`.
257
258 - `"claude_artifact_invite_created"`
259
260 A member invited (or re-invited) an email address outside the organization to an artifact; recorded in the artifact owner's organization with the inviting member as the actor.
261
262 - `"claude_artifact_invite_revoked"`
263
264 A member withdrew an invitation to an artifact for someone outside the organization, removing any access that invitation had granted; recorded in the artifact owner's organization with that member as the actor.
265
266 - `"claude_artifact_invite_role_updated"`
267
268 A member changed the access level of an email invitation to an artifact for someone outside the organization, whether the invitation was still pending or had been accepted; recorded in the artifact owner's organization with that member as the actor.
269
254270 - `"claude_artifact_published"`
255271
256272 A new version of an artifact was published — for an artifact created in a chat this is the action that made it publicly viewable; for an artifact created outside a chat it is recorded when the artifact is saved, including saves of private artifacts, except that automatic saves made while a person keeps editing may be recorded periodically for that person rather than once per save; changes to who can access the artifact are recorded separately as claude_artifact_sharing_updated.
from line 1021
10051021
10061022 - `"mcp_server_managed_auth_token_exchanged"`
10071023
1008 A user attempted to obtain an access token for an MCP server via enterprise managed authorization. This event reports the outcomes of attempted token exchanges. Repeated failures with the same cause may be reported once until the cause changes, and requests denied by organization policy before a token exchange is attempted are not reported, with the exception of the "connector_scope_not_granted" failures described under error_type.
1024 A user attempted to obtain an access token for an MCP server via enterprise managed authorization. This event reports the outcomes of attempted token exchanges. Repeated failures with the same cause may be reported once until the cause changes, and requests refused before a token exchange is attempted are not reported, except the "connector_scope_not_granted" and "identity_assertion_refused" failures described under error_type.
10091025
10101026 - `"mcp_server_managed_auth_updated"`
10111027
from line 2134
21182134
21192135 format: date-time
21202136
2121- `exclude_activity_types: optional array of "abuse_decision_received" or "account_deleted" or "admin_api_key_created" or 507 more`
2137- `exclude_activity_types: optional array of "abuse_decision_received" or "account_deleted" or "admin_api_key_created" or 511 more`
21222138
21232139 Exclude activities of these types. Cannot be combined with `activity_types[]`.
21242140
from line 2366
23502366
23512367 An organization admin allowed one artifact to be shared outside the organization by link while the organization-wide external sharing setting was off, or revoked that permission.
23522368
2369 - `"claude_artifact_invite_accepted"`
2370
2371 Someone outside the organization signed in with a verified account for the invited address and accepted an invitation to an artifact, and can now open it; recorded in the artifact owner's organization. The person who accepted is identified by `invitee_email` and `invitee_user_id`.
2372
2373 - `"claude_artifact_invite_created"`
2374
2375 A member invited (or re-invited) an email address outside the organization to an artifact; recorded in the artifact owner's organization with the inviting member as the actor.
2376
2377 - `"claude_artifact_invite_revoked"`
2378
2379 A member withdrew an invitation to an artifact for someone outside the organization, removing any access that invitation had granted; recorded in the artifact owner's organization with that member as the actor.
2380
2381 - `"claude_artifact_invite_role_updated"`
2382
2383 A member changed the access level of an email invitation to an artifact for someone outside the organization, whether the invitation was still pending or had been accepted; recorded in the artifact owner's organization with that member as the actor.
2384
23532385 - `"claude_artifact_published"`
23542386
23552387 A new version of an artifact was published — for an artifact created in a chat this is the action that made it publicly viewable; for an artifact created outside a chat it is recorded when the artifact is saved, including saves of private artifacts, except that automatic saves made while a person keeps editing may be recorded periodically for that person rather than once per save; changes to who can access the artifact are recorded separately as claude_artifact_sharing_updated.
from line 3136
31043136
31053137 - `"mcp_server_managed_auth_token_exchanged"`
31063138
3107 A user attempted to obtain an access token for an MCP server via enterprise managed authorization. This event reports the outcomes of attempted token exchanges. Repeated failures with the same cause may be reported once until the cause changes, and requests denied by organization policy before a token exchange is attempted are not reported, with the exception of the "connector_scope_not_granted" failures described under error_type.
3139 A user attempted to obtain an access token for an MCP server via enterprise managed authorization. This event reports the outcomes of attempted token exchanges. Repeated failures with the same cause may be reported once until the cause changes, and requests refused before a token exchange is attempted are not reported, except the "connector_scope_not_granted" and "identity_assertion_refused" failures described under error_type.
31083140
31093141 - `"mcp_server_managed_auth_updated"`
31103142
from line 4241
42094241
42104242#### Returns
42114243
4212- `data: optional array of AbuseDecisionReceived or AccountDeleted or AdminAPIKeyCreated or 507 more`
4244- `data: optional array of AbuseDecisionReceived or AccountDeleted or AdminAPIKeyCreated or 511 more`
42134245
42144246 List of activity records. Each element's `type` field identifies which activity it is and which additional fields are present.
42154247
from line 7617
75857617
75867618 Unique identifier for the activity e.g. 'activity_abcd1234'
75877619
7620 - `actor_outside_organization: optional boolean or null`
7621
7622 True when the person who acted belongs to a different organization than the artifact's owner organization, such as someone invited by email who accepted commenter or editor access. Absent on older events; treat absence as false.
7623
75887624 - `claude_artifact_comment_id: optional string or null`
75897625
75907626 The comment's identifier. Present when the activity relates to a specific comment, for example a new comment, an author's edit of one, or an existing comment sent to Claude or withdrawn from Claude; absent for thread-level actions performed without a comment, such as resolve, reopen, deletion, an activation change, or a resolve by a Claude session.
from line 8589
85538589
85548590 Unique identifier for the activity e.g. 'activity_abcd1234'
85558591
8592 - `actor_outside_organization: optional boolean or null`
8593
8594 True when the person who published belongs to a different organization than the artifact's owner organization, such as someone invited by email who accepted editor access. Absent on older events; treat absence as false.
8595
85568596 - `claude_artifact_version_id: optional string or null`
85578597
85588598 The version identifier recorded as live by this publish.
from line 9769
97299769 gateway or a customer-registered federation issuer — acting without an
97309770 Anthropic-provisioned account or service account.
97319771
9732 - `type: optional "federated_actor"`
9733
9734 default: federated_actor
9735
9736 - `provider: FederatedActorAwsProvider or FederatedActorAzureProvider or FederatedActorGcpProvider or FederatedActorOidcProvider`
9737
9738 - `FederatedActorAwsProvider object`
9739
9740 Asserting party: the AWS account the organization is bound to.
9741
9742 - `type: optional "aws"`
9743
9744 default: aws
9745
9746 - `account_id: string`
9747
9748 - `signed_principal: string`
9749
9750 The AWS-signed ARN of the IAM principal that requested the token.
9751
9752 - `FederatedActorAzureProvider object`
9753
9754 Asserting party: the Azure subscription the organization is bound to.
9755
9756 - `type: optional "azure"`
9757
9758 default: azure
9759
9760 - `subscription_id: string`
9761
9762 - `FederatedActorGcpProvider object`
9763
9764 Asserting party: the GCP project the organization is bound to.
9765
9766 - `type: optional "gcp"`
9767
9768 default: gcp
9769
9770 - `project_number: string`
9771
9772 - `FederatedActorOidcProvider object`
9773
9774 Asserting party: a customer-registered OIDC federation issuer.
9775
9776 - `type: optional "oidc"`
9777
9778 default: oidc
9779
9780 - `issuer: optional string or null`
9781
9782 The federation issuer's URL. Null when the presented credential failed verification.
9783
9784 - `ip_address: optional string or null`
9785
9786 - `subject: optional string or null`
9787
9788 The provider's verified identifier for the caller; its form depends on the provider.
9789
9790 - `user_agent: optional string or null`
9791
9792 - `AttestedDeviceActor object`
9793
9794 An attested mobile device authenticated via Apple App Attest.
9795
9796 - `type: optional "attested_device_actor"`
9797
9798 default: attested_device_actor
9799
9800 - `external_client_id: string`
9801
9802 - `kid_hash: string`
9803
9804 - `ip_address: optional string or null`
9805
9806 - `user_agent: optional string or null`
9807
9808 - `id: optional string`
9809
9810 Unique identifier for the activity e.g. 'activity_abcd1234'
9811
9812 - `cc_email_count: optional number or null`
9813
9814 Number of 'cc' email recipients.
9815
9816 - `created_at: optional string`
9817
9818 When this activity occurred.
9819
9820 format: date-time
9821
9822 - `organization_id: optional string or null`
9823
9824 Organization ID this activity is associated with
9825
9826 - `organization_uuid: optional string or null`
9827
9828 Organization UUID where the activity occurred. Null when the activity is not tied to an organization (for example, login and logout events or calls to the Compliance API).
9829
9830 - `primary_email_set: optional boolean or null`
9831
9832 Whether a primary billing email is configured.
9833
9834 - `to_email_count: optional number or null`
9835
9836 Number of 'to' em
9772
No line in this hunk matches that.