How It Works
Request arrives
Your app sends:
"Write a follow-up email to Dr. Sarah Chen (sarah.chen@hospital.org)"Masked request sent
OpenAI/Anthropic receives:
"Write a follow-up email to [[PERSON_1]] ([[EMAIL_ADDRESS_1]])"When to Use
- Simple setup without local infrastructure
- Want to use OpenAI or Anthropic while protecting PII
Configuration
Masking Options
| Option | Default | Description |
|---|---|---|
show_markers | false | Add visual markers around unmasked values |
marker_text | [protected] | Marker text if enabled |
Response Headers
Mask mode sets these headers on responses:fallback_language: