Skip to content
TAO$188.31
BTC0.002929
MCap$2.21B
Vol$86.07M

API reference / Subnets

A subnet's registration tenure and survival, per life and dispatching call

GET/api/v2/subnets/{netuid}/registrations/tenure
Status
Beta
Auth
API key or OAuth access token
Scope
data:read
Rate limit
plan

What became of a subnet's registrations: the cohort is the registrations whose UTC day is in the window, followed up to meta.at (past to_day).

Full description

What became of a subnet's registrations: the cohort is the registrations whose UTC day is in the window, followed up to meta.at (past to_day). Per life, one every-call row (method null, first) and one row per dispatching call: the funnel (registrations, deregistrations, new UIDs, distinct hotkeys and UIDs), the cohort's ends (replaced_later: its hotkey was replaced by a later registration of the same UID in the same life; end_unknown; unreplaced: still holding or the life ended), the tenure until replacement (10th / 50th / 90th percentile, blocks: completed tenures only, read with unreplaced), the share of the eligible registrations that survive horizon_blocks without being replaced, and deregistrations per day. Root (netuid 0) is served too: its replacements are stake-based seat changes. Per subnet life (generation): a re-registered netuid's lives are never blended. Current lives only by default; include_ended=true adds the ended lives (and an ended pre-life era) with their life_end_height. The window is from_day..to_day (UTC days, inclusive), clamped to the covered days; default the 30 days ending on meta.at's day (which is partial). A day before 1900-01-01 or after 2299-12-31 is a 400 INVALID_DAY. Read from the analytics store only: every figure is at its watermark block (meta.at, up to about 75 minutes behind the head; more than 6 hours behind is a 503 SOURCE_NOT_READY with Retry-After), meta.sources names the store. Where this deployment does not serve registration analytics the route is a 503 SOURCE_NOT_READY. Aggregates and distributions only: no hotkey or coldkey is listed or ranked. Percentiles are nearest rank (a value that occurred), each served only when at least 5 values are known; below that it is null and its *_reason says too_few (or none at 0). The tenures follow the watermark, so the answer is cached 5 minutes, never as settled. Errors are application/problem+json: INVALID_NETUID, INVALID_HORIZON, INVALID_BOOLEAN, INVALID_DAY, INVALID_RANGE, UNKNOWN_PARAMETER, NOT_READY (503: the registrations are not available yet), SOURCE_TIMEOUT (503), SOURCE_NOT_READY (503), SERVICE_UNAVAILABLE (503).

Beta: this route may change with one release's notice in the v2 changelog; additive changes need none (x-stability: beta).

Path parameters

netuidpath, required· integer · 0 to 65535

Subnet slot (0 = root).

Query parameters

horizon_blocksquery· integer · default 7200 · 1 to 2628000

The survival horizon, blocks: 1..2,628,000 (default 7,200, a nominal day of 12 s blocks). Anything else is a 400 INVALID_HORIZON.

from_dayquery· string (date)

The first UTC day, YYYY-MM-DD, inclusive. Not a date (or outside 1900..2299): a 400 INVALID_DAY.

Format: date, YYYY-MM-DD
to_dayquery· string (date)

The last UTC day, YYYY-MM-DD, inclusive (default: meta.at's day). Before from_day: a 400 INVALID_RANGE.

Format: date, YYYY-MM-DD
include_endedquery· enum · one of true, false · default false

true: also serve ended lives (and an ended pre-life era), each with its life_end_height. false (the default): current lives only. Lower-case; anything else is a 400 INVALID_BOOLEAN.

Response

data is a list of objects with these fields. Amounts are integer strings in their base unit, and null means unknown, never zero (see Units and formats). meta.at names the block the answer was read at.

Per life with registrations in the window (the pre-life era first, then by first block): its every-call row (method null), then one row per call; [] when none.

netuidinteger · unit id

The subnet slot (0 = root).

generationinteger · unit id · can be null

Opaque life id (the life's registration identifier), NOT a block height; use life_start_height for the first block. The subnet life (GET /subnets/generations). A netuid is a slot: a re-registered subnet is a new life, and every figure here is one life's, never a blend. Null for the pre-life era: registrations before the slot's first recorded life (one group per slot, bounded by that life's start).

is_current_lifeboolean · can be null

Whether generation is the slot's current life (true) or an ended one, re-registered since (false). Null exactly when generation is null, or transiently when this API cannot read the lives. Root's generation 0 is current.

life_start_heightinteger · unit block · can be null

That life's first block. Null with generation (the pre-life era).

life_end_heightinteger · unit block · can be null

The life's end (exclusive end block) when it ended at or below meta.at; for the pre-life era, the slot's first life's start. Null for a current life. Ended lives are served only with include_ended=true.

methodstring · can be null

The dispatching call (as on the activity rows). Null on the life's every-call row, which comes first and sums its calls' counts (its percentiles are over every call's values, not a sum).

registrationsinteger · unit count

The cohort: registrations whose UTC day is in the window.

deregistrationsinteger · unit count

Registrations that replaced a UID's hotkey (a deregistration each).

new_uidsinteger · unit count

Registrations that took a UID without replacing a hotkey (registrations - deregistrations).

hotkeysinteger · unit count

Distinct hotkeys registered (repeat registrations = registrations - hotkeys).

uidsinteger · unit count

Distinct UIDs registered into.

replaced_laterinteger · unit count

Cohort registrations whose hotkey a later registration of the same UID in the same life replaced by meta.at (followed past to_day): each has a tenure. The n of the tenure percentiles.

replaced_confirmedinteger · unit count

Of replaced_later, those where the replacing registration names this registration's hotkey as the one replaced (the rest saw a hotkey swap in between).

end_unknowninteger · unit count

Cohort registrations whose UID was next taken as a new UID (no hotkey replaced): no tenure.

unreplacedinteger · unit count

Cohort registrations with no later registration of their UID by meta.at: still holding it, or the life ended. Survivors are not in the tenure percentiles (a median of completed tenures only).

tenure_p10_blocksinteger · unit blocks · can be null

The 10th percentile tenure: blocks from a registration to the registration that replaced its hotkey (nearest rank). Null when fewer than 5 values are known (a single value is never shown as a percentile); tenure_percentiles_unavailable_reason says why.

tenure_p50_blocksinteger · unit blocks · can be null

The median tenure, blocks. Null when fewer than 5 values are known (a single value is never shown as a percentile); tenure_percentiles_unavailable_reason says why.

tenure_p90_blocksinteger · unit blocks · can be null

The 90th percentile tenure, blocks. Null when fewer than 5 values are known (a single value is never shown as a percentile); tenure_percentiles_unavailable_reason says why.

tenure_percentiles_unavailable_reasonstring · can be null

Why the tenure percentiles are null: none (replaced_later 0) or too_few (1 to 4 tenures: below the minimum of 5). Null when they are served. New values may be added; treat unknown values as unavailable.

tenure_pct_reasonstring · can be null · deprecated

Why the tenure percentiles are null: none (replaced_later 0) or too_few (1 to 4 tenures: below the minimum of 5). Null when they are served. Deprecated: use tenure_percentiles_unavailable_reason; sunset 2027-02-15. New values may be added; treat unknown values as unavailable.

Deprecated since 2026-10-16, removed after 2027-02-15. Use tenure_percentiles_unavailable_reason instead.
eligibleinteger · unit count

Cohort registrations at least meta.horizon_blocks before the life's last observable block (its last block if it ended, else meta.at): those whose survival can be judged. The n of survival_share.

survivedinteger · unit count

Eligible registrations whose UID saw no later registration within meta.horizon_blocks.

survival_sharestring · unit ratio · 4 decimals · can be null

survived / eligible, a decimal fraction of one with 4 decimals. Null when fewer than 5 values are known (a single value is never shown as a percentile); survival_reason says why.

Format: decimal number with 4 places, as a string
survival_reasonstring · can be null

Why survival_share is null: none (eligible 0) or too_few (1 to 4 eligible: below the minimum of 5). Null when it is served. New values may be added; treat unknown values as unavailable.

daysinteger · unit days

The window's UTC days the life covers, edge days counted whole (so a rate over a window cut mid-day is slightly low).

deregistrations_per_daystring · unit count · 3 decimals

deregistrations / days, 3 decimals. On a freshly re-registered subnet the first days are high: the new life's registrations replace the previous life's holders.

Format: decimal number with 3 places, as a string

Response headers

10 headers: ETag, Cache-Control, CDN-Cache-Control, X-BTAI-Stale, X-BTAI-Stale-As-Of, RateLimit-Policy, RateLimit, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset
ETag

Strong validator of this answer. Send it back as If-None-Match: an unchanged answer is a 304 Not Modified without a body. A settled answer's validator leaves the chain head out, so it stays valid as the head moves.

Cache-Control

One of three classes: settled public, max-age=3600, stale-while-revalidate=86400 (pinned to a block that cannot move), slow public, max-age=300, stale-while-revalidate=600 (state that moves in minutes or days) or tip public, max-age=6, stale-while-revalidate=12 (follows the chain head); the label routes are cached until the next nightly copy (public, max-age=<seconds>, stale-while-revalidate=60). Never immutable. no-store on an earlier answer served because the data source failed (X-BTAI-Stale).

CDN-Cache-Control

The same class for shared caches (RFC 9213; browsers ignore it): settled 24 h, slow 300 s, tip 6 s, each with stale-while-revalidate and stale-if-error; no-store with X-BTAI-Stale.

X-BTAI-Stale

Present only when the data source failed to answer (it timed out or was unavailable) and an earlier answer to the same request is served instead of a 503 (stale if error, RFC 5861). Then if-error, with X-BTAI-Stale-As-Of, Age (its seconds since then) and Warning: 110 - "Response is Stale", and Cache-Control: no-store: the answer is never kept as fresh, and a later request reads again. Prices and quotes are never served this way.

X-BTAI-Stale-As-Of

With X-BTAI-Stale: when the earlier answer served was produced, an RFC 3339 UTC time (2026-10-21T12:00:00Z).

RateLimit-Policy

The tier's request quota of the current window (IETF draft), e.g. "tier";q=600.

RateLimit

Requests left in the current window and the seconds until it resets (IETF draft), e.g. "tier";r=597;t=42.

X-RateLimit-Limit

The tier's request quota of the current window.

X-RateLimit-Remaining

Requests left in the current window.

X-RateLimit-Reset

When the current window resets, Unix seconds.

Status codes

200 · 304 · 400 · 401 · 402 · 403 · 404 · 429 · 500 · 502 · 503

304 Not Modified: the If-None-Match validator still matches; no body.

Error codes

The codes this endpoint can return. Each links to what it means and what to do.

From the API's published specification, version 1.165.0.