Unifi icon

Unifi

Interact with Unifi API

Sites and Monitoring → Gateway Stats

AI-generated

Summary

Retrieve gateway statistics for a specified UniFi site by providing its site name.

Inputs

  • siteId (required) — The 'name' value identifying the UniFi site, obtained from the 'Get Sites' operation.
  • splitIntoItems — Boolean flag to return each element of the response as a separate item when true, or the entire raw response as one item when false.

Output shape

a list of items representing gateway statistics, or a single item with the raw response object, depending on 'splitIntoItems' option

When 'splitIntoItems' is true, each statistic entry from the response is output as its own item; otherwise output contains one item with the full raw JSON response. Errors for authentication or permission issues result in explicit failure messages.

Discussion