Privacy canary
The privacy canary answers one question with a dated green or red result: did unique synthetic PII sent from a client appear in plaintext on CloakAPI’s servers? It does not measure service uptime; that is on status.cloakapi.io.
The newest canary run is in /canary/latest.json.
Each run also writes a dated file; the first is /canary/2026-08-23.json.
What the canary is
A synthetic CloakAPI account, not a paying customer, sends a prompt that contains PII-shaped
values generated uniquely for that run: one email address and one phone number. The client
tokenizes them before the request leaves the device, on the pre-tokenized path
(X-Cloak-Pretokenised: 1, a client MAC and engine identity headers). After the call returns,
the canary searches live gateway storage for the raw canary strings.
| Result | Meaning |
|---|---|
| Green | The call succeeded (HTTP 200) and the raw canary count in gateway storage is 0. |
| Red | A raw canary value was found in storage, or the call did not complete on the pre-tokenized path. |
This is the public half of CloakAPI’s canary checks. It does not replace a TLS-terminating capture of every byte that leaves a browser profile; that capture is an internal control. The canary answers the customer question: does this still hold today?
Read the latest run
The result above is loaded in the browser from /canary/latest.json. The page
requests that file with fetch and cache: 'no-store'. When the file has a
string run_at, a verdict of green or red, and a numeric raw_hits,
the page shows those three values. Before that request finishes, and when
JavaScript is off, the response is not OK, or those fields are missing, the
page links to the file and states no verdict.
The docs build reads public/canary/latest.json before it builds and stops if
that file is missing, is not JSON, or has no green or red verdict. The build
does not copy the verdict into this page.
These fields are in the file:
| Field | Meaning |
|---|---|
run_at | When the run happened (UTC) |
verdict | green or red |
user_id | The synthetic account, not a paying customer |
raw_hits | Raw canary values found in gateway storage |
jti | The ID of the receipt for the canary call |
What this page is not
- Not an uptime probe.
- Not a precision or recall claim. See Detection coverage and What the engine does not detect.
- Not proof that every client channel (service worker,
sendBeacon, WebSocket) was captured in a run. Those channels are outside the scope of the internal capture.
Change control
Each canary run writes a new dated JSON file. The verdict shown on this page is the one
the browser reads from /canary/latest.json after the page loads.