Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Function runMonitorTick

    • Parameters

      • params: {
            agentId?: string;
            baselineToolHashes?: Map<string, string>;
            config: {
                alertSeverities: ("critical" | "warning" | "info")[];
                anomalySensitivity: number;
                detectPromptInjection: boolean;
                detectToolApiChanges: boolean;
                intervalSeconds: number;
                maxEventsPerTick: number;
                retentionDays: number;
                schemaVersion: 1;
                trackContextPollution: boolean;
                trustDriftThreshold: number;
                webhookUrls: string[];
            };
            historicalPollutionScore?: number;
            workspace: string;
        }
        • OptionalagentId?: string
        • OptionalbaselineToolHashes?: Map<string, string>

          Baseline tool hashes from previous ticks

        • config: {
              alertSeverities: ("critical" | "warning" | "info")[];
              anomalySensitivity: number;
              detectPromptInjection: boolean;
              detectToolApiChanges: boolean;
              intervalSeconds: number;
              maxEventsPerTick: number;
              retentionDays: number;
              schemaVersion: 1;
              trackContextPollution: boolean;
              trustDriftThreshold: number;
              webhookUrls: string[];
          }
          • alertSeverities: ("critical" | "warning" | "info")[]

            Alert on these severity levels

          • anomalySensitivity: number

            Anomaly detection sensitivity (0-1, higher = more sensitive)

          • detectPromptInjection: boolean

            Enable prompt injection detection

          • detectToolApiChanges: boolean

            Enable tool API change detection

          • intervalSeconds: number

            Polling interval in seconds (minimum 30)

          • maxEventsPerTick: number

            Maximum events to analyze per tick

          • retentionDays: number

            Time-series retention in days

          • schemaVersion: 1
          • trackContextPollution: boolean

            Enable context pollution tracking

          • trustDriftThreshold: number

            Trust drift threshold (points out of 100)

          • webhookUrls: string[]

            Webhook URLs for alerts

        • OptionalhistoricalPollutionScore?: number

          Historical pollution score for trend

        • workspace: string

      Returns MonitorTickResult