Health & Status API
Query route health, availability, and latency metrics.
Route health
GET
$ GET https://api.alltoken.ai/health/routes?time_range=24hReturns health status for all monitored routes including availability, latency (p50/p95), throughput, and recent incident blocks.
Health summary
GET
$ GET https://api.alltoken.ai/health/summaryReturns aggregated statistics:
Response
| 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 | } |