Mask mode replaces PII with placeholders before sending to OpenAI or Anthropic. The response is automatically unmasked before returning to you.Documentation Index
Fetch the complete documentation index at: https://pasteguard.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
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: