Skip to content

list_events

List recent controller events (connections, disconnections, etc.).

Side effects: None (read-only).

Returns the most recent limit event records, newest first.

Not available on every firmware: UniFi Network 10.5 and 10.6 expose no event log on the local API-key surface (/stat/event answers 404), so on those controllers this tool returns an error saying the feature is unsupported rather than an empty list. It works on 10.4 and older.

list_events(limit=100)
Parameter Type Required Default Description
limit integer no 50 Max number of events to return (default 50, max 1000).
controller string no “default” Name of the UniFi controller to target. Defaults to "default".