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

9a63ca712c8b

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.