Compliance API changedapi/compliance
Nearest release: v2.1.330, published under 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+3,453added
Lines−27removed
From line
19
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits42to 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 "account_migration_completed" or 617 more`
22- `activity_types: optional array of "abuse_decision_received" or "account_deleted" or "account_migration_completed" or 630 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 242
242242
243243 A Claude Code session was deleted.
244244
245 - `"ccr_session_feedback_submitted"`
246
247 A user sent feedback on a Claude Code session to Anthropic with part of the session's transcript, or with the ID of a model response in it; not every such report produces this activity.
248
249 - `"ccr_session_file_added"`
250
251 A user added a file to a Claude Code session; not every file added to a session produces this activity.
252
245253 - `"ccr_session_updated"`
246254
247255 A Claude Code session's settings were updated.
from line 270
262270
263271 An artifact's comments were viewed.
264272
273 - `"claude_artifact_connector_share_created"`
274
275 A member turned on Live sharing for one of their connectors on an artifact. The calls they approved run with their access when other people view the artifact, as the organization's sharing settings allow. Results can be saved in the artifact.
276
277 - `"claude_artifact_connector_share_revoked"`
278
279 A member's share of a connector (MCP server) on an artifact was revoked, so the artifact no longer runs that connector's calls with the member's access; the actor is whoever revoked it, or the system when the sharing member was found to have view access only. A share can also stop working, for a time or for good, with no such record: for example when the artifact is deleted (see claude_published_artifact_deleted), when the member removes the connector or their account is removed, when the sharing member has not opened the artifact for a long time, when the sharing member no longer has direct access to the artifact, or when an administrator turns Live sharing off.
280
265281 - `"claude_artifact_created"`
266282
267283 An artifact was created.
from line 546
530546
531547 Command was replaced.
532548
549 - `"claude_directory_domain_added"`
550
551 An organization added a domain name it intends to prove it controls; this is separate from the organization's email domains.
552
553 - `"claude_directory_domain_checked"`
554
555 A check was made of whether an organization controls a domain name it added; this is separate from the organization's email domains.
556
557 - `"claude_directory_domain_removed"`
558
559 An organization removed a domain name it had added; this is separate from the organization's email domains. Also recorded when an organization adds again a domain name that it did not prove in the time allowed: the name is removed and added anew, so a `claude_directory_domain_added` record for the same name is created just after this one.
560
533561 - `"claude_enterprise_upgrade_credit_updated"`
534562
535563 An organization admin cancelled, or turned back on, the monthly usage credit the organization receives for upgrading from the Team plan to the Enterprise plan, together with the recurring monthly charge that accompanies it.
from line 1188
11601188
11611189 - `"inference_hooks_circuit_breaker_tripped"`
11621190
1163 The organization's Inference hooks circuit breaker tripped automatically: calls to the organization's Inference hooks endpoint crossed a failure threshold, and inspection was suspended to protect live traffic. While tripped, requests are handled according to the organization's failure handling setting — allowed through uninspected (fail open) or rejected (fail closed) — and no per-request Inference hooks activities are recorded. Inspection turns back on by itself once the organization's Inference hooks endpoint returns a valid allow or deny answer to Anthropic's test request again, at least 10 minutes after the trip. An administrator can also end the tripped state by re-enabling Inference hooks inspection. If an administrator saves the Inference hooks settings after the trip (even without changing anything) or generates a new signing secret, inspection no longer turns back on by itself and stays off until an administrator re-enables it.
1191 The organization's Inference hooks circuit breaker tripped automatically: calls to the organization's Inference hooks endpoint crossed a failure threshold, and inspection was suspended to protect live traffic. While tripped, requests are handled according to the organization's failure handling setting — allowed through uninspected (fail open) or rejected (fail closed) — and no per-request Inference hooks activities are recorded. Inspection turns back on by itself once the organization's Inference hooks endpoint returns a valid allow or deny answer to Anthropic's test request again, at least 3 minutes after the trip. An administrator can also end the tripped state by re-enabling Inference hooks inspection. If an administrator saves the Inference hooks settings after the trip (even without changing anything) or generates a new signing secret, inspection no longer turns back on by itself and stays off until an administrator re-enables it.
11641192
11651193 - `"inference_hooks_config_deleted"`
11661194
from line 1274
12461274
12471275 Admin provisioned a GitHub push webhook for a marketplace.
12481276
1277 - `"mcp_directory_server_created"`
1278
1279 The organization created a draft MCP directory listing.
1280
1281 - `"mcp_directory_server_deleted"`
1282
1283 The organization deleted its MCP directory listing.
1284
12491285 - `"mcp_directory_server_published"`
12501286
12511287 The organization published its approved MCP directory listing.
12521288
1289 - `"mcp_directory_server_updated"`
1290
1291 The organization changed its MCP directory listing.
1292
12531293 - `"mcp_server_created"`
12541294
12551295 An MCP server was added to the organization.
from line 1322
12821322
12831323 Organization analytics_api capability was enabled or disabled.
12841324
1325 - `"org_ban_appeal_submitted"`
1326
1327 A member asked Anthropic to review a ban on the organization.
1328
12851329 - `"org_bulk_delete_initiated"`
12861330
12871331 Organization bulk deletion was initiated.
from line 2078
20342078
20352079 A plugin directory submission was updated on the API platform.
20362080
2081 - `"platform_prepaid_credits_purchased"`
2082
2083 Prepaid credits were purchased for the organization.
2084
20372085 - `"platform_service_account_archived"`
20382086
20392087 A service account was archived.
from line 2144
20962144
20972145 - `"platform_spend_limit_updated"`
20982146
2099 An org-level spend limit snooze/ignore state was changed.
2147 The amount of an org-level spend limit was changed, or the limit was snoozed or its snooze was removed.
21002148
21012149 - `"platform_telemetry_destination_auto_disabled"`
21022150
from line 2571
25232571
25242572 A workspace-level API spend limit was deleted.
25252573
2574 - `"workspace_spend_limit_updated"`
2575
2576 The amount of a workspace-level API spend limit was changed.
2577
25262578- `actor_ids: optional array of string`
25272579
25282580 Filter activities by actor IDs (currently only `user_...` IDs are supported). Enumerate IDs via `GET /v1/compliance/organizations/{org_uuid}/users`.
from line 2613
25612613
25622614 format: date-time
25632615
2564- `exclude_activity_types: optional array of "abuse_decision_received" or "account_deleted" or "account_migration_completed" or 617 more`
2616- `exclude_activity_types: optional array of "abuse_decision_received" or "account_deleted" or "account_migration_completed" or 630 more`
25652617
25662618 Exclude activities of these types. Cannot be combined with `activity_types[]`.
25672619
from line 2836
27842836
27852837 A Claude Code session was deleted.
27862838
2839 - `"ccr_session_feedback_submitted"`
2840
2841 A user sent feedback on a Claude Code session to Anthropic with part of the session's transcript, or with the ID of a model response in it; not every such report produces this activity.
2842
2843 - `"ccr_session_file_added"`
2844
2845 A user added a file to a Claude Code session; not every file added to a session produces this activity.
2846
27872847 - `"ccr_session_updated"`
27882848
27892849 A Claude Code session's settings were updated.
from line 2864
28042864
28052865 An artifact's comments were viewed.
28062866
2867 - `"claude_artifact_connector_share_created"`
2868
2869 A member turned on Live sharing for one of their connectors on an artifact. The calls they approved run with their access when other people view the artifact, as the organization's sharing settings allow. Results can be saved in the artifact.
2870
2871 - `"claude_artifact_connector_share_revoked"`
2872
2873 A member's share of a connector (MCP server) on an artifact was revoked, so the artifact no longer runs that connector's calls with the member's access; the actor is whoever revoked it, or the system when the sharing member was found to have view access only. A share can also stop working, for a time or for good, with no such record: for example when the artifact is deleted (see claude_published_artifact_deleted), when the member removes the connector or their account is removed, when the sharing member has not opened the artifact for a long time, when the sharing member no longer has direct access to the artifact, or when an administrator turns Live sharing off.
2874
28072875 - `"claude_artifact_created"`
28082876
28092877 An artifact was created.
from line 3140
30723140
30733141 Command was replaced.
30743142
3143 - `"claude_directory_domain_added"`
3144
3145 An organization added a domain name it intends to prove it controls; this is separate from the organization's email domains.
3146
3147 - `"claude_directory_domain_checked"`
3148
3149 A check was made of whether an organization controls a domain name it added; this is separate from the organization's email domains.
3150
3151 - `"claude_directory_domain_removed"`
3152
3153 An organization removed a domain name it had added; this is separate from the organization's email domains. Also recorded when an organization adds again a domain name that it did not prove in the time allowed: the name is removed and added anew, so a `claude_directory_domain_added` record for the same name is created just after this one.
3154
30753155 - `"claude_enterprise_upgrade_credit_updated"`
30763156
30773157 An organization admin cancelled, or turned back on, the monthly usage credit the organization receives for upgrading from the Team plan to the Enterprise plan, together with the recurring monthly charge that accompanies it.
from line 3782
37023782
37033783 - `"inference_hooks_circuit_breaker_tripped"`
37043784
3705 The organization's Inference hooks circuit breaker tripped automatically: calls to the organization's Inference hooks endpoint crossed a failure threshold, and inspection was suspended to protect live traffic. While tripped, requests are handled according to the organization's failure handling setting — allowed through uninspected (fail open) or rejected (fail closed) — and no per-request Inference hooks activities are recorded. Inspection turns back on by itself once the organization's Inference hooks endpoint returns a valid allow or deny answer to Anthropic's test request again, at least 10 minutes after the trip. An administrator can also end the tripped state by re-enabling Inference hooks inspection. If an administrator saves the Inference hooks settings after the trip (even without changing anything) or generates a new signing secret, inspection no longer turns back on by itself and stays off until an administrator re-enables it.
3785 The organization's Inference hooks circuit breaker tripped automatically: calls to the organization's Inference hooks endpoint crossed a failure threshold, and inspection was suspended to protect live traffic. While tripped, requests are handled according to the organization's failure handling setting — allowed through uninspected (fail open) or rejected (fail closed) — and no per-request Inference hooks activities are recorded. Inspection turns back on by itself once the organization's Inference hooks endpoint returns a valid allow or deny answer to Anthropic's test request again, at least 3 minutes after the trip. An administrator can also end the tripped state by re-enabling Inference hooks inspection. If an administrator saves the Inference hooks settings after the trip (even without changing anything) or generates a new signing secret, inspection no longer turns back on by itself and stays off until an administrator re-enables it.
37063786
37073787 - `"inference_hooks_config_deleted"`
37083788
from line 3868
37883868
37893869 Admin provisioned a GitHub push webhook for a marketplace.
37903870
3871 - `"mcp_directory_server_created"`
3872
3873 The organization created a draft MCP directory listing.
3874
3875 - `"mcp_directory_server_deleted"`
3876
3877 The organization deleted its MCP directory listing.
3878
37913879 - `"mcp_directory_server_published"`
37923880
37933881 The organization published its approved MCP directory listing.
37943882
3883 - `"mcp_directory_server_updated"`
3884
3885 The organization changed its MCP directory listing.
3886
37953887 - `"mcp_server_created"`
37963888
37973889 An MCP server was added to the organization.
from line 3916
38243916
38253917 Organization analytics_api capability was enabled or disabled.
38263918
3919 - `"org_ban_appeal_submitted"`
3920
3921 A member asked Anthropic to review a ban on the organization.
3922
38273923 - `"org_bulk_delete_initiated"`
38283924
38293925 Organization bulk deletion was initiated.
from line 4672
45764672
45774673 A plugin directory submission was updated on the API platform.
45784674
4675 - `"platform_prepaid_credits_purchased"`
4676
4677 Prepaid credits were purchased for the organization.
4678
45794679 - `"platform_service_account_archived"`
45804680
45814681 A service account was archived.
from line 4738
46384738
46394739 - `"platform_spend_limit_updated"`
46404740
4641 An org-level spend limit snooze/ignore state was changed.
4741 The amount of an org-level spend limit was changed, or the limit was snoozed or its snooze was removed.
46424742
46434743 - `"platform_telemetry_destination_auto_disabled"`
46444744
from line 5165
50655165
50665166 A workspace-level API spend limit was deleted.
50675167
5168 - `"workspace_spend_limit_updated"`
5169
5170 The amount of a workspace-level API spend limit was changed.
5171
50685172- `limit: optional number`
50695173
50705174 Maximum results (default: 100, max: 5000)
from line 5205
51015205
51025206#### Returns
51035207
5104- `data: optional array of AbuseDecisionReceived or AccountDeleted or AccountMigrationCompleted or 617 more`
5208- `data: optional array of AbuseDecisionReceived or AccountDeleted or AccountMigrationCompleted or 630 more`
51055209
51065210 List of activity records. Each element's `type` field identifies which activity it is and which additional fields are present.
51075211
from line 8772
86688772
86698773 Asserting party: the Azure subscription the organization is bound to.
86708774
8671 - `type: optional "azure"`
8672
8673 default: azure
8674
8675 - `subscription_id: string`
8676
8677 - `Gcp object`
8678
8679 Asserting party: the GCP project the organization is bound to.
8680
8681 - `type: optional "gcp"`
8682
8683 default: gcp
8684
8685 - `project_number: string`
8686
8687 - `Oidc object`
8688
8689 Asserting party: a customer-registered OIDC federation issuer.
8690
8691 - `type: optional "oidc"`
8692
8693 default: oidc
8694
8695 - `issuer: optional string or null`
8696
8697 The federation issuer's URL. Null when the presented credential failed verification.
8698
8699 - `ip_address: optional string or null`
8700
8701 - `subject: optional string or null`
8702
8703 The provider's verified identifier for the caller; its form depends on the provider.
8704
8705 - `user_agent: optional string or null`
8706
8707 - `AttestedDeviceActor object`
8708
8709 An attested mobile device authenticated via Apple App Attest.
8710
8711 - `type: optional "attested_device_actor"`
8712
8713 default: attested_device_actor
8714
8715 - `external_client_id: string`
8716
8717 - `kid_hash: string`
8718
8719 - `ip_address: optional string or null`
8720
8721 - `user_agent: optional string or null`
8722
8723 - `reason_code: "incident_response" or "safety_review" or "unspecified"`
8724
8725 The permitted access reason under which the data was accessed.
8726
8727 - `"incident_response"`
8728
8729 - `"safety_review"`
8730
8731 - `"unspecified"`
8732
8733 - `id: optional string`
8734
8735 Unique identifier for the activity e.g. 'activity_abcd1234'
8736
8737 - `accessed_at: optional string or null`
8738
8739 When the data was accessed.
8740
8741 format: date-time
8742
8743 - `accessor_department: optional string or null`
8744
8745 The team or department of the Anthropic employee who accessed the data.
8746
8747 - `created_at: optional string`
8748
8749 When this activity occurred.
8750
8751 format: date-time
8752
8753 - `organization_id: optional string or null`
8754
8755 Organization ID this activity is associated with
8756
8757 - `organization_uuid: optional string or null`
8758
8759 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).
8760
8761 - `resource_details: optional object or null`
8762
8763 The resource that was accessed. Some records do not name one.
8764
8765 - `type: string`
8766
8767 The kind of resource, for example "message" (a Messages API request). More kinds will be added, so clients should accept any value.
8768
8769 - `id: string`
8770
8771 The resource's identifier as the organization knows it, e.g. the tagged ID "msg_01HX...".
8772
8773 - `transparency_log_leaf_index: optional number or null`
8774
8775 The transparency log's org-scoped leaf index for this activity, when it was ingested through the tamper-evident log. An UNVERIFIED lookup hint: presence is never evidence of log inclusion — verify via the log's inclusion proof before treating the activity as tamper-logged. Absent for activities recorded before transparency-log coverage or outside it.
8776
8777 - `user_profile_id: optional string or null`
8778
8779 Tagged ID of the user profile the accessed data was created under, e.g. "uprof_01HX...". Present only when the data was created under a user profile.
8780
8781 - `workspace_id: optional string or null`
8782
8783 Tagged workspace ID, e.g. "wrkspc_01HX...". Not set when the data is not attributed to a workspace.
8784
8785 - `workspace_uuid: optional string or null`
8786
8787 **Deprecated**
8788
8789 The workspace's ID as a UUID. Deprecated: use workspace_id instead.
8790
8791 - `APIKeyCreated object`
8792
8793 Activity logged when a new API key is created.
8794
8795 - `type: optional "api_key_created"`
8796
8797 default: api_key_created
8798
8799 - `actor: APIActor or UserActor or UnauthenticatedUserActor or 8 more`
8800
8801 - `APIActor object`
8802
8803 - `type: optional "api_actor"`
8804
8805 default: api_actor
8806
8807 - `api_key_id: string`
8808
8809 - `ip_address: string`
8810
8811 - `user_agent: string`
8812
8813 - `UserActor object`
8814
8815 - `type: optional "user_actor"`
8816
8817 default: user_actor
8818
8819 - `email_address: string`
8820
8821 format: email
8822
8823 - `ip_address: string`
8824
8825 - `user_agent: string`
8826
8827 - `user_id: string`
8828
8829 - `UnauthenticatedUserActor object`
8830
8831 - `type: optional "unauthenticated_user_actor"`
8832
8833 default: unauthenticated_user_actor
8834
8835 - `ip_address: string`
8836
8837 - `user_agent: string`
8838
8839 - `unauthenticated_email_address: optional string or null`
8840
8841 format: email
8842
8843 - `AnthropicActor object`
8844
8845 - `type: optional "anthropic_actor"`
8846
8847 default: anthropic_actor
8848
8849 - `email_address: optional string or null`
8850
8851 format: email
8852
8853 - `SystemActor object`
8854
8855 Automated background processing performed by Anthropic systems, acting
8856 without a user or customer credential.
8857
8858 - `type: optional "system_actor"`
8859
8860 default: system_actor
8861
8862 - `service: optional string or null`
8863
8864 Name of the automated process that performed the action, when known.
8865
8866 - `AdminAPIKeyActor object`
8867
8868 - `type: optional "admin_api_key_actor"`
8869
8870 default: admin_api_key_actor
8871
8872 - `admin_api_key_id: string`
8873
8874 - `ip_address: string`
8875
8876 - `user_agent: string`
8877
8878 - `ServiceAccountActor object`
8879
8880 - `type: optional "service_account_actor"`
8881
8882 default: service_account_actor
8883
8884 - `ip_address: string`
8885
8886 - `service_account_id: stri
8775
No line in this hunk matches that.