---
title: "Get power consumption information for an Access Point"
method: GET
path: "/network-monitoring/v1/aps/{serial-number}/power-consumption-trends"
tags: ["Access Points"]
---

# Get power consumption information for an Access Point

`GET /network-monitoring/v1/aps/{serial-number}/power-consumption-trends`

The API retrieves power consumption trend data in watts for a specified access point. The data will be fetched based on the timestamp range provided in the filter. If no timestamp range is specified in the filter, data for the last 3 hours will be returned by default.

## Path parameters

- `serial-number` string, const, required — The device serial number.

## Query parameters

- `filter` string, const
- `site-id` string, uuid — Id of a site where devices are associated.
- `site-name` string, const — Name of the Site in which the device is present.

## Response `200`

The response object provides power consumption trend of an access point over a period of time.

- AccessPointPowerConsumption
  - `metric` string, const, required — Hardware performance metric for the power consumption of an access point.
  - `graph` object, required
    - `keys` string[], required — List of metrics which helps to evaluate the power consumption trend of an access point.
    - `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
    - `samplingIntervalInMinutes` integer, required — **Sampling interval for trend data points (in minutes)** Determined automatically by requested time range: | Time Range | Interval | |-----------------|----------| | ≤ 24 hours | 5 min | | > 24 hours | 180 min |
  - `id` string, const, required — Primary identifier for the resource.
  - `type` string, const, 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.
- `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)
