Cloak API
Sovereign, no-AI, no-storage PII redaction for Australian documents.
Cloak detects and redacts personal information — TFN, ABN, ACN, Medicare, BSB, account numbers, dates of birth, addresses, emails, phone numbers — from Australian tax and bank documents. Detection is deterministic (regex + label rules tuned on real ATO and bank layouts, plus a local NER model). No cloud AI, no storage, AU-region only.
Two ways to use it
- The free web tool at cloak.beforemay.com.au — digital PDFs are redacted entirely in your browser and never uploaded.
- This HTTP API — send a PDF, get back detected regions or a redacted PDF. Ideal for pipelines and back-office automation.
Base URL
https://beforemay-redact.fly.devEndpoints
| Method | Path | Purpose |
|---|---|---|
POST | /v1/detect | Find PII in a PDF — returns page previews + detection boxes |
POST | /v1/redact | Return a redacted PDF |
GET | /health | Liveness / service metadata |
GET | /metrics | Coarse daily usage counts (no PII) |
Next steps
- Quickstart — your first
/v1/detectcall in a minute. - Authentication — the free tier and API keys.
- Rate limits & errors — caps,
429s, and fail-open behaviour. - Privacy & data handling — what we do and don't do with your files.
- API reference — generated from the live OpenAPI spec.