---
title: "Create Flow"
method: POST
path: "/api/console/flows"
tags: ["console"]
---

# Create Flow

`POST /api/console/flows`

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

## Request body

- AbsCoreApiRoutersConsoleFlowsCreateRequest
  - `name` string, required: 流程名字，列表里认它靠这个
  - `summary` string, nullable
  - `nodes` NodeIn[], required
    - `id` string, required: 工具清单里的 id
    - `why` string, nullable: 这一步凭什么在这儿——人写的那句
    - `forms` string[]: 这一步要用哪几张表（表格库的 id）。只存 id，名字读的时候补
    - `x` number: 画布横坐标。并列的两件靠它定序
    - `y` number: 画布纵坐标
  - `edges` EdgeIn[]
    - `from` string, required: 先做的那件
    - `to` string, required: 后做的那件

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