---
title: "Cua Audit Code"
method: POST
path: "/cua/audit-code"
---

# Cua Audit Code

`POST /cua/audit-code`

## Request

- Base URL: `https://aihcc.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://aihcc.cloud/cua/audit-code`
- Auth: none declared

代码审计：静态分析 agent 源码，输出能力包络报告。

返回 findings（按 severity 排序）+ summary（capability_level/tool_count/...）。
纯规则、0 LLM、不占检测额度。

## Request body

- CuaAuditCodeRequest
  - `code` string, nullable
  - `filename` string
  - `language` string
  - `files` object[], nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aihcc/apis/hallucc-api.md) · [All operations](https://skmtc.dev/aihcc/apis/hallucc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aihcc/apis/hallucc-api/revisions/5818dff6d4c6?raw)
