跳转到主要内容
GET
/
admin
/
observability
/
workflow
shell
curl --request GET \
  --url 'https://app.teable.cn/api/admin/observability/workflow?workflowIds=SOME_ARRAY_VALUE&timeRange=SOME_OBJECT_VALUE&relativeTime=SOME_STRING_VALUE&isActive=SOME_BOOLEAN_VALUE&baseIds=SOME_ARRAY_VALUE&spaceIds=SOME_ARRAY_VALUE&triggerType=SOME_ARRAY_VALUE&skip=SOME_NUMBER_VALUE&take=SOME_NUMBER_VALUE' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "base": {
        "id": "<string>",
        "name": "<string>",
        "icon": "<string>"
      },
      "triggerType": "recordCreated",
      "createdTime": "<string>",
      "lastRunTime": "<string>",
      "runStats": {
        "statusStats": {
          "pending": 123,
          "running": 123,
          "success": 123,
          "failed": 123,
          "canceled": 123
        },
        "avgSpent": 123,
        "totalCount": 123
      },
      "level": "healthy",
      "isActive": true
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

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

Query Parameters

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

Response

200 - application/json

Successful response

data
object[]
required
total
number
required