Check output for leaked identifiers
check_outputScan model output for leaked protected values, re-tokenize any verbatim reappearance, and return sanitized text with leak categories.
Instructions
Scan generated text for verbatim reappearance of the original values held in a protected session (tolerant of spacing, dashes and case for identifier-like values) and re-tokenise anything found. Returns which token categories leaked — never the raw values — plus the sanitised text and a general self-check. Scope is verbatim reappearance only: paraphrases and inferred identities are not detected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Model output to inspect. | |
| session_id | Yes | The session_id returned by protect. |