跳转到主要内容
基础设施相关接口/生命周期

查询健康度历史列表

列表健康检查历史记录。

GET/api/v1/lifecycle/health-history

操作 ID

ListHealthHistory

起始版本

1.0.0

执行模式

同步

认证信息

需要认证

认证信息

调用该 API 时需要在请求头中携带以下认证信息。

Authorizationstring必填

Bearer 令牌

X-Tenant-IDstring

X-Tenant-ID

请求参数

查询参数

  • componentUuid
    String

    过滤组件UUID。

  • componentType
    String

    过滤组件类型。

  • componentCategory
    String

    过滤托管组件分类。

  • componentName
    String

    过滤托管组件名称。

  • checkType
    String

    过滤检查类型。

响应状态

200 OK
200 OK

该 API 成功时返回以下响应结构。

  • items
    List

    条目列表。

    示例: (nested array)

    • id
      Integer

      资源ID。

      示例: 1

    • componentUuid
      String

      UUID组件已检查。

      示例: a1b2c3d4-e5f6-7890-abcd-ef1234567890

    • componentType
      String

      类型组件已检查。

      示例: lifecycle-service

    • checkType
      String

      类型健康度检查执行。

      示例: liveness

    • status
      String

      状态信息。

      示例: healthy

    • latencyMs
      Integer

      时延,单位为毫秒。

      示例: 12

    • message
      String

      错误返回消息。

      示例: All checks passed

    • lcaUuid
      String

      LCA UUID。

      示例: 0123456789abcdef0123456789abcdef

    • checkedAt
      String

      检查时间。

      示例: 2026-01-15T08:00:00Z

  • total
    Integer

    返回结果总数。

    示例: 500

  • limit
    Integer

    最大返回条目数。

    示例: 20

  • offset
    Integer

    查询起始偏移量。

    示例: 40