HANK_SAFEHARBOR
beta
HIPAA Safe Harbor de-identification for clinical notes and PDFs, detects the 18 identifiers and replaces each with a consistent, realistic fake instead of a redacted hole, so documents stay readable. Runs fully local, no PHI egress; over REST, MCP, and web.
Base URL
https://api.hank.ai/v1/safeharbor/
Authentication
Send your API key as a bearer token. See Authentication.
Operations
| Operation | What it does | Unit |
|---|---|---|
deidentify_pdf | De-identify a PDF document, extract, detect the 18 identifiers, and return a de-identified document. 1 credit per call. | call |
deidentify.submit | 0-priced intake work signal for reconciliation; the worker bills the real deidentify_text/deidentify_pdf op on completion. MUST stay 0. | call |
deidentify_text | De-identify a text payload, detects the 18 HIPAA Safe Harbor identifiers and replaces each with a consistent fake. 1 credit per call. | call |
list_models | List available de-identification models/configs (metadata; 0 credits). | call |
lookup | Per-call edge live-tick (0 credits); the billable unit is the de-id op. | call |
Quickstart
curl https://api.hank.ai/v1/safeharbor/ \
-H 'Authorization: Bearer <YOUR_API_KEY>'