get_recent_access_events
get_recent_access_events
Section titled “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.
Example
Section titled “Example”get_recent_access_events(limit=10)Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
limit | integer | no | 20 | Maximum events returned. Defaults to 20. |
controller | string | no | ”default” | Name of the UniFi controller to target. |