Redact text strings
Returns the full list of built-in entity types that the redaction engine can detect and transform.
Returns all supported entity types
The type of personally identifiable information (PII) detected, such as NAME_GIVEN, EMAIL_ADDRESS, or CREDIT_CARD.
The type of personally identifiable information (PII) detected, such as NAME_GIVEN, EMAIL_ADDRESS, or CREDIT_CARD.
Returns all supported entity types
Returns a modified version of the provided text string that redacts or synthesizes the detected entity values.
Request to redact PII from plain text.
Possible values:
- Off: Ignore the PII type
- Synthesis: Synthesize a new, realistic entity
- Redaction: Tokenize the entity, e.g. [NAME_GIVEN_ssys5]
- GroupingSynthesis: Synthesize entities using consistent grouping across the document
- ReplacementSynthesis: Replace entities with LLM generated values. ReplacementSynthesis is no longer used
Possible values:
- Redact: Run images through OCR and redact sensitive text
- Ignore: Leave images alone
- Remove: Cover image with opaque black box
Possible values:
- Remove: Remove all comments for file
- Ignore: Leave comments alone
Possible values:
- Redact: Cover signature with opaque black box
- Ignore: Do not attempt to detect signature
Possible values:
- V1: Original mode with incorrect font, size and style
- V2: New mode
Possible values:
- Redact: Treat table content normally, feed into redaction process.
- Remove: Replace all characters and symbols in table with a placeholder.
Possible values:
- Disabled: Do not use LLM for structured data classification
- Enabled: Use LLM to classify structured data for PII detection
Possible values:
- Disabled: Do not use LLM for structured data classification
- Enabled: Use LLM to classify structured data for PII detection
A list of custom Pii Entity names to use for NER
The plain text to redact
My name is John SmithReturns the redacted text
The result of a redaction operation, containing the original text, redacted text, and details of each entity replacement.
The original input text before redaction.
The text after redaction has been applied.
The number of words processed.
Invalid request parameters
Returns a modified version of the provided text strings that redacts or synthesizes the detected entity values. Processes multiple text strings in parallel.
Request model for bulk plain text redaction.
Possible values:
- Off: Ignore the PII type
- Synthesis: Synthesize a new, realistic entity
- Redaction: Tokenize the entity, e.g. [NAME_GIVEN_ssys5]
- GroupingSynthesis: Synthesize entities using consistent grouping across the document
- ReplacementSynthesis: Replace entities with LLM generated values. ReplacementSynthesis is no longer used
Possible values:
- Redact: Run images through OCR and redact sensitive text
- Ignore: Leave images alone
- Remove: Cover image with opaque black box
Possible values:
- Remove: Remove all comments for file
- Ignore: Leave comments alone
Possible values:
- Redact: Cover signature with opaque black box
- Ignore: Do not attempt to detect signature
Possible values:
- V1: Original mode with incorrect font, size and style
- V2: New mode
Possible values:
- Redact: Treat table content normally, feed into redaction process.
- Remove: Replace all characters and symbols in table with a placeholder.
Possible values:
- Disabled: Do not use LLM for structured data classification
- Enabled: Use LLM to classify structured data for PII detection
Possible values:
- Disabled: Do not use LLM for structured data classification
- Enabled: Use LLM to classify structured data for PII detection
A list of custom Pii Entity names to use for NER
An array of text strings to redact. Null entries are preserved as null in the response.
["My name is John Smith","Jane Doe lives in Atlanta"]Returns the bulk redacted text
The result of a bulk redaction operation, containing the original texts, redacted texts, and details of each entity replacement.
The original input texts before redaction.
The texts after redaction has been applied.
The total number of words processed across all texts.
Returns the bulk redacted text
Returns a modified version of the JSON that redacts or synthesizes the detected entity values. The redacted JSON has the same structure as the input JSON. Only the primitive JSON values, such as strings and numbers, are modified. Optionally, provide an array of JSONPath expressions in jsonPathIgnorePaths to exclude specific values from redaction.
Request to redact PII from a JSON document.
Possible values:
- Off: Ignore the PII type
- Synthesis: Synthesize a new, realistic entity
- Redaction: Tokenize the entity, e.g. [NAME_GIVEN_ssys5]
- GroupingSynthesis: Synthesize entities using consistent grouping across the document
- ReplacementSynthesis: Replace entities with LLM generated values. ReplacementSynthesis is no longer used
Possible values:
- Redact: Run images through OCR and redact sensitive text
- Ignore: Leave images alone
- Remove: Cover image with opaque black box
Possible values:
- Remove: Remove all comments for file
- Ignore: Leave comments alone
Possible values:
- Redact: Cover signature with opaque black box
- Ignore: Do not attempt to detect signature
Possible values:
- V1: Original mode with incorrect font, size and style
- V2: New mode
Possible values:
- Redact: Treat table content normally, feed into redaction process.
- Remove: Replace all characters and symbols in table with a placeholder.
Possible values:
- Disabled: Do not use LLM for structured data classification
- Enabled: Use LLM to classify structured data for PII detection
Possible values:
- Disabled: Do not use LLM for structured data classification
- Enabled: Use LLM to classify structured data for PII detection
A list of custom Pii Entity names to use for NER
The JSON body to redact
{"Name": "John Smith", "Description": "John lives in Atlanta, Ga."}Optional array of JSONPath expressions for values that should not be redacted. Any JSON element matching these paths will be left unchanged in the output.
["$.id","$.metadata.timestamp"]Returns the redacted JSON
The result of a redaction operation, containing the original text, redacted text, and details of each entity replacement.
The original input text before redaction.
The text after redaction has been applied.
The number of words processed.
Invalid JSON input
Returns a modified version of the XML that redacts or synthesizes the detected entity values. The redacted XML has the same structure as the input XML. Only the XML inner text and attribute values are modified.
Request to redact PII from an XML document.
Possible values:
- Off: Ignore the PII type
- Synthesis: Synthesize a new, realistic entity
- Redaction: Tokenize the entity, e.g. [NAME_GIVEN_ssys5]
- GroupingSynthesis: Synthesize entities using consistent grouping across the document
- ReplacementSynthesis: Replace entities with LLM generated values. ReplacementSynthesis is no longer used
Possible values:
- Redact: Run images through OCR and redact sensitive text
- Ignore: Leave images alone
- Remove: Cover image with opaque black box
Possible values:
- Remove: Remove all comments for file
- Ignore: Leave comments alone
Possible values:
- Redact: Cover signature with opaque black box
- Ignore: Do not attempt to detect signature
Possible values:
- V1: Original mode with incorrect font, size and style
- V2: New mode
Possible values:
- Redact: Treat table content normally, feed into redaction process.
- Remove: Replace all characters and symbols in table with a placeholder.
Possible values:
- Disabled: Do not use LLM for structured data classification
- Enabled: Use LLM to classify structured data for PII detection
Possible values:
- Disabled: Do not use LLM for structured data classification
- Enabled: Use LLM to classify structured data for PII detection
A list of custom Pii Entity names to use for NER
The XML document redact
<note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note>Returns the redacted XML
The result of a redaction operation, containing the original text, redacted text, and details of each entity replacement.
The original input text before redaction.
The text after redaction has been applied.
The number of words processed.
Invalid XML input
Returns a modified version of the HTML that redacts or synthesizes the detected entity values. The redacted HTML has the same structure as the input HTML. Only the text contained in the HTML elements is modified.
Request to redact PII from an HTML document.
Possible values:
- Off: Ignore the PII type
- Synthesis: Synthesize a new, realistic entity
- Redaction: Tokenize the entity, e.g. [NAME_GIVEN_ssys5]
- GroupingSynthesis: Synthesize entities using consistent grouping across the document
- ReplacementSynthesis: Replace entities with LLM generated values. ReplacementSynthesis is no longer used
Possible values:
- Redact: Run images through OCR and redact sensitive text
- Ignore: Leave images alone
- Remove: Cover image with opaque black box
Possible values:
- Remove: Remove all comments for file
- Ignore: Leave comments alone
Possible values:
- Redact: Cover signature with opaque black box
- Ignore: Do not attempt to detect signature
Possible values:
- V1: Original mode with incorrect font, size and style
- V2: New mode
Possible values:
- Redact: Treat table content normally, feed into redaction process.
- Remove: Replace all characters and symbols in table with a placeholder.
Possible values:
- Disabled: Do not use LLM for structured data classification
- Enabled: Use LLM to classify structured data for PII detection
Possible values:
- Disabled: Do not use LLM for structured data classification
- Enabled: Use LLM to classify structured data for PII detection
A list of custom Pii Entity names to use for NER
The HTML document redact
<!DOCTYPE html> <html> <body> <h1>Account Information</h1> <p>Account Holder: John Smith</p> </body> </html>Returns the redacted HTML
The result of a redaction operation, containing the original text, redacted text, and details of each entity replacement.
The original input text before redaction.
The text after redaction has been applied.
The number of words processed.
Invalid HTML input
Last updated
Was this helpful?