列出运行中和等待中的任务
curl --request GET \
--url https://wfapi.yuhe.space/api/workflows/{workflowName}/runs/in-flight \
--header 'Authorization: Bearer <token>'{
"errCode": 123,
"errMessage": "<string>",
"data": [
{
"runId": "<string>",
"workflowName": "<string>",
"target": "<string>",
"resolvedTarget": "<string>",
"args": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"durationMs": 123,
"exitCode": 123,
"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>"
}
]
}Admin Workflows
列出运行中和等待中的任务
GET
/
api
/
workflows
/
{workflowName}
/
runs
/
in-flight
列出运行中和等待中的任务
curl --request GET \
--url https://wfapi.yuhe.space/api/workflows/{workflowName}/runs/in-flight \
--header 'Authorization: Bearer <token>'{
"errCode": 123,
"errMessage": "<string>",
"data": [
{
"runId": "<string>",
"workflowName": "<string>",
"target": "<string>",
"resolvedTarget": "<string>",
"args": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"durationMs": 123,
"exitCode": 123,
"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>"
}
]
}⌘I