Skip to main content
POST
Detect PII

Authorizations

Authorization
string
header
required

AWS Signature Version 4 for service vpc-lattice-svcs in the service's Region, signed as the caller's own IAM role, with the header x-amz-content-sha256: UNSIGNED-PAYLOAD (plus x-amz-security-token for temporary credentials). Use the tenet-pii-lattice client or any SigV4 signer. The role needs vpc-lattice-svcs:Invoke in its own IAM policy and must be named in the service's auth policy.

Body

application/json

Request body for POST /detect: the text to scan, plus an optional per-request confidence_threshold and code_filter.

text
string
required
confidence_threshold
number | null
code_filter
boolean | null

Response

Successful Response

findings
FindingOut · object[]
required