heretic function. It runs once per page; later calls return the same run. result.requestId is a 32-character hex string. When ok is true, your backend can read the result immediately at GET /v1/verdict. See collector results for incomplete runs.
Verify the site’s domain in the dashboard before running the collector. The public site key works on that domain and its subdomains, and in Heretic-hosted widget frames. Reading results requires a secret key on your server.
The TCP and per-session QUIC names require the wildcard in connect-src below.
Content security policy
dist/heretic.js from the npm package and name your origin in script-src.
Options and result lists every heretic(config) option and the result shape.