---
title: "Board freshness"
method: GET
path: "/v2/health"
tags: ["Service"]
---

# Board freshness

`GET /v2/health`

## Request

- Base URL: `https://api.oddsrelay.io`
- URL: `https://api.oddsrelay.io/v2/health`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

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.

## Response `200`

The boards.

- Health
  - `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[]

## Other responses

- `400`: 400: a parameter this route does not read or sent twice, a malformed value, gzip refused on standard, dutching or raw, or a filter value the catalogue does not know.
- `401`: 401: no key, or a key that is not accepted. Carries `WWW-Authenticate`; no token or flood-cap headers.
- `403`: 403: the account, the key's scope, the region, the plan or the account's scope refuses this call.
- `429`: 429 with `Retry-After`. `too_many_requests`: the account's flood cap or its in-flight cap (with `X-RateLimit-*`). `too_many_from_address`: the per-address shield, before authentication (no token or flood-cap headers). The front door's own per-address cap also answers 429 with `Retry-After`, but with an EMPTY body and no `code`. Both per-address caps sit well above an account's flood cap.
- `500`: 500 `internal_error`. If it came after a spend, `X-Tokens-Cost` reads 0 and the spend stands.
- `502`: 502 from the front door when the API behind it does not answer: an empty body, no `code`. Retry with backoff.
- `503`: 503 with `Retry-After`: `temporarily_unavailable` (a board, the key registry or a connection is not ready; retry) or `raw_not_enabled` (the key may use raw but the raw board is not held here).

## Changes

- **2026-10-26** `9db71e3e29bb`: 4 warning, 12 info
  - added the new `date_out_of_range` enum value to the `allOf[subschema #2]/error/code` response property for the response status `400`
  - added the new `exchange_history_unavailable` enum value to the `allOf[subschema #2]/error/code` response property for the response status `403`
  - added the new `files_need_whole_scope` enum value to the `allOf[subschema #2]/error/code` response property for the response status `403`
  - added the new `too_many_downloads` enum value to the `allOf[subschema #2]/error/code` response property for the response status `429`
  - …12 more

[Operation history](https://skmtc.dev/oddsrelay/apis/oddsrelay-api/changes/v2/health/get.md)

---

[API](https://skmtc.dev/oddsrelay/apis/oddsrelay-api.md) - [All operations](https://skmtc.dev/oddsrelay/apis/oddsrelay-api/llms.txt) - [OpenAPI document](https://skmtc.dev/oddsrelay/apis/oddsrelay-api/revisions/c9a116d43241?raw)
