调试单个 registry node
curl --request POST \
--url https://wfapi.yuhe.space/api/workflows/{workflowName}/debug/nodes/{nodeName} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"target": "latest",
"version": "<string>",
"args": [],
"conversationId": "<string>",
"conversation_id": "<string>",
"toolPermissionPolicies": {
"search": {
"enabled": true,
"autoApprove": false
}
}
}
'{
"errCode": 123,
"errMessage": "<string>",
"data": {
"runId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"target": "<string>",
"resolvedTarget": "<string>",
"args": [
"<string>"
],
"durationMs": 123,
"stdout": "<string>",
"stderr": "<string>",
"exitCode": 123,
"report": {},
"conversationId": "<string>",
"external": {
"principalKind": "<string>",
"actorType": "<string>",
"actorUserId": "<string>",
"actorProfileId": "<string>",
"actorDisplayName": "<string>",
"apiKeyId": "<string>",
"apiKeyName": "<string>",
"user": "<string>",
"conversationId": "<string>",
"inputs": {},
"files": [
"<unknown>"
],
"webhook": {
"workflowName": "<string>",
"requestId": "<string>",
"target": "<string>",
"resolvedTarget": "<string>",
"headers": {}
}
},
"debugNode": "<string>",
"pendingUserInput": {
"requestId": "<string>",
"nodeName": "<string>",
"title": "<string>",
"params": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"defaultValues": {},
"metadata": {}
},
"resolvedUserInputs": [
{
"requestId": "<string>",
"nodeName": "<string>",
"values": {},
"submittedAt": "2023-11-07T05:31:56Z"
}
]
}
}Admin Workflows
调试单个 registry node
POST
/
api
/
workflows
/
{workflowName}
/
debug
/
nodes
/
{nodeName}
调试单个 registry node
curl --request POST \
--url https://wfapi.yuhe.space/api/workflows/{workflowName}/debug/nodes/{nodeName} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"target": "latest",
"version": "<string>",
"args": [],
"conversationId": "<string>",
"conversation_id": "<string>",
"toolPermissionPolicies": {
"search": {
"enabled": true,
"autoApprove": false
}
}
}
'{
"errCode": 123,
"errMessage": "<string>",
"data": {
"runId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"target": "<string>",
"resolvedTarget": "<string>",
"args": [
"<string>"
],
"durationMs": 123,
"stdout": "<string>",
"stderr": "<string>",
"exitCode": 123,
"report": {},
"conversationId": "<string>",
"external": {
"principalKind": "<string>",
"actorType": "<string>",
"actorUserId": "<string>",
"actorProfileId": "<string>",
"actorDisplayName": "<string>",
"apiKeyId": "<string>",
"apiKeyName": "<string>",
"user": "<string>",
"conversationId": "<string>",
"inputs": {},
"files": [
"<unknown>"
],
"webhook": {
"workflowName": "<string>",
"requestId": "<string>",
"target": "<string>",
"resolvedTarget": "<string>",
"headers": {}
}
},
"debugNode": "<string>",
"pendingUserInput": {
"requestId": "<string>",
"nodeName": "<string>",
"title": "<string>",
"params": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"defaultValues": {},
"metadata": {}
},
"resolvedUserInputs": [
{
"requestId": "<string>",
"nodeName": "<string>",
"values": {},
"submittedAt": "2023-11-07T05:31:56Z"
}
]
}
}Authorizations
使用 WORKFLOW_SERVER_ADMIN_KEY 或已创建的账号 API Key。
Body
application/json
⌘I