Glossary
Prompt redaction
Prompt redaction is replacing sensitive values in an AI prompt, like names or account numbers, with placeholders before the prompt reaches a model, so the model can still help without seeing the original values.
Prompt redaction is replacing sensitive values in an AI prompt, like names or account numbers, with placeholders before the prompt reaches a model, so the model can still help without seeing the original values. It helps cut AI data leakage while people keep using AI.
How does prompt redaction work?
Prompt redaction works in the background, between the person and the model. A tool scans the prompt and any attached files, finds the sensitive values, and swaps each one for a placeholder before sending the prompt on.
For example, a prompt asking for help with a letter to "Jane Smith about account 4417" can go to the model with a placeholder for the name and another for the account number. The model drafts the letter around the placeholders.
When the answer comes back, the tool can put the real values back for the person, a step called rehydration.
What's the difference between redaction and masking?
Redaction replaces a sensitive value with a placeholder, and masking hides or generalizes it. In Liminal, either way the value is protected before the prompt reaches the model, and Liminal restores the protected details for the user in the response.
Liminal admins set each type of sensitive data to mask, redact, warn or block. Warn alerts the person to sensitive terms and still lets the prompt go, and block keeps the prompt from being sent. The policy set for each data type decides what a model sees.
How does Liminal handle prompt redaction?
Liminal detects sensitive data in prompts and files, protects it before it reaches a model, and restores it in the response. As of November 2026, it covers personal (PII), health (PHI) and payment card (PCI) data and intellectual property with more than two dozen built-in data types.
Admins can also add custom terms, like client names, and set a policy for each one.
Policies are set by data type for each model, and models can be assigned to the whole organization, specific teams or individuals, so different teams can run different rules.
For the full picture, see how Liminal keeps sensitive data out of AI models.