API Endpoints
PII Detection
Google DLP PII detects personally identifiable information in text, including phone numbers, email addresses, and social security numbers. It allows customization of the detection threshold and the specific types of PII to check.
Env vars: GOOGLE_APPLICATION_CREDENTIALS
Docs: https://cloud.google.com/sensitive-data-protection/docs/apis
POST
Body
application/json
List of entries to be evaluated, check the field type for the necessary keys
Evaluator settings, check the field type for what settings this evaluator supports
Optional environment variables to override the server ones
Response
200
application/json
Successful Response
Amount of PII detected, 0 means no PII detected
If true then no PII was detected, if false then at least one PII was detected
Available options:
processed
Short human-readable description of the result