---
title: "Agent Diagnose"
method: POST
path: "/api/agent/v1/diagnoses"
tags: ["agent"]
---

# Agent Diagnose

`POST /api/agent/v1/diagnoses`

## Request

- Base URL: `https://www.ucai.net` (the document declares no server; this is the origin it was published from)
- URL: `https://www.ucai.net/api/agent/v1/diagnoses`
- Auth: none declared

业务诊断：一个问题，或一份材料（表格、文档、照片），按知识库给判断与行动，带出处。

## Request body

- DiagnosisRequest
  - `question` string
  - `company` string
  - `filename` string
  - `content_base64` string
  - `lang` 'zh' | 'en'
  - `save` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ucai/apis/abs-core.md) · [All operations](https://skmtc.dev/ucai/apis/abs-core/llms.txt) · [OpenAPI document](https://skmtc.dev/ucai/apis/abs-core/revisions/1502a61b5620?raw)
