OpenAPI 3.1.0raw.githubusercontent.com2026-08-142585163.2 MB

deb8d376faee

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.