# AIHCC API

**Canonical:** https://apis.io/apis/aihcc-cloud/aihcc-cloud-api/  
**Provider:** AIHCC — https://apis.io/providers/aihcc-cloud/  
**Documentation:** https://aihcc.cloud/docs

AIHCC API is one of 2 APIs that [AIHCC](https://apis.io/providers/aihcc-cloud/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

AIHCC API as documented publicly: 33 operations. Contract generated from the documentation by API Evangelist (2026-11-01); not the provider's own document.

## Operations (33)

| Method | Path | Summary |
|---|---|---|
| POST | `/api/detect` | 用它检测一段 AI 回答 |
| POST | `/api/register` | 注册获取 API Key |
| POST | `/auth/forgot-password` | 测试 申请密码重置 |
| POST | `/auth/login` | 测试 统一登录（手机号或邮箱 + 密码） |
| POST | `/auth/phone-login` | 测试 手机验证码登录（新用户自动注册） |
| POST | `/auth/reset-password` | 测试 执行密码重置 |
| POST | `/auth/send-code` | 测试 发送手机验证码 |
| POST | `/batch` | 批量检测整篇文档（按段拆分）+ 可选自动重写 |
| POST | `/billing/orders` | 创建支付订单 |
| GET | `/billing/subscription` | 当前订阅状态 |
| POST | `/cua/audit-code` | POST /cua/audit-code Bearer 测试 Agent 源码静态审计：检测危险导入/权限边界/注入面/危险默认值/沙箱缺失，纯规则不耗额度 |
| GET | `/cua/audit/chains` | GET /cua/audit/chains Bearer 测试 委托链列表（多智能体）：按 chain_id 聚合的跨会话视图，含 agent 数 / 步数 / 阻断数 / 单步最高级 |
| GET | `/cua/audit/chains/{chainId}` | GET /cua/audit/chains/{chain_id} Bearer 委托链详情 + 链级跨跳污点分析：按 agent 归属的时间线，附传播链与 risk_diluted 洗白信号；按当前用户隔离 |
| POST | `/cua/classify` | CUA 动作风险分级 L0-L3：纯规则扫描 Agent 动作轨迹，不耗检测额度 |
| POST | `/detect` | Bearer 测试 检测单段文本中的AI幻觉 |
| POST | `/detect-agent` | Agent输出检测：最终回答 + 可选中间步骤六维结构化评估 |
| POST | `/detect-agent-trajectory` | Agent全链路轨迹检测：分层管线六维评估+幻觉传播DAG |
| POST | `/detect-stream` | Bearer 测试 SSE 流式检测（逐声明实时推送） |
| GET | `/detect/{id}/export` | 导出检测结果JSON |
| GET | `/domains` | GET /domains 测试 可用领域模式（6 个领域均 available，is_default 标记当前默认） |
| POST | `/feedback` | 对声明标记准/不准 |
| POST | `/guard/check` | AI安全检测：Prompt注入/越狱/有害内容 + 可选幻觉检测 |
| GET | `/health` | GET /health 测试 健康检查 |
| GET | `/history` | 最近检测列表 |
| GET | `/history/{id}` | 某次检测的完整结果 |
| GET | `/knowledge` | GET /knowledge Bearer 测试 列出当前用户的知识库 |
| POST | `/knowledge` | Bearer 测试 创建私有知识库（可选同时上传首份文档） |
| DELETE | `/knowledge/{kbId}` | DELETE /knowledge/{kb_id} Bearer 删除知识库及其全部分段 |
| POST | `/knowledge/{kbId}/upload` | POST /knowledge/{kb_id}/upload Bearer 向已有知识库上传文档（提取文本并分段） |
| GET | `/me` | Bearer 测试 当前用户信息和额度 |
| GET | `/models` | GET /models 测试 可用LLM模型列表 |
| POST | `/register` | 测试 邮箱注册新用户 |
| POST | `/source-check` | 源文档对照：检测AI摘要是否忠于源文档 |

## Machine-readable artifacts (7)

- **OpenAPI** — https://artifacts.apis.io/aihcc-cloud/openapi/_ae-authored/aihcc-cloud-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/aihcc-cloud/json-schema/aihcc-cloud-post-api-detect-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/aihcc-cloud/json-schema/aihcc-cloud-post-api-detect-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/aihcc-cloud/json-schema/aihcc-cloud-post-cua-audit-code-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/aihcc-cloud/json-schema/aihcc-cloud-post-batch-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/aihcc-cloud/json-schema/aihcc-cloud-post-detect-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/aihcc-cloud/json-schema/aihcc-cloud-post-detect-agent-request-schema.json

## Other AIHCC APIs (1)

- [AIHCC API](https://apis.io/apis/aihcc-cloud/aihcc-api/)

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/aihcc-cloud/aihcc-cloud-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/aihcc-cloud/.
