---
title: "Save"
method: POST
path: "/api/runs"
tags: ["runs"]
---

# Save

`POST /api/runs`

## 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/runs`
- Auth: none declared

存一次判定。输入与结论一起存，并钉住当时的规则口径。

## Request body

- SaveRequest
  - `tool` string, required: 工具标识，如 pmo/risk
  - `title` string: 给这次判定起个名字，方便日后在列表里认出来
  - `note` string: 备注：当时为什么算这一次
  - `line_id` string, nullable: 产线/对象，用来过滤
  - `entity_id` integer, nullable: 这次判的是哪个对象（实体 id）
  - `inputs` object: 这次填了什么
  - `verdict` object: 引擎判了什么

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