方法路径摘要认证
GET/v1/notification-runtime-health读取通知发送运行时健康状态无需认证

契约文件:api/control-notifications.openapi.yaml

接口详情

GET /v1/notification-runtime-health

读取通知发送运行时健康状态

operationId
getNotificationRuntimeHealth
认证
  • 无需认证。
所需权限

契约没有单独标注权限码,权限要求见下方说明与 403 响应。

说明(契约原文)

Outbox worker state with each channel's state, the account flow senders and the last settings rebuild. Reasons and errors are fixed codes and never contain a server address, account name or secret. Also served as the notification member of GET /health/detail. Notification state never makes GET /health/ready fail in the auto mode.

响应

getNotificationRuntimeHealth 响应
状态码说明
200Notification runtime health.

字段:enabled: boolean state: string: disabled / built / running / ready / backoff / stopping / stopped / failed ready: boolean worker_running: boolean enabled_channels: integer consecutive_failures: integer last_error_class?: string mode?: string: explicit / auto / off channels?: object account_senders?: object last_rebuild_at?: string(date-time) last_rebuild_error?: string

↑ 回到列表