unifi-api
Installation
SKILL.md
UniFi API Skill
Interact with a UniFi Dream Router or other UniFi OS console via its REST API. Tested against UDR-7 running UniFi OS 4.x / Network Application 10.x.
CLI (restish) — Preferred for Integration API
A unifi CLI wrapper is installed at ~/.local/bin/unifi. It uses restish with the official OpenAPI spec and injects the API key from 1Password automatically via op run.
# List devices
unifi get-adopted-device-overview-page default
# List connected clients
unifi get-connected-client-overview-page default
# List networks
unifi get-networks-overview-page default