Skip to main content

Overview

The anomalies client provides automated anomaly detection for your authorization system. It identifies unusual patterns such as rate spikes, high failure rates, new principals, and off-hours activity. Access the anomalies client via client.anomalies.

Detect

Run anomaly detection across all agents and return any detected anomalies:

DetectAnomaliesResponse

List

List stored anomalies. Optionally filter to show only unacknowledged anomalies:

Parameters

The parameter is keyword-only.

ListAnomaliesResponse

Acknowledge

Acknowledge an anomaly to mark it as reviewed:
Returns the updated Anomaly with the acknowledged_at timestamp set.

Anomaly Type

The Anomaly frozen dataclass has the following fields:

Anomaly Types

Example: Monitor and Acknowledge

Last modified on February 28, 2026