Skip to content

get_anomalies

List client-impacting anomalies the controller has detected.

Side effects: None (read-only).

Returns one record per anomaly with anomaly (an enum string such as USER_HIGH_TCP_LATENCY or USER_DNS_LATENCY), mac (the affected client), and timestamps (a list of epoch-ms occurrence times). Returns an empty list on a clean network.

get_anomalies(controller="default")
ParameterTypeRequiredDefaultDescription
controllerstringno”default”Name of the UniFi controller to target. Defaults to "default".