v28

latestOpenAPI 3.0.0MITraw.githubusercontent.com2026-06-2881825.3 KB
Anonymizer

Anonymize Text

post/anonymize

Request body

textstring required

The text to anonymize

anonymizersobject

Object where the key is DEFAULT or the ENTITY_TYPE and the value is the anonymizer definition

Example request

{
  "text": "hello world, my name is Jane Doe. My number is: 034453334",
  "analyzer_results": [
    {
      "start": 24,
      "end": 32,
      "score": 0.8,
      "entity_type": "PERSON"
    }
  ]
}

Response

OK

textstring