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

# Get Clients Trend

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

## Request

- Base URL: `https://sso.common.cloud.hpe.com`
- URL: `https://sso.common.cloud.hpe.com/network-monitoring/v1/clients-trend`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://sso.common.cloud.hpe.com/as/token.oauth2`
- TypeScript: <https://skmtc.dev/arubanetworks/apis/authorization/docs/network-monitoring/v1/clients-trend/get.ts> (a function with typed inputs; its response is checked against the schema)

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.dev/arubanetworks/apis/authorization.md) - [All operations](https://skmtc.dev/arubanetworks/apis/authorization/llms.txt) - [OpenAPI document](https://skmtc.dev/arubanetworks/apis/authorization/revisions/74c95058b11f?raw)
