GET
/
api
/
workflows
/
{workflowName}
/
run-users
列出项目运行用户统计
curl --request GET \
  --url https://wfapi.yuhe.space/api/workflows/{workflowName}/run-users \
  --header 'Authorization: Bearer <token>'
{
  "errCode": 123,
  "errMessage": "<string>",
  "data": [
    {
      "userId": "<string>",
      "displayName": "<string>",
      "runCount": 123,
      "successCount": 123,
      "failedCount": 123,
      "lastRunAt": "2023-11-07T05:31:56Z",
      "totalTokens": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

workflowName
string
required

Response

按 actor_user_id 聚合的运行统计。

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