Get receipt chain health status
GET /api/receipt/chain-status
Returns the cached receipt-chain status derived from the latest client-submitted chain claim. The gateway does not independently verify the client's chain; a result may remain never_verified until a claim is submitted. The route accepts an API key or Sanctum bearer and caches the result for five minutes.
Authenticate with an API key or a portal session token.
Responses
200 Cached receipt-chain state based on the latest client claim; the gateway does not verify the chain.
application/json object
active_key_fingerprintstring or null requiredbreak_detected_atstring (date-time) or null requiredchain_okboolean or null requiredentries_verifiedinteger requiredlast_verified_atstring (date-time) or null requiredverification_statestring requiredOne of:"never_verified","client_claimed","verified","break_detected"
Generated sample
{
"active_key_fingerprint": "string",
"break_detected_at": "2026-01-01T00:00:00Z",
"chain_ok": true,
"entries_verified": 0,
"last_verified_at": "2026-01-01T00:00:00Z",
"verification_state": "never_verified"
}401 Missing or invalid API key or bearer token.
application/json object
Any keys are accepted.
403 The caller does not meet the route requirements: accepted Terms of Service and Privacy Policy.
application/json object
Any keys are accepted.
429 The request was rate limited. API-generated responses are JSON;
Response headers
Retry-Afterstring headerSeconds to wait before retrying, when provided.
X-RateLimit-Scopestring headerIdentifies the scope of the request limit, when provided.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string