API referenceHealth
Subnet Health Trends
Last updated
Fetch 7d/30d uptime and success-only latency trends (mean + p50/p95/p99 tail + healthy-sample count) per operational surface for one subnet (computed live from D1).
Path Parameters
netuid*integer
Range
0 <= valueResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/subnets/0/health/trends"{ "data": { "netuid": 7, "observed_at": "2026-06-01T00:00:00.000Z", "schema_version": 1, "source": "live-cron-prober", "windows": { "example": { "latency_sample_count": 120, "samples": 1, "surfaces": [ { "avg_latency_ms": 120, "latency_ms": { "p50": 1, "p95": 1, "p99": 1 }, "latency_sample_count": 120, "samples": 1, "surface_id": "example", "uptime_ratio": 0.9966 } ], "uptime_ratio": 0.9966 } } }, "meta": { "artifact_path": "example", "cache": "short", "contract_version": "2026-06-29.1", "generated_at": "2026-06-01T00:00:00.000Z", "pagination": { "collection": "example", "cursor": 1, "limit": 1, "next_cursor": 1, "order": "asc", "returned": 1, "sort": "example", "total": 1 }, "published_at": "2026-06-01T00:00:00.000Z", "source": "live-cron-prober", "stale_contract": { "built_under": "example", "live": "example" } }, "ok": true, "schema_version": 1}