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
/
google_cloud
/
dlp_pii_detection
/
evaluate
Body
application/json
data
object[]
requiredList of entries to be evaluated, check the field type for the necessary keys
settings
object | null
Evaluator settings, check the field type for what settings this evaluator supports
env
object | null
Optional environment variables to override the server ones
Response
200 - application/json
status
enum<string>
default: processedAvailable options:
processed
score
number
requiredAmount of PII detected, 0 means no PII detected
passed
boolean | null
requiredIf true then no PII was detected, if false then at least one PII was detected
details
string | null
Short human-readable description of the result
cost
object | null
raw_response
object
required