POST
/
v1
/
anonymize
curl --request POST \
  --url https://api.scooba.ai/v1/anonymize \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "text": [
    "<string>"
  ],
  "detection_config": {
    "entities": [
      "<string>"
    ]
  },
  "anonymization_config": {
    "deidentification_method": "REDACT",
    "threshold": 0.5
  }
}'
{
  "anonymized_text": [
    "<string>"
  ],
  "detected_entities": [
    {
      "text": "<string>",
      "label": "<string>",
      "span": {
        "start": 123,
        "end": 123
      },
      "confidence": 123,
      "alternatives": {
        "label": "<string>",
        "confidence": 123
      },
      "anonymized_text": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Response

200
application/json

Successful response

The response is of type object.