---
title: "Get Clients Trend"
method: GET
path: "/network-monitoring/v1/clients-trend"
tags: ["Clients"]
---

# Get Clients Trend

`GET /network-monitoring/v1/clients-trend`

Retrieves the clients trend based on the specified group-by field and type category across a time range.

## Query parameters

- `site-id` string, const
- `site-name` string, const
- `start-at` string, const
- `end-at` string, const
- `group-by` 'TYPE' | 'ROLE' | 'VLAN' | 'WLAN' | 'RADIO' | 'SECURITY' | 'PROTOCOL'
- `type` 'ALL' | 'WIRELESS' | 'WIRED'
- `serial-number` string, const

## Response `200`

Response schema for client Trends

- GetClientsTrends
  - `keys` string[], required — List of categories available for a selected filter
  - `samples` DataPoint[], required — List of data samples.
    - `data` number[], required — A list of values corresponding to the keys
    - `ts` string, date-time — An RFC 3339 date-time string
  - `interval` '5 mins' | '3 hours', required — Interval based on given start-at and end-at.
  - `type` string, const, required — The type of the resource.
  - `id` string, const, required — Primary identifier for the resource.

## Other responses

- `400` — Invalid input received.
- `401` — Unauthorized. Authentication credentials are required or invalid.
- `403` — Forbidden: Access is denied.
- `429` — Too Many Requests. The user has sent too many requests in a given amount of time.
- `500` — Internal Server Error. An unexpected error occurred on the server.

---

[API](https://skmtc.net/arubanetworks/apis/authorization.md) · [All operations](https://skmtc.net/arubanetworks/apis/authorization/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/arubanetworks/authorization/revisions/74c95058b11f/schema)
