GET
/
api
/
workflows
/
{workflowName}
/
run-queue
读取项目运行队列配置
curl --request GET \
  --url https://wfapi.yuhe.space/api/workflows/{workflowName}/run-queue \
  --header 'Authorization: Bearer <token>'
{
  "errCode": 123,
  "errMessage": "<string>",
  "data": {
    "acceptsNewRuns": true,
    "concurrency": 3,
    "updatedAt": "2023-11-07T05:31:56Z",
    "workflowId": "<string>",
    "workflowName": "<string>",
    "runningCount": 123,
    "waitingCount": 123
  }
}

Authorizations

Authorization
string
header
required

使用 WORKFLOW_SERVER_ADMIN_KEY 或已创建的账号 API Key。

Path Parameters

workflowName
string
required

Response

200 - application/json

项目运行队列配置与当前计数。

errCode
integer
required
errMessage
string
required
Allowed value: ""
data
object
required