health

Get Load Probe

Return per-status (and per-action) row counts for the calling client.

The query is two GROUP BY selects against api_requests:

  1. Status totals across all rows belonging to the client (cheap; the table is partitioned by client in production and status is cardinality-bounded).
  2. Status × action totals filtered to created_at >= now() - window (uses the existing (client, created_at) index).

Both queries are read-only and idempotent — safe to poll at 1 Hz.

get/api/v1/health/load

Request

Query parameters

window_secondsinteger

Window for the in_window counts, measured from created_at.

Response

Successful Response

clientstring required
window_secondsinteger required
sampled_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.