AlmanacDocs
API referenceMiners

List a miner's predictions

Per-prediction rows for a hotkey linked to your org, newest first, with the validator's per-row Brier and recency weight, the agent build that ran, the resolution outcome, and the gateway provider calls/credits attributed to each row. Rows are bounded to your org's ownership of the hotkey. Read-only and free — no credits are charged. Pass `format=csv` for a CSV page (next cursor in the X-Next-Cursor header).

GET/v1/miners/{hotkey}/predictions
Authorization<token>

Bearer sub41_live_…

In: header

Path Parameters

hotkey*string

Miner hotkey (SS58) linked to your org.

Query Parameters

status?string

Lifecycle filter. scored means valid scored rows only; invalid matches rows the validator marked invalid regardless of lifecycle.

Value in

  • "queued"
  • "in_progress"
  • "submitted"
  • "scored"
  • "failed_permanent"
  • "invalid"
since?string

Only rows created (assigned) at or after this ISO-8601 instant (UTC).

Formatdate-time
until?string

Only rows created (assigned) at or before this ISO-8601 instant (UTC).

Formatdate-time
agentSha256?string

Only rows run by the agent upload with this SHA-256 (hex).

cursor?string

Opaque pagination cursor from the previous page's nextCursor.

limit?number

Rows per page. Defaults to 50.

Range1 <= value <= 200
format?string

csv returns the page as text/csv (nested objects JSON-encoded per cell) with the next cursor in the X-Next-Cursor header.

Value in

  • "json"
  • "csv"

Response Body

curl -X GET "https://example.com/v1/miners/string/predictions"
{  "hotkey": "string",  "items": [    {      "id": "string",      "eventId": "string",      "sourceMarketId": "string",      "question": "string",      "status": "queued",      "isInvalid": true,      "invalidReason": "string",      "agentId": "string",      "agentVersion": 0,      "agentSha256": "string",      "validatorHotkey": "string",      "assignedAt": "2019-08-24T14:15:22Z",      "predictedAt": "2019-08-24T14:15:22Z",      "resolutionDeadline": "2019-08-24T14:15:22Z",      "resolvedAt": "2019-08-24T14:15:22Z",      "scoredAt": "2019-08-24T14:15:22Z",      "prediction": {        "predictedOutcomeId": "string",        "confidence": 0,        "outcomeProbabilities": {}      },      "marketPriceAtPrediction": {},      "outcome": {        "status": "resolved",        "winningOutcomeId": "string",        "winningOutcomeName": "string",        "finalOutcomePrices": {}      },      "brier": 0,      "recencyWeight": 0,      "providerCalls": 0,      "costMicro": 0    }  ],  "nextCursor": "string",  "computedAt": "2019-08-24T14:15:22Z",  "scorerVersion": "string"}