> ## Documentation Index
> Fetch the complete documentation index at: https://docs.negentro.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Healthcare Context & PHI/PII Redaction

> HIPAA-compliant patient memory storage with cryptographic tokenization and zero-knowledge redaction.

`POST /api/v1/tokenization/check`

## 1. Checking PHI Risk Before Ingestion

```bash POST /api/v1/tokenization/check theme={null}
curl -X POST https://api.piyapi.cloud/api/v1/tokenization/check \
  -H "Authorization: Bearer sk_live_prod_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Patient John Doe (DOB 1982-04-12) reports hypertension and takes Lisinopril 20mg."
  }'

# Response:
# {
#   "has_phi": true,
#   "entities": [
#     {"type": "NAME", "text": "John Doe", "token": "[NAME_1]"},
#     {"type": "DOB", "text": "1982-04-12", "token": "[DATE_1]"}
#   ]
# }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.