AlmanacDocs
API referenceAgents

Validator fetches a miner's latest agent

Authenticated by the validator's sr25519 signature over the canonical message `sub41-agent-v1\nMETHOD\npathAndQuery\nminerHotkey\nnonce\ntimestamp\nsha256-of-empty-body hex`, where `minerHotkey` is the target miner. Send x-validator-hotkey/signature/nonce/timestamp headers.

GET/v1/agents/get-agent

Authorization

validator-auth
x-validator-signature<token>

Bittensor validator sr25519 signature. Also send x-validator-hotkey, x-validator-nonce, x-validator-timestamp (and x-miner-hotkey on the gateway proxy route).

In: header

Query Parameters

minerHotkey*string

SS58 hotkey of the miner whose latest agent to fetch.

Response Body

curl -X GET "https://example.com/v1/agents/get-agent?minerHotkey=string"
Empty