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.
/v1/agents/get-agentAuthorization
validator-auth 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
SS58 hotkey of the miner whose latest agent to fetch.
Response Body
curl -X GET "https://example.com/v1/agents/get-agent?minerHotkey=string"Get the org's prepaid credit balance GET
Returns the prepaid balance (micro-credits) for the API key's org, plus the timestamp of the org's most recent usage event — useful for detecting stalled mining or automation. Read-only and free — no credits are charged.
Miner uploads a single Python agent script POST
Dual auth: the org's API key (Bearer, `predictions:write` scope) AND the miner's sr25519 signature over the canonical message `sub41-agent-v1\nMETHOD\npathAndQuery\nminerHotkey\nnonce\ntimestamp\nsha256(body) hex`. The body hash covers the exact uploaded bytes.