读取运行详情
curl --request GET \
--url https://wfapi.yuhe.space/api/workflows/{workflowName}/runs/{runId} \
--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,
"stdout": "<string>",
"stderr": "<string>",
"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
读取运行详情
GET
/
api
/
workflows
/
{workflowName}
/
runs
/
{runId}
读取运行详情
curl --request GET \
--url https://wfapi.yuhe.space/api/workflows/{workflowName}/runs/{runId} \
--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,
"stdout": "<string>",
"stderr": "<string>",
"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"
}
]
}
}⌘I