UniFi API guide

unifi.ui.com

Review UniFi site inventories, device states, and console health using read operations; most cloud writes remain unverified.

Actions and inputs

network list-sites

List the network sites on a console you manage.

network list-devices

List devices at a site and review their models and states.

Inputs Site ID

fleet health

Check console health across your fleet and see which lookups failed.

drift

Compare local snapshots to review configuration changes.

Saved UniFi device inventory filter in Smith

Create

Save a UniFi device inventory filter in Smith.

Inputs Filter name, site ID, device model, device state

Read

View the saved filter and matching UniFi devices.

Inputs Filter ID

Update

Change the saved filter's site, model, or state criteria.

Inputs Filter ID, revised criteria

Delete

Remove the inventory filter from Smith without changing UniFi devices.

Inputs Filter ID