Skip to main content

Clients

Per-client records — one row per (gateway, MAC) observed in the last 5 minutes. Use this when you need to inspect individual devices (MAC, IP, hostname) rather than aggregate counts. For aggregated counts per gateway, see Connected Clients.


List clients GET /v1/clients

Returns a paginated list of clients observed in the last 5 minutes, using cursor-based pagination.

Query parameters

  • pageSizeinteger

    Number of records to return. Default 100, min 1, max 500.

  • pageTokenstring

    Cursor from the previous response's pageInfo.nextPageToken. Omit for the first page.

Response object

  • timetimestamp

    When this client was last observed.

  • deviceNamestring

    Name of the gateway or access point the client is connected to.

  • hostnamestring

    Client device hostname / model string reported by the gateway.

  • gatewayIdstring

    Unique identifier of the gateway.

  • macstring

    Client MAC address.

  • ipAddressstring

    Client IP address.

Pagination

The response includes a pageInfo object. Pass pageInfo.nextPageToken as pageToken in the next request to retrieve the following page. When hasNextPage is false you have reached the end.

GET/v1/clients
curl "https://polaris.revlv.com/v1/clients?pageSize=100" \
-H "Authorization: Bearer {token}"
Response
{
"data": [
{
"time": "2026-05-02T08:15:00.000000Z",
"deviceName": "Site A Gateway",
"hostname": "OPPO-A5s",
"gatewayId": "d1e2f3a4-b5c6-7890-abcd-ef1234567890",
"mac": "aa:bb:cc:dd:ee:ff",
"ipAddress": "192.168.1.42"
},
{
"time": "2026-05-02T08:14:55.000000Z",
"deviceName": "Site A Gateway",
"hostname": "Infinix-HOT-60i",
"gatewayId": "d1e2f3a4-b5c6-7890-abcd-ef1234567890",
"mac": "bb:cc:dd:ee:ff:00",
"ipAddress": "192.168.1.43"
}
],
"pageInfo": {
"hasNextPage": true,
"nextPageToken": "ZDFlMmYzYTQtYjVjNi03ODkwLWFiY2QtZWYxMjM0NTY3ODkwfGJiOmNjOmRkOmVlOmZmOjAw"
}
}