Skip to main content
POST
De-identify text

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
text
string
required
confidence_threshold
number | null
code_filter
boolean | null
session_id
string | null

Response

Successful Response

text
string
required
session_id
string
required
expires_at
number
required
findings
FindingOut · object[]
required
timings
DeidentifyTimings · object
required

Server-side timing of a /deidentify call, in milliseconds: detect_ms for detection and placeholder replacement, vault_ms for the rest (opening the session, sealing and storing the values), and total_ms for the whole call, excluding network time.