Skip to main content

Compliance Activities

Ingests Anthropic compliance activity events for audit trail analysis and security monitoring.

Sync Type: Incremental

Requirements

Before configuring this input, you need to:

  1. Create a Compliance Access KeyAnthropic docs.

    • Log in to your Anthropic account
    • Navigate to the Data Management Settings
    • Create a new Compliance Access Key
    • Ensure the key has the read:compliance_activities scope
    • Copy and securely store the generated key
  2. Identify Organization IDs (optional):

    • You can filter activities by specific Anthropic organization IDs
    • If not specified, activities for all accessible organizations will be fetched
    • Organization IDs are in the format: org_xxxxxxxx

Details

Monad keeps track of the state of the input via a timestamp using the created_at.gt filter parameter on the Compliance Activities API. The timestamp of the last successful run is used to retrieve only newer activities that have appeared since the previous sync. Monad generates a timestamp when initiating the sync and will only save it if no errors occur during the sync.

For the first run, if no backfill start time is specified, the input defaults to a 90-day lookback window using the created_at.gte parameter. This ensures you capture historical compliance activities without needing to manually specify a start date.

Configuration

The following configuration defines the input parameters. Each field's specifications, such as type, requirements, and descriptions, are detailed below.

Settings

SettingTypeRequiredDescription
Backfill Start TimestringNoDate to start fetching data from (ISO 8601 format). If not specified, defaults to a 90-day lookback window on the first sync. All subsequent syncs will be incremental.
Organization IDsstringNoComma-separated list of Anthropic organization IDs to fetch compliance activities for. If not specified, compliance activities for all organizations accessible by the provided access key will be fetched.

Secrets

SecretTypeRequiredDescription
Compliance Access KeystringYesCompliance Access Key with read:compliance_activities scope. Created in Data Management Settings.

Rate Limits

ScopeLimitWindowNotes
API Requests2,000Per requestMaximum records returned per page is 2,000

Headers: x-api-key

Source: Anthropic Compliance API Documentation

Sample Record

{
"id": "activity_123456",
"created_at": "2025-03-18T14:30:45.123Z",
"organization_id": "org_12345678",
"organization_uuid": "550e8400e29b41d4a716446655440000",
"actor": {
"type": "user_actor",
"email_address": "user@example.com",
"user_id": "user_abcdefgh",
"ip_address": "192.0.2.1",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
},
"type": "claude_chat_created",
"claude_chat_id": "claude_chat_550e8400e29b",
"claude_project_id": null
}