---
title: "Interpret scanner issues using AI"
method: POST
path: "/insight/issue/interpret/stream"
tags: ["insight"]
---

# Interpret scanner issues using AI

`POST /insight/issue/interpret/stream`

This endpoint analyzes scanner issues using AI to provide detailed interpretation and insights

## Request body

- ScannerInterpretRequest
  - `auditData` AiAuditData
    - `bySeverity` object
    - `issueGroups` AiIssueGroup[]
      - `issue` ScannerIssue
        - `message` string — Message provides a detailed human-readable description of the issue.
        - `scanner` string — Scanner is the name of the scanner that discovered the issue.
        - `severity` integer — Severity indicates how critical the issue is, using the IssueSeverityLevel constants.
        - `title` string — Title is a brief summary of the issue.
      - `resourceGroups` EntityResourceGroup[]
        - `annotations` object
        - `apiVersion` string
        - `cluster` string
        - `kind` string
        - `labels` object
        - `name` string
        - `namespace` string
        - `status` string
    - `issueTotal` integer
    - `resourceTotal` integer
  - `language` string — Language for interpretation

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.dev/kusionstack/apis/karpor.md) · [All operations](https://skmtc.dev/kusionstack/apis/karpor/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kusionstack/karpor/revisions/d741ac56c269/schema)
