Check the credit ledger invariant across all tenants (admin only)

sum(grants) - sum(burns) == balance_credits, per tenant.

Intended to run nightly. It catches every class of bug in this subsystem: a burn that never landed, a grant written without a balance update, a double-credited webhook. A non-empty drifted list is an alert, not a report — investigate before the next billing close.

get/v1/admin/reconciliation

Request

  • Base URL: https://api.clichefactory.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.clichefactory.com/v1/admin/reconciliation
  • Auth: none declared

Query parameters

include_okboolean

Include tenants with no drift.

Headers

X-API-KEYstring nullable

Response

Successful Response

checked_atstring date-time required
drifted_countinteger
okboolean

Changes

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