---
title: "Get gateway CPU utilization trend"
method: GET
path: "/network-monitoring/v1/gateways/{serial-number}/cpu-utilization-trends"
tags: ["Gateways"]
---

# Get gateway CPU utilization trend

`GET /network-monitoring/v1/gateways/{serial-number}/cpu-utilization-trends`

## Request

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

Retrieves CPU utilization trend data for the gateway based on specified timestamp range.

## Path parameters

- `serial-number` string, required: The gateway serial number.

## Query parameters

- `filter` string
- `site-id` string, uuid: Id of a site where devices are associated.

## Response `200`

The response object provides CPU utilization trends of gateway.

- GwCPUTrend
  - `metric` string, required: Metric for the CPU utilization trends of gateway.
  - `graph` object, required
    - `keys` string[], required: List of metrics which help to evaluate the CPU trend of the gateway.
    - `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)
