Redact text strings
Returns a modified version of the provided text string that redacts or synthesizes the detected entity values.
Request to redact PII from plain text.
A dictionary of entity types to their transformation type.
{"NAME_GIVEN":"Redaction","NAME_FAMILY":"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:
- Ignore: Leave images alone
- Remove: Replace each image with an opaque black box of the same size
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: Legacy style-aware mode. Persisted V2 values now use the V5 font detector.
- V5: Style-aware mode backed by the V5 OpenVINO font model
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 regexes to match against the specified entity type for exclusion. Legacy strings inputs are accepted and normalized into regexes.
{"NAME_FAMILY":{"regexes":[".*\\s(disease|syndrom|disorder)"]}}A list of regexes to match against the specified entity type for inclusion. Legacy strings inputs are accepted and normalized into regexes.
{"HEALTHCARE_ID":{"regexes":["[a-z]{2}\\d{9}"]}}A dictionary mapping entity type names to their transformation metadata configuration.
A list of custom Pii Entity names to use for NER
Optional per-entity ranking overrides for custom-PII and model-based entities detected in
this request. Keys are entity Names (the same identifiers used in Solar.Core.Models.BaseApiRedactionRequest.CustomPiiEntityIds);
values control whether the custom entity always wins an exact-boundary overlap against a
built-in entity (Prioritized) or is compared by score (Standard). Omit to keep
today's behavior of treating every requested custom entity as Prioritized. Supplying a key
that does not match any requested custom-PII or model-based entity Name is rejected as a
400 error.
{"MY_CUSTOM_ENTITY":"Standard"}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.
A dictionary of entity types to their transformation type.
{"NAME_GIVEN":"Redaction","NAME_FAMILY":"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:
- Ignore: Leave images alone
- Remove: Replace each image with an opaque black box of the same size
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: Legacy style-aware mode. Persisted V2 values now use the V5 font detector.
- V5: Style-aware mode backed by the V5 OpenVINO font model
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 regexes to match against the specified entity type for exclusion. Legacy strings inputs are accepted and normalized into regexes.
{"NAME_FAMILY":{"regexes":[".*\\s(disease|syndrom|disorder)"]}}A list of regexes to match against the specified entity type for inclusion. Legacy strings inputs are accepted and normalized into regexes.
{"HEALTHCARE_ID":{"regexes":["[a-z]{2}\\d{9}"]}}A dictionary mapping entity type names to their transformation metadata configuration.
A list of custom Pii Entity names to use for NER
Optional per-entity ranking overrides for custom-PII and model-based entities detected in
this request. Keys are entity Names (the same identifiers used in Solar.Core.Models.BaseApiRedactionRequest.CustomPiiEntityIds);
values control whether the custom entity always wins an exact-boundary overlap against a
built-in entity (Prioritized) or is compared by score (Standard). Omit to keep
today's behavior of treating every requested custom entity as Prioritized. Supplying a key
that does not match any requested custom-PII or model-based entity Name is rejected as a
400 error.
{"MY_CUSTOM_ENTITY":"Standard"}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.
A dictionary of entity types to their transformation type.
{"NAME_GIVEN":"Redaction","NAME_FAMILY":"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:
- Ignore: Leave images alone
- Remove: Replace each image with an opaque black box of the same size
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: Legacy style-aware mode. Persisted V2 values now use the V5 font detector.
- V5: Style-aware mode backed by the V5 OpenVINO font model
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 regexes to match against the specified entity type for exclusion. Legacy strings inputs are accepted and normalized into regexes.
{"NAME_FAMILY":{"regexes":[".*\\s(disease|syndrom|disorder)"]}}A list of regexes to match against the specified entity type for inclusion. Legacy strings inputs are accepted and normalized into regexes.
{"HEALTHCARE_ID":{"regexes":["[a-z]{2}\\d{9}"]}}A dictionary mapping entity type names to their transformation metadata configuration.
A list of custom Pii Entity names to use for NER
Optional per-entity ranking overrides for custom-PII and model-based entities detected in
this request. Keys are entity Names (the same identifiers used in Solar.Core.Models.BaseApiRedactionRequest.CustomPiiEntityIds);
values control whether the custom entity always wins an exact-boundary overlap against a
built-in entity (Prioritized) or is compared by score (Standard). Omit to keep
today's behavior of treating every requested custom entity as Prioritized. Supplying a key
that does not match any requested custom-PII or model-based entity Name is rejected as a
400 error.
{"MY_CUSTOM_ENTITY":"Standard"}The JSON body to redact
{"Name": "John Smith", "Description": "John lives in Atlanta, Ga."}Optional mapping of JSON paths to entity labels
{"NAME_GIVEN":["$.name.first"]}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.
A dictionary of entity types to their transformation type.
{"NAME_GIVEN":"Redaction","NAME_FAMILY":"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:
- Ignore: Leave images alone
- Remove: Replace each image with an opaque black box of the same size
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: Legacy style-aware mode. Persisted V2 values now use the V5 font detector.
- V5: Style-aware mode backed by the V5 OpenVINO font model
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 regexes to match against the specified entity type for exclusion. Legacy strings inputs are accepted and normalized into regexes.
{"NAME_FAMILY":{"regexes":[".*\\s(disease|syndrom|disorder)"]}}A list of regexes to match against the specified entity type for inclusion. Legacy strings inputs are accepted and normalized into regexes.
{"HEALTHCARE_ID":{"regexes":["[a-z]{2}\\d{9}"]}}A dictionary mapping entity type names to their transformation metadata configuration.
A list of custom Pii Entity names to use for NER
Optional per-entity ranking overrides for custom-PII and model-based entities detected in
this request. Keys are entity Names (the same identifiers used in Solar.Core.Models.BaseApiRedactionRequest.CustomPiiEntityIds);
values control whether the custom entity always wins an exact-boundary overlap against a
built-in entity (Prioritized) or is compared by score (Standard). Omit to keep
today's behavior of treating every requested custom entity as Prioritized. Supplying a key
that does not match any requested custom-PII or model-based entity Name is rejected as a
400 error.
{"MY_CUSTOM_ENTITY":"Standard"}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.
A dictionary of entity types to their transformation type.
{"NAME_GIVEN":"Redaction","NAME_FAMILY":"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:
- Ignore: Leave images alone
- Remove: Replace each image with an opaque black box of the same size
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: Legacy style-aware mode. Persisted V2 values now use the V5 font detector.
- V5: Style-aware mode backed by the V5 OpenVINO font model
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 regexes to match against the specified entity type for exclusion. Legacy strings inputs are accepted and normalized into regexes.
{"NAME_FAMILY":{"regexes":[".*\\s(disease|syndrom|disorder)"]}}A list of regexes to match against the specified entity type for inclusion. Legacy strings inputs are accepted and normalized into regexes.
{"HEALTHCARE_ID":{"regexes":["[a-z]{2}\\d{9}"]}}A dictionary mapping entity type names to their transformation metadata configuration.
A list of custom Pii Entity names to use for NER
Optional per-entity ranking overrides for custom-PII and model-based entities detected in
this request. Keys are entity Names (the same identifiers used in Solar.Core.Models.BaseApiRedactionRequest.CustomPiiEntityIds);
values control whether the custom entity always wins an exact-boundary overlap against a
built-in entity (Prioritized) or is compared by score (Standard). Omit to keep
today's behavior of treating every requested custom entity as Prioritized. Supplying a key
that does not match any requested custom-PII or model-based entity Name is rejected as a
400 error.
{"MY_CUSTOM_ENTITY":"Standard"}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?