跳转到主要内容
GET
/
admin
/
observability
/
workflow
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/admin/observability/workflow \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "base": {
        "id": "<string>",
        "name": "<string>",
        "icon": "<string>"
      },
      "triggerType": "recordCreated",
      "createdTime": "<string>",
      "runStats": {
        "statusStats": {
          "pending": 123,
          "running": 123,
          "success": 123,
          "failed": 123,
          "canceled": 123
        },
        "avgSpent": 123,
        "totalCount": 123
      },
      "level": "healthy",
      "lastRunTime": "<string>",
      "isActive": true
    }
  ],
  "total": 123
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

workflowIds
string[]
timeRange
object
relativeTime
enum<string>
可用选项:
30m,
1h,
6h,
1d,
3d,
7d,
30d
isActive
boolean
baseIds
string[]
spaceIds
string[]
triggerType
enum<string>[]
可用选项:
recordCreated,
recordUpdated,
recordCreatedOrUpdated,
buttonClick,
formSubmitted,
scheduledTime
skip
number | null
take
number | null

响应

200 - application/json

Successful response

data
object[]
必填
total
number
必填
Last modified on December 10, 2025