Transparency log
The gateway provides a public receipt-hash lookup, a JSONL feed of current published tenant seed state, and a Merkle API for recorded transparency events. A receipt’s ECDSA P-256 signature is checked separately against the corresponding public key. A valid signature alone does not establish inclusion.
Receipt-hash inclusion
GET /api/v1/transparency/inclusion?receipt_hash=<sha256_hex>Use the receipt_hash returned by gateway countersigning. It is the SHA-256 hash of the canonical client-signed v3 receipt, including its client signature. The gateway attempts to anchor that hash during countersigning. This is the path available to the browser extension, desktop app, Portal chat, and cloak-proxy when they send a client-signed v3 receipt for countersigning. Gateway-signed v2 receipts and stored v1 envelopes from bare API calls never appear here. A metering beacon alone lacks the signature proof required by this lookup.
An included: true response reports a verified anchor with its seed index, hash, timestamp, and sha256-chain-v1 parent-hash path. That path uses the same seed chain as the paginated /api/transparency/seeds API. The JSONL feed below publishes different data, and the Merkle event API has its own tree and proofs.
An included: false response means the lookup found no public anchor. pending is the compatibility value for a hash with no public anchor. The lookup gives the same absence response for unknown hashes and for hashes of stored, unanchored receipts. Anchoring is best effort during countersigning. There is no publication schedule or completion guarantee.
Public tenant seed-state feed
The public JSONL endpoint is:
https://api.cloakapi.io/api/v1/transparency/seeds.jsonlThe response contains the latest published row for each tenant that has opted into publication. It is a current-state view, not a sequence of receipt issuances or the full history of tenant seed changes. Each line contains these fields:
{ "tenant_id_hash": "sha256:<tenant-id-hash>", "seed_hmac": "<published-seed-hmac>", "first_seen": "2026-05-04T10:23:45+00:00", "last_rotated": "2026-05-04T10:23:45+00:00"}The response carries an X-CloakAPI-Log-Signature header with an HMAC-SHA256 value for the body. This is separate from the ECDSA receipt signature and does not turn the feed into a public-key receipt verifier. The feed rows do not contain receipt_id, seq, or a per-row chain hash.
Separate Merkle event API
The gateway also exposes a content-free Merkle audit API under /api/v1/transparency/merkle. It serves the hash specification, recorded leaves, tree heads, inclusion proofs, and consistency proofs. A tree head carries an HMAC-SHA256 value, which is not an ECDSA signature verifiable with the receipt JWKS. Third parties cannot authenticate the tree head without the gateway’s HMAC secret.
The proof endpoints check whether a returned leaf is included under a given tree head, and whether one tree size is a prefix of another. Keep an earlier tree head if you need to compare a later response with a saved checkpoint.
The service records Merkle leaves on a best-effort basis: a leaf-write failure is logged and does not undo the tenant-state write. These endpoints therefore do not prove that every tenant change was recorded, or that unsaved history was not rewritten.