跳转到主要内容
GET
/
base
/
{baseId}
/
workflow
/
{workflowId}
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/base/{baseId}/workflow/{workflowId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "baseId": "<string>",
  "edges": [
    {
      "source": "<string>",
      "target": "<string>"
    }
  ],
  "nodes": [
    {}
  ],
  "createdBy": "<string>",
  "createdTime": "<string>",
  "name": "<string>",
  "description": "<string>",
  "hasDraft": true,
  "isActive": true,
  "lastModifiedTime": "<string>",
  "lastModifiedBy": "<string>",
  "activeUser": {
    "id": "<string>",
    "name": "<string>",
    "email": "<string>",
    "avatar": "<string>"
  }
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

baseId
string
必填
workflowId
string
必填

响应

200 - application/json

Successful response

id
string
必填

a unique identifier for the workflow

baseId
string
必填

the base id of the workflow

edges
object[]
必填

edges of the nodes

nodes
object[]
必填

nodes list include trigger and actions

createdBy
string
必填

created by user id

createdTime
string
必填

created time of the workflow

name
string

the name of the workflow

description
string

description of the workflow

hasDraft
boolean

has draft of the workflow

isActive
boolean

is active of the workflow

lastModifiedTime
string

last modified time of the workflow

lastModifiedBy
string

last modified by user id

activeUser
object

active user of the workflow

Last modified on December 10, 2025