跳转到主要内容
GET
/
base
/
{baseId}
/
workflow
/
{workflowId}
/
run
/
{runId}
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/base/{baseId}/workflow/{workflowId}/run/{runId} \
  --header 'Authorization: Bearer <token>'
[
  {
    "createdTime": "<string>",
    "id": "<string>",
    "status": "success",
    "nodeId": "<string>",
    "nodeType": "<string>",
    "nodeCategory": "<string>",
    "spent": 123,
    "inputRaw": "<unknown>",
    "outputRaw": "<unknown>",
    "inputVariables": {},
    "outputVariables": {},
    "errorMsg": "<string>",
    "nodeName": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

baseId
string
required
workflowId
string
required
runId
string
required

Response

200 - application/json

Successful response

createdTime
string
required
id
string
required

id of the step

status
enum<string>
required
可用选项:
success,
failed,
running,
canceled,
pending
nodeId
string
required

id of the node

nodeType
string
required

type of the node

nodeCategory
string
required

node category

spent
number

spent time

inputRaw
unknown
outputRaw
unknown
inputVariables
object

The variables snapshot when executed

outputVariables
object

The variables snapshot when executed

errorMsg
string
nodeName
string

node name