Unifi icon

Unifi

Interact with Unifi API

Sites and Monitoring → Client DPI

AI-generated

Summary

Retrieve the Deep Packet Inspection (DPI) data for a specified UniFi site.

Inputs

  • siteId (required) — The identifier of the UniFi site to get client DPI data for, found in the "name" field from the "Get Sites" operation.
  • splitIntoItems — Whether to split each DPI data entry into its own individual item (true) or to return the full raw API response as a single item (false). Defaults to true.

Output shape

a list of JSON items representing client DPI data entries if 'Split Into Items' is true; otherwise a single JSON item containing the full API response.

The response shape depends on the 'splitIntoItems' parameter: if true, each DPI record is output as a separate item; if false, the raw response is output as a single item. Errors related to authentication or access permissions will be thrown as node errors.

Examples

Example 1: Fetch DPI statistics for a specific site and process each DPI data entry separately

Set 'siteId' to the target site name and enable 'Split Into Items' (default true).

Discussion