health

White-box KV round-trip probe

Public, no auth. Times a SET+GET from INSIDE a serverless function, so it measures the exact path renders and crons use - a probe run next to the KV host could not see the degradation this exists to catch. Abuse-safe: one fixed key with a short TTL, so hammering it overwrites one key rather than amplifying writes. It answers 200 WITH THE MEASUREMENT whenever KV responds at all and puts the verdict in degraded; 503 means KV threw.

get/api/health/kv

Request

  • Base URL: https://www.immersivecommons.com
  • URL: https://www.immersivecommons.com/api/health/kv
  • Auth: none required

Response

The measurement. Read degraded, not the status code.

okboolean required
kv_msinteger required

Measured round-trip milliseconds.

degradedboolean required

THE VERDICT. A slow-but-alive dependency is a 200 with this set, not an outage.

threshold_msinteger
backendstring

The live host the probe actually reached, read from the runtime config rather than hardcoded.

atstring date-time

Changes

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