v172

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0826148911.7 MB

Redact PII

Replaces detected PII with placeholders and returns the reverse mapping needed to restore the original text.

post/v2/pii/redact

Request body

textstring
languagestring
thresholdnumber double

Response

OK

redacted_textstring
mappingsobject

Maps each placeholder (e.g. "<PERSON_1>") to the original value it replaced.