---
title: "Interpret YAML using AI"
method: POST
path: "/insight/yaml/interpret/stream"
tags: ["insight"]
---

# Interpret YAML using AI

`POST /insight/yaml/interpret/stream`

This endpoint analyzes YAML content using AI to provide detailed interpretation and insights

## Request body

- DetailInterpretRequest
  - `language` string
  - `yaml` string

## Response `200`

OK

## Other responses

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

## Changes

> 32 revisions in range; 1 could not be searched.

- **2025-01-09** `4d56d4b4f0a2` — 3 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`
- **2024-12-20** `839e13ed033a` — 1 info
  - endpoint added
- **2023-12-11** `2a20fa0acab4` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kusionstack/apis/karpor/changes/insight/yaml/interpret/stream/post.md)

---

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