---
title: "Explainable Risk Score"
method: GET
path: "/api/ai/explain/{switch_name}/{port_name}"
tags: ["AI Assistant"]
---

# Explainable Risk Score

`GET /api/ai/explain/{switch_name}/{port_name}`

## 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/ai/explain/{switch_name}/{port_name}`
- Auth: none declared

Return a human-readable explanation of why a port has its current risk score: headline, confidence, contributing factors with severities, trend, and similar-pattern description.

## Path parameters

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

## Response `200`

JSON explanation of the risk score.

- 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)
