cURL
curl --request POST \ --url https://api.traceloop.com/v2/evaluators/execute/pii-detector \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "input": { "text": "Please contact John Smith at [email protected] or call 555-123-4567." }, "config": { "probability_threshold": 0.8 } } '
{ "has_pii": false }
Detect personally identifiable information in text
Request Body:
input.text
config.probability_threshold
Type "Bearer" followed by a space and JWT token.
Request body
Show child attributes
OK
false
Was this page helpful?