zdx_list_devices
List active ZDX devices.
Instructions
List active ZDX devices.
Read-only. Returns one identifying row per device (id, hostname, owning
user). Filter by email, user ID, MAC/IP, location/department/geo, and the
since HOURS window. Use a returned device id with zdx_get_device or the
deep-trace / probe tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional JMESPath expression applied to the results after the API call, for client-side filtering and projection. Examples: "[?enabled==`true`]", "[*].{name: name, id: id}", "length(@)". Omit to get the full records. IMPORTANT: field names are the keys of the returned records, which are usually snake_case (`custom_category`) even where the Zscaler API documents camelCase (`customCategory`) — guessing the spelling yields an empty list that looks like a real answer. If you have not already seen a record from this tool, call it once without `query` and read the keys off the response. | |
| since | No | ||
| emails | No | ||
| geo_id | No | ||
| offset | No | ||
| user_ids | No | ||
| location_id | No | ||
| mac_address | No | ||
| private_ipv4 | No | ||
| department_id | No |