Skip to content

get_recent_access_events

Return the most recent N events across every door.

Side effects: None (read-only).

Convenience wrapper around list_access_events with a 24-hour window and no filters. Useful for “what just happened” triage.

get_recent_access_events(limit=10)
ParameterTypeRequiredDefaultDescription
limitintegerno20Maximum events returned. Defaults to 20.
controllerstringno”default”Name of the UniFi controller to target.