API referencePredictions
Get forecast history for an event
Returns the historical forecast points for the event, newest first. Read-only and free — no credits are charged.
GET
/v1/predictions/{eventId}/historyAuthorization
api-key Authorization<token>
Bearer sub41_live_…
In: header
Path Parameters
eventId*string
Event identifier.
Query Parameters
limit?number
Number of history points to return, 1..500. Defaults to 30.
Range
1 <= value <= 500cursor?string
Opaque pagination cursor from a prior response's nextCursor.
Response Body
application/json
curl -X GET "https://example.com/v1/predictions/string/history"{ "items": [ { "eventId": "string", "probability": 0, "confidenceLo": 0, "confidenceHi": 0, "at": "2019-08-24T14:15:22Z", "resolved": { "outcome": true, "resolvedAt": "2019-08-24T14:15:22Z" } } ], "nextCursor": "string"}Get the latest forecast for an event GET
Returns the most recent calibrated forecast for the event from the inference bridge. Read-only and free — no credits are charged.
Request a forecast for an event POST
Requests a forecast from the inference bridge, optionally with forecast parameters. Read-only and free — no credits are charged.