Skip to content
Sign in Create account

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_fingerprint string or null required
  • break_detected_at string (date-time) or null required
  • chain_ok boolean or null required
  • entries_verified integer required
  • last_verified_at string (date-time) or null required
  • verification_state string required
    One 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-After string header

    Seconds to wait before retrying, when provided.

  • X-RateLimit-Scope string header

    Identifies the scope of the request limit, when provided.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string