Quba Docs

Scan Text

Scan the provided text for sensitive data.

POST
/scan

Request Body

application/json

Response Body

application/json

application/json

curl -X POST "https://loading/api/sdp/scan" \  -H "Content-Type: application/json" \  -d '{    "text": "string"  }'
{
  "results": [
    {
      "start": 0,
      "end": 0,
      "score": 0,
      "entity_type": "string"
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}