Validator API.
Key Features:
- Retrieve on-demand data from high-scoring miners with
query
, to quickly receive small size data requests.
Set dynamic desirabilities withset_desirabilities
, which will push specified labels onto the shared incentivized list. - Monitor the top 1000 labels by source and their associated content sizes in bytes with
get_top_labels_by_source
- Fetch the top 1000 time_bucket_ids by source and their associated content sizes in bytes with
ages
. - Get the total of the associated content size for a specified label with
get_bytes_by_label
. - Perform a validator health check with
health
, returning the timestamp, miners available, netuid, validator hotkey, and API version. - Validators can enable the api using **--neuron.api_on ** flag.
API Key Information:
API keys should be added as environment variables as API_KEYS=____
. These can be comma-separated for multiple keys.
NOTE: The system that will allow validators to automatically create API keys and manage them system is still in testing.