Skip to main content
MeshAI’s ML engine runs four detection algorithms every 5 minutes: cost spikes, reliability decay, behavioral drift, and security threats. Detected anomalies are surfaced via the SDK and dashboard.

list_anomalies()

List anomalies for your tenant, optionally filtered by status, type, or agent.
string
Filter by status: open, acknowledged, resolved
string
Filter by type: cost_spike, reliability_decay, behavioral_drift, security_threat
string
Filter by agent ID
integer
default:"20"
Results per page
integer
default:"0"
Results to skip
Returns:

get_anomaly()

Get a single anomaly by ID.
integer
required
Anomaly event ID

acknowledge_anomaly()

Mark an anomaly as acknowledged. This indicates a human has reviewed it.
integer
required
Anomaly event ID

resolve_anomaly()

Mark an anomaly as resolved.
integer
required
Anomaly event ID

get_anomaly_summary()

Get a summary of anomaly counts by type and status.
Returns: