---
title: "Get LAG summary for a Switch"
method: GET
path: "/network-monitoring/v1/switches/{serial-number}/lag"
tags: ["Switch"]
---

# Get LAG summary for a Switch

`GET /network-monitoring/v1/switches/{serial-number}/lag`

This API provides a summary of link aggregation group (LAG) details for the specified serial number or stack id. Conductor serial may also be used instead of a stack id

## Path parameters

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

## Response `200`

Object containing the lag summary information

- SwitchLagSummaryResponse — Response containing a lag summary and the total count.
  - `items` SwitchLagSummary[], required — List of lag summary.
    - `id` string, required — Lag name.
    - `type` string, required — Type of the switch.
    - `name` string — Lag name.
    - `count` integer — Count of the interfaces with lag.
    - `ports` string[] — Names of the switch interface.
  - `count` integer, required — Total number of lags.

## Other responses

- `400` — Invalid input received.
- `401` — Unauthorized. Authentication credentials are required or invalid.
- `403` — Forbidden: Access is denied.
- `404` — Device with serial number not found.
- `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)
