---
title: "Port Link Integrity (OpenConfig transceiver v1.0.0)"
method: GET
path: "/api/ports/{switch_name}/{port_name}/link-integrity"
tags: ["Ports"]
---

# Port Link Integrity (OpenConfig transceiver v1.0.0)

`GET /api/ports/{switch_name}/{port_name}/link-integrity`

## Request

- Base URL: `https://api.fiber.ac` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fiber.ac/api/ports/{switch_name}/{port_name}/link-integrity`
- Auth: none declared

Current OpenConfig transceiver v1.0.0 per-channel link-integrity state for one port: cumulative rx/tx LOS, rx/tx LOL and tx-fault counters (summed over lanes), worst-lane media/host SNR, and the counter increase over the last 24 h and 1 h (reset-safe sum of positive steps, same definition as the risk engine's LOS precursor rule). Computed by one bounded ClickHouse aggregate (24 h, single port) — poll this instead of downloading the 24 h history. `available` is false when the deployment's schema lacks the columns; `reported` is false when the device does not expose these leaves (every field is then null — a device that reports nothing is not a device with zero events).

## Path parameters

- `switch_name` string, required
- `port_name` string, required

## Response `200`

Current counters/SNR with 24h and 1h increases, or nulls when unavailable/unreported

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fiber-ac/apis/fiber-api.md) · [All operations](https://skmtc.dev/fiber-ac/apis/fiber-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fiber-ac/apis/fiber-api/revisions/58267250d793?raw)
