---
title: "发布流程详情"
method: GET
path: "/api/v2/channels/publish/flows/{flowId}"
tags: ["渠道管理/内容发布"]
---

# 发布流程详情

`GET /api/v2/channels/publish/flows/{flowId}`

## Request

- Base URL: `https://aitoearn.cn`
- URL: `https://aitoearn.cn/api/v2/channels/publish/flows/{flowId}`
- Auth: API key in header `X-Api-Key`
- TypeScript: <https://skmtc.dev/aitoearn/apis/aitoearn-api/docs/api/v2/channels/publish/flows/:flowId/get.ts> (a function with typed inputs; its response is checked against the schema)

接口说明：根据发布流程 ID 查询一次多账号发布流程及其任务状态。`flowId` 可从[「创建发布流程」](/api-reference/post-api-v2-channels-publish-flows)接口返回的 `data.flowId` 获取，也可从[「发布记录列表」](/api-reference/get-api-v2-channels-publish-records)返回项的 `flowId` 获取。

## Path parameters

- `flowId` string, required: 发布流程 ID。取值来自「创建发布流程」接口返回的 `data.flowId`，或「发布记录列表」返回的 `data[n].flowId`。

## Response `200`

请求已被服务处理。业务是否成功以响应体 code === 0 为准。

- object
  - `data` object
    - `flowId` string
    - `tasks` object[]
      - `id` string
      - `accountId` string
      - `platform` string
      - `status` number
      - `publishTime` string
      - `platformWorkId` string
      - `workLink` string
  - `code` integer: 业务状态码。0 表示成功，非 0 表示业务错误。
  - `message` string: 响应消息。
  - `requestId` string: 请求 ID。
  - `timestamp` integer: 错误响应时间戳，Unix 毫秒。

## Changes

- **2026-11-03** `7cc8f21c4c96`: 8 breaking, 4 warning, 26 info
  - the response property `code` became optional for the status `200`
  - the response property `data/flowId` became optional for the status `200`
  - the response property `data/tasks` became optional for the status `200`
  - the response property `data/tasks/items/accountId` became optional for the status `200`
  - …34 more

[Operation history](https://skmtc.dev/aitoearn/apis/aitoearn-api/changes/api/v2/channels/publish/flows/:flowId/get.md)

---

[API](https://skmtc.dev/aitoearn/apis/aitoearn-api.md) - [All operations](https://skmtc.dev/aitoearn/apis/aitoearn-api/llms.txt) - [OpenAPI document](https://skmtc.dev/aitoearn/apis/aitoearn-api/revisions/7cc8f21c4c96?raw)
