Skip to main content
API referenceHealth

Subnet Health

Last updated

GET
/api/v1/subnets/{netuid}/health

Fetch health detail for one subnet.

Path Parameters

netuid*integer
Range0 <= value

Query Parameters

kind?string

Value in

  • "archive"
  • "dashboard"
  • "data-artifact"
  • "docs"
  • "example"
  • "openapi"
  • "repo-registry"
  • "sdk"
  • "source-repo"
  • "sse"
  • "subnet-api"
  • "subtensor-rpc"
  • "subtensor-wss"
  • "website"
provider?string
Lengthlength <= 100
status?string

Value in

  • "ok"
  • "degraded"
  • "failed"
  • "unknown"
classification?string

Value in

  • "auth-required"
  • "content-mismatch"
  • "dead"
  • "live"
  • "rate-limited"
  • "redirected"
  • "timeout"
  • "transient"
  • "unsupported"
  • "unsafe"
  • "wrong-chain"
fields?string
Match^[A-Za-z_][A-Za-z0-9_]*(,[A-Za-z_][A-Za-z0-9_]*)*$
limit?integer
Range1 <= value <= 1000
cursor?integer
Range0 <= value
sort?string

Field to sort by — the bare field name only (e.g. sort=total_stake_tao). Pair with the separate order parameter to choose direction; a combined field:desc token is NOT supported.

Value in

  • "classification"
  • "kind"
  • "last_checked"
  • "last_ok"
  • "latency_ms"
  • "netuid"
  • "provider"
  • "status"
  • "status_code"
  • "surface_id"
  • "verified_at"
order?unknown

Sort direction for sort: asc or desc (default desc). This is a separate parameter from sort — e.g. ?sort=emission_share&order=desc.

Value in

  • "asc"
  • "desc"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/subnets/0/health"
{  "data": {    "contract_version": "2026-06-29.1",    "generated_at": "2026-06-01T00:00:00.000Z",    "health_source": "probe-derived",    "name": "Example Subnet",    "netuid": 7,    "operational_observed_at": "2026-06-01T00:00:00.000Z",    "schema_version": 1,    "slug": "example-subnet",    "summary": {      "avg_latency_ms": 120,      "degraded_count": 1,      "failed_count": 1,      "last_checked": "2026-06-01T00:00:00.000Z",      "last_ok": "2026-06-01T00:00:00.000Z",      "latency_sample_count": 120,      "name": "Example Subnet",      "netuid": 7,      "ok_count": 1,      "slug": "example-subnet",      "status": "ok",      "surface_count": 1,      "unknown_count": 1    },    "surfaces": [      {        "kind": "archive",        "netuid": 7,        "observed_by": "live-cron-prober",        "provider": "example-provider",        "status": "ok",        "surface_id": "example",        "url": "https://api.metagraph.sh/example"      }    ]  },  "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}