健康状态 API
查询路由健康、可用性和延迟指标。
路由健康
GET
$ GET https://api.alltoken.ai/health/routes?time_range=24h返回所有监控路由的健康状态,包括可用性、延迟(p50/p95)、吞吐量和近期事故记录。
健康概览
GET
$ GET https://api.alltoken.ai/health/summary返回汇总统计:
响应
| 1 | { |
| 2 | "total_routes": 76, |
| 3 | "healthy_routes": 74, |
| 4 | "degraded_routes": 2, |
| 5 | "incident_routes": 0, |
| 6 | "median_latency_ms": 1250, |
| 7 | "overall_availability": 99.97 |
| 8 | } |