Skip to main content
This page is the field-level reference for the weight models defined in schemas/weights.py. For the public read that returns the aggregated vector, see Weights API.

MasterWeightsResponse

The aggregated, chain-ready weight vector returned by GET /v1/weights/latest (schemas/weights.py:33-42). uids and weights are parallel arrays — the weight at index i applies to the UID at index i. expires_at is validated to be in the future when the model is constructed; a non-future value raises a validation error (schemas/weights.py:44-48).

ChallengeWeightsResult

A single challenge’s contribution inside source_challenges (schemas/weights.py:19-24). When a challenge collection fails, ok is false and error carries the failure detail while weights stays empty (challenge_client.py:54-59).

ChallengeWeightsResponse

The shape a challenge returns from its internal get_weights endpoint, which the master collects per challenge (schemas/weights.py:11-16, challenge_client.py:31, challenge_client.py:43).

FinalWeights

The internal vector model pairing UIDs with weights and per-hotkey weights (schemas/weights.py:27-30).

Freshness constant

MASTER_WEIGHTS_FRESHNESS_SECONDS = 720 defines the freshness window for the master weights (schemas/weights.py:8).

Weights pipeline

How these models are produced each epoch.

Weights API

The public read that returns these models.