Admin guide · Platform
PII masking
Redact sensitive data in requests before they leave the gateway, then rehydrate it in the response — configured per target under PII Masking.
Configurations
One config per target, listing which entities it masks. Toggle a config active/inactive from the list; the Custom entities tab holds organization-specific patterns.

Applies to names the target and says which kind it is: an API key, whose LLM requests are masked, or an MCP server, whose tool arguments are. The counters above — and API keys covered in particular — are the quick answer to how much of the organization is actually masked: traffic through a key with no config is not.
Entities
Editing a config shows the full catalog, in two families.
- Structured — matched with regular expressions:
EMAIL,PHONE,IBAN,BIC_SWIFT,CREDIT_CARD,IP_ADDRESS,URL. - Contextual — resolved by a
NERmodel from surrounding context:PERSON,ORG, ….

note · The model sees placeholders
<PII type="…" id="N"/> placeholders as opaque. The editor previews the exact text injected. Changes publish to running proxies immediately.How it behaves at request time
Masking, rehydration over multi-turn conversations, and the streaming limitations are documented for developers on the PII masking developer page.
tip
trace_id across turns keeps the redacted ↔ original bindings stable, so the model can refer back to earlier masked values consistently.