list_networks
Retrieve all networks/VLANs for a UniFi site, with optional server-side filtering and pagination to manage large inventories.
Instructions
List all networks/VLANs for a site.
host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID.
Networks are offset-paginated (native default page size 25); by default every page
is drained and the complete list is returned as {data, totalCount}. Pass offset or
limit for a single manual page. filter: optional Network Integration API filter
expression, forwarded unchanged as the upstream filter query parameter for
server-side filtering (e.g. vlanId.eq(100), name.like('*guest*'),
metadata.origin.eq('USER_DEFINED')); omitted entirely when unset. A capped drain is
flagged incomplete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| site | Yes | ||
| limit | No | ||
| filter | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||