跳转到主要内容
POST
/
base
/
{baseId}
/
workflow
/
{workflowId}
/
test
/
{nodeId}
cURL
curl --request POST \
  --url http://127.0.0.1:3000/api/base/{baseId}/workflow/{workflowId}/test/{nodeId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "recordId": "<string>",
  "sideEffect": true,
  "withDependency": true
}
'
{
  "createdTime": "<string>",
  "spent": 123,
  "inputRaw": "<unknown>",
  "outputRaw": "<unknown>",
  "inputVariables": {},
  "outputVariables": {},
  "errorMsg": "<string>"
}

授权

Authorization
string
header
必填

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

路径参数

baseId
string
必填
workflowId
string
必填
nodeId
string
必填

请求体

application/json
recordId
string

the record id to test

sideEffect
boolean

whether to test with side effect

withDependency
boolean

whether to test with dependency

{key}
unknown

响应

200 - application/json

Successful updated

createdTime
string
必填
spent
number

spent time

inputRaw
unknown
outputRaw
unknown
inputVariables
object

The variables snapshot when executed

outputVariables
object

The variables snapshot when executed

errorMsg
string
Last modified on December 10, 2025