List / search devices
acs_devicesList or search CPE/ONT devices known to the ACS, filter by parameters such as last inform or PPPoE username, and return only projected fields to keep rows small.
Instructions
List or search CPE/ONT devices known to the ACS (GET /devices). Use query to filter and ALWAYS pass a projection to keep rows small. Examples: {"_id":{"$regex":"ZTE"}} · {"_lastInform":{"$lt":"2026-10-01T00:00:00Z"}} (stale devices) · {"VirtualParameters.pppoeUsername":"user@isp"}. total is the number of matches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Rows to skip, for paging. Use `total` in the result to know how many exist. | |
| sort | No | Sort as JSON, e.g. {"_lastInform":-1}. | |
| limit | No | Rows to return (default and maximum come from the server configuration). | |
| query | No | GenieACS query as a JSON object (or JSON string), e.g. {"_id":{"$regex":"ZTE"}} or {"_lastInform":{"$gt":"2026-10-15T00:00:00Z"}}. Operators: $eq $ne $in $nin $gt $gte $lt $lte $exists $and $or $regex. | |
| projection | No | Comma separated parameter paths to return, e.g. "_id,_lastInform,InternetGatewayDevice.DeviceInfo.SerialNumber". Strongly recommended: a full device document can be hundreds of KB. |