Service

Each board's processed_at, odds age (age_s) and event count, and a verdict: degraded when a board is past the age bound or cannot be served. Always HTTP 200 whatever the verdict. Free. Plain JSON.

get/v2/health

Request

  • Base URL
    https://api.oddsrelay.io
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Response

The boards.

Health required
status, 'ok' | 'degraded' required

degraded when a board is past the age bound (stale_boards) or cannot be served (missing_boards). Still HTTP 200.

version, string required
boards, object required
stale_boards, string[]
max_board_age_s, number
missing_boards, string[]

Changes

    • warning

      added the new date_out_of_range enum value to the allOf[subschema #2]/error/code response property for the response status

    • warning

      added the new exchange_history_unavailable enum value to the allOf[subschema #2]/error/code response property for the response status

    • warning

      added the new files_need_whole_scope enum value to the allOf[subschema #2]/error/code response property for the response status

    13 more changes in this revision