---
title: "Get cluster capacity trend"
method: GET
path: "/network-monitoring/v1/clusters/{cluster-name}/capacity-trends"
tags: ["Gateways"]
---

# Get cluster capacity trend

`GET /network-monitoring/v1/clusters/{cluster-name}/capacity-trends`

## Request

- Base URL: `https://sso.common.cloud.hpe.com`
- URL: `https://sso.common.cloud.hpe.com/network-monitoring/v1/clusters/{cluster-name}/capacity-trends`
- 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/clusters/:cluster-name/capacity-trends/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves client and device capacity trend data for a gateway cluster based on specified timestamp range.

## Path parameters

- `cluster-name` string, const, required: The name of the cluster to which the device belongs. If the device is not part of any cluster then the cluster name will be null.

## Query parameters

- `filter` string

## Response `200`

The response object provides the client and device capacity trend of a gateway cluster.

- ClusterCapacityTrend
  - `graph` object, required
    - `keys` string[], required: List of metrics which help to evaluate the client and device capacity trend of a gateway cluster.
    - `samples` GraphDataPoint[], required
      - `data` number[], required: A list of values corresponding to the keys
      - `timestamp` string, date-time, required: An RFC 3339 date-time string
  - `id` string, required: Primary identifier for the resource.
  - `type` string, required: The type of the resource.

## Other responses

- `400`: Invalid input received.
- `401`: Unauthorized. Authentication credentials are required or invalid.
- `403`: Forbidden: Access is denied.
- `404`: Not Found error.
- `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)
