dlpapi API Reference
Easily and directly scan and detect sensitive data (PII) in input text.
Version: v1
Authentication
Apikey
Apikey
Detect
Detect User Data in Input Text
Detects configurable types of user data in an input text string using Advanced AI.
Input request
Code Example:
Request Content-Types: application/json, text/json, application/*+json
Request Example
{
"InputText": "Hello, world!",
"AllowEmailAddress": false,
"AllowPhoneNumber": false,
"AllowStreetAddress": false,
"AllowPersonName": false,
"AllowBirthDate": false,
"AllowPassportNumber": false,
"AllowDriversLicense": false,
"AllowSocialSecurityNumber": false,
"AllowTaxpayerID": false,
"AllowCreditCardNumber": false,
"AllowCreditCardExpirationDate": false,
"AllowCreditCardVerificationCode": false,
"AllowBankAccountNumber": false,
"AllowIBAN": false,
"AllowHealthInsuranceNumber": false,
"AllowBearerToken": false,
"AllowHttpCookie": false,
"AllowPrivateKeys": false,
"AllowCredentials": false,
"AllowDeepWebUrls": false,
"AllowSourceCode": false,
"AllowIpAddress": false,
"AllowMacAddress": false
}
OK
Response Content-Types: text/plain, application/json, text/json
Response Example (200 OK)
{
"CleanResult": "boolean",
"ContainsEmailAddress": "boolean",
"ContainsPhoneNumber": "boolean",
"ContainsStreetAddress": "boolean",
"ContainsPersonName": "boolean",
"ContainsBirthDate": "boolean",
"ContainsPassportNumber": "boolean",
"ContainsDriversLicense": "boolean",
"ContainsSocialSecurityNumber": "boolean",
"ContainsTaxpayerID": "boolean",
"ContainsCreditCardNumber": "boolean",
"ContainsCreditCardExpirationDate": "boolean",
"ContainsCreditCardVerificationCode": "boolean",
"ContainsBankAccountNumber": "boolean",
"ContainsIBAN": "boolean",
"ContainsHealthInsuranceNumber": "boolean",
"ContainsBearerToken": "boolean",
"ContainsHttpCookie": "boolean",
"ContainsPrivateKeys": "boolean",
"ContainsCredentials": "boolean",
"ContainsDeepWebUrls": "boolean",
"ContainsSourceCode": "boolean",
"ContainsIpAddress": "boolean",
"ContainsMacAddress": "boolean"
}
Detect User Data in Input Text (Advanced)
Detects 29 configurable types of user data including health-related PHI in an input text string using Advanced AI.
Input request
Code Example:
Request Content-Types: application/json, text/json, application/*+json
Request Example
{
"InputText": "Hello, world!",
"AllowEmailAddress": false,
"AllowPhoneNumber": false,
"AllowStreetAddress": false,
"AllowPersonName": false,
"AllowBirthDate": false,
"AllowPassportNumber": false,
"AllowDriversLicense": false,
"AllowSocialSecurityNumber": false,
"AllowTaxpayerID": false,
"AllowCreditCardNumber": false,
"AllowCreditCardExpirationDate": false,
"AllowCreditCardVerificationCode": false,
"AllowBankAccountNumber": false,
"AllowIBAN": false,
"AllowHealthInsuranceNumber": false,
"AllowBearerToken": false,
"AllowHttpCookie": false,
"AllowPrivateKeys": false,
"AllowCredentials": false,
"AllowDeepWebUrls": false,
"AllowSourceCode": false,
"AllowIpAddress": false,
"AllowMacAddress": false,
"AllowHealthInsuranceMemberID": false,
"AllowHealthInjuryOrDisease": false,
"AllowHealthTypeOfTreatment": false,
"AllowHealthDateAndTimeOfTreatment": false,
"AllowHealthPlanBeneficiaryNumber": false,
"AllowHealthPaymentsMadeForTreatment": false,
"AllowVehicleID": false,
"AllowDeviceID": false,
"AllowNamesOfRelatives": false,
"AllowHealthUniversalRecordLocator": false,
"AllowBiometrics": false,
"ProvideAnalysisRationale": "boolean",
"CustomPolicyID": ""
}
OK
Response Content-Types: text/plain, application/json, text/json
Response Example (200 OK)
{
"CleanResult": "boolean",
"ContainsEmailAddress": "boolean",
"ContainsPhoneNumber": "boolean",
"ContainsStreetAddress": "boolean",
"ContainsPersonName": "boolean",
"ContainsBirthDate": "boolean",
"ContainsPassportNumber": "boolean",
"ContainsDriversLicense": "boolean",
"ContainsSocialSecurityNumber": "boolean",
"ContainsTaxpayerID": "boolean",
"ContainsCreditCardNumber": "boolean",
"ContainsCreditCardExpirationDate": "boolean",
"ContainsCreditCardVerificationCode": "boolean",
"ContainsBankAccountNumber": "boolean",
"ContainsIBAN": "boolean",
"ContainsHealthInsuranceNumber": "boolean",
"ContainsBearerToken": "boolean",
"ContainsHttpCookie": "boolean",
"ContainsPrivateKeys": "boolean",
"ContainsCredentials": "boolean",
"ContainsDeepWebUrls": "boolean",
"ContainsSourceCode": "boolean",
"ContainsIpAddress": "boolean",
"ContainsMacAddress": "boolean",
"ContainsHealthInsuranceMemberID": "boolean",
"ContainsHealthInjuryOrDisease": "boolean",
"ContainsHealthTypeOfTreatment": "boolean",
"ContainsHealthDateAndTimeOfTreatment": "boolean",
"ContainsHealthPlanBeneficiaryNumber": "boolean",
"ContainsHealthPaymentsMadeForTreatment": "boolean",
"ContainsFaces": "boolean",
"ContainsVehicleID": "boolean",
"ContainsDeviceID": "boolean",
"ContainsNamesOfRelatives": "boolean",
"ContainsHealthUniversalRecordLocator": "boolean",
"ContainsBiometrics": "boolean",
"AnalysisRationale": "string"
}
Detect User Data in Document Image (Advanced)
Detects 29 configurable types of user data including health-related PHI in a document (PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, HTML, EML, MSG, PNG, JPG, WEBP) using Advanced AI.
Input request
Code Example:
Request Content-Types: application/json, text/json, application/*+json
Request Example
{
"InputFile": "string (byte)",
"FileName": "input.pdf",
"RecognitionMode": "",
"AllowEmailAddress": false,
"AllowPhoneNumber": false,
"AllowStreetAddress": false,
"AllowPersonName": false,
"AllowBirthDate": false,
"AllowPassportNumber": false,
"AllowDriversLicense": false,
"AllowSocialSecurityNumber": false,
"AllowTaxpayerID": false,
"AllowCreditCardNumber": false,
"AllowCreditCardExpirationDate": false,
"AllowCreditCardVerificationCode": false,
"AllowBankAccountNumber": false,
"AllowIBAN": false,
"AllowHealthInsuranceNumber": false,
"AllowBearerToken": false,
"AllowHttpCookie": false,
"AllowPrivateKeys": false,
"AllowCredentials": false,
"AllowDeepWebUrls": false,
"AllowSourceCode": false,
"AllowIpAddress": false,
"AllowMacAddress": false,
"AllowHealthInsuranceMemberID": false,
"AllowHealthInjuryOrDisease": false,
"AllowHealthTypeOfTreatment": false,
"AllowHealthDateAndTimeOfTreatment": false,
"AllowHealthPlanBeneficiaryNumber": false,
"AllowHealthPaymentsMadeForTreatment": false,
"AllowFaces": false,
"AllowVehicleID": false,
"AllowDeviceID": false,
"AllowNamesOfRelatives": false,
"AllowHealthUniversalRecordLocator": false,
"AllowBiometrics": false,
"ProvideAnalysisRationale": "boolean",
"CustomPolicyID": ""
}
OK
Response Content-Types: text/plain, application/json, text/json
Response Example (200 OK)
{
"CleanResult": "boolean",
"ContainsEmailAddress": "boolean",
"ContainsPhoneNumber": "boolean",
"ContainsStreetAddress": "boolean",
"ContainsPersonName": "boolean",
"ContainsBirthDate": "boolean",
"ContainsPassportNumber": "boolean",
"ContainsDriversLicense": "boolean",
"ContainsSocialSecurityNumber": "boolean",
"ContainsTaxpayerID": "boolean",
"ContainsCreditCardNumber": "boolean",
"ContainsCreditCardExpirationDate": "boolean",
"ContainsCreditCardVerificationCode": "boolean",
"ContainsBankAccountNumber": "boolean",
"ContainsIBAN": "boolean",
"ContainsHealthInsuranceNumber": "boolean",
"ContainsBearerToken": "boolean",
"ContainsHttpCookie": "boolean",
"ContainsPrivateKeys": "boolean",
"ContainsCredentials": "boolean",
"ContainsDeepWebUrls": "boolean",
"ContainsSourceCode": "boolean",
"ContainsIpAddress": "boolean",
"ContainsMacAddress": "boolean",
"ContainsHealthInsuranceMemberID": "boolean",
"ContainsHealthInjuryOrDisease": "boolean",
"ContainsHealthTypeOfTreatment": "boolean",
"ContainsHealthDateAndTimeOfTreatment": "boolean",
"ContainsHealthPlanBeneficiaryNumber": "boolean",
"ContainsHealthPaymentsMadeForTreatment": "boolean",
"ContainsFaces": "boolean",
"ContainsVehicleID": "boolean",
"ContainsDeviceID": "boolean",
"ContainsNamesOfRelatives": "boolean",
"ContainsHealthUniversalRecordLocator": "boolean",
"ContainsBiometrics": "boolean",
"AnalysisRationale": "string"
}
Detect User Data in Document Image
Detects configurable types of user data in a document (PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, HTML, EML, MSG, PNG, JPG, WEBP) using Advanced AI.
Input request
Code Example:
Request Content-Types: application/json, text/json, application/*+json
Request Example
{
"InputFile": "string (byte)",
"FileName": "input.pdf",
"RecognitionMode": "",
"AllowEmailAddress": false,
"AllowPhoneNumber": false,
"AllowStreetAddress": false,
"AllowPersonName": false,
"AllowBirthDate": false,
"AllowPassportNumber": false,
"AllowDriversLicense": false,
"AllowSocialSecurityNumber": false,
"AllowTaxpayerID": false,
"AllowCreditCardNumber": false,
"AllowCreditCardExpirationDate": false,
"AllowCreditCardVerificationCode": false,
"AllowBankAccountNumber": false,
"AllowIBAN": false,
"AllowHealthInsuranceNumber": false,
"AllowBearerToken": false,
"AllowHttpCookie": false,
"AllowPrivateKeys": false,
"AllowCredentials": false,
"AllowDeepWebUrls": false,
"AllowSourceCode": false,
"AllowIpAddress": false,
"AllowMacAddress": false
}
OK
Response Content-Types: text/plain, application/json, text/json
Response Example (200 OK)
{
"CleanResult": "boolean",
"ContainsEmailAddress": "boolean",
"ContainsPhoneNumber": "boolean",
"ContainsStreetAddress": "boolean",
"ContainsPersonName": "boolean",
"ContainsBirthDate": "boolean",
"ContainsPassportNumber": "boolean",
"ContainsDriversLicense": "boolean",
"ContainsSocialSecurityNumber": "boolean",
"ContainsTaxpayerID": "boolean",
"ContainsCreditCardNumber": "boolean",
"ContainsCreditCardExpirationDate": "boolean",
"ContainsCreditCardVerificationCode": "boolean",
"ContainsBankAccountNumber": "boolean",
"ContainsIBAN": "boolean",
"ContainsHealthInsuranceNumber": "boolean",
"ContainsBearerToken": "boolean",
"ContainsHttpCookie": "boolean",
"ContainsPrivateKeys": "boolean",
"ContainsCredentials": "boolean",
"ContainsDeepWebUrls": "boolean",
"ContainsSourceCode": "boolean",
"ContainsIpAddress": "boolean",
"ContainsMacAddress": "boolean"
}
Redact
Redact User Data in Input Text
Detects and redacts configurable types of user data in an input text string using Advanced AI. First detects PII, then redacts disallowed types by either deleting them or replacing them with asterisks.
Input request
Code Example:
Request Content-Types: application/json, text/json, application/*+json
Request Example
{
"InputText": "Hello, world!",
"AllowEmailAddress": false,
"AllowPhoneNumber": false,
"AllowStreetAddress": false,
"AllowPersonName": false,
"AllowBirthDate": false,
"AllowPassportNumber": false,
"AllowDriversLicense": false,
"AllowSocialSecurityNumber": false,
"AllowTaxpayerID": false,
"AllowCreditCardNumber": false,
"AllowCreditCardExpirationDate": false,
"AllowCreditCardVerificationCode": false,
"AllowBankAccountNumber": false,
"AllowIBAN": false,
"AllowHealthInsuranceNumber": false,
"AllowBearerToken": false,
"AllowHttpCookie": false,
"AllowPrivateKeys": false,
"AllowCredentials": false,
"AllowDeepWebUrls": false,
"AllowSourceCode": false,
"AllowIpAddress": false,
"AllowMacAddress": false,
"RedactionMode": "ReplaceWithAsterisk"
}
OK
Response Content-Types: text/plain, application/json, text/json
Response Example (200 OK)
{
"RedactedText": "string",
"CleanResult": "boolean",
"ContainsEmailAddress": "boolean",
"ContainsPhoneNumber": "boolean",
"ContainsStreetAddress": "boolean",
"ContainsPersonName": "boolean",
"ContainsBirthDate": "boolean",
"ContainsPassportNumber": "boolean",
"ContainsDriversLicense": "boolean",
"ContainsSocialSecurityNumber": "boolean",
"ContainsTaxpayerID": "boolean",
"ContainsCreditCardNumber": "boolean",
"ContainsCreditCardExpirationDate": "boolean",
"ContainsCreditCardVerificationCode": "boolean",
"ContainsBankAccountNumber": "boolean",
"ContainsIBAN": "boolean",
"ContainsHealthInsuranceNumber": "boolean",
"ContainsBearerToken": "boolean",
"ContainsHttpCookie": "boolean",
"ContainsPrivateKeys": "boolean",
"ContainsCredentials": "boolean",
"ContainsDeepWebUrls": "boolean",
"ContainsSourceCode": "boolean",
"ContainsIpAddress": "boolean",
"ContainsMacAddress": "boolean"
}
Redact User Data in Input Text (Advanced)
Detects and redacts 34 configurable types of user data including health-related PHI in an input text string using Advanced AI. First detects PII, then redacts disallowed types by either deleting them or replacing them with asterisks.
Input request
Code Example:
Request Content-Types: application/json, text/json, application/*+json
Request Example
{
"InputText": "Hello, world!",
"AllowEmailAddress": false,
"AllowPhoneNumber": false,
"AllowStreetAddress": false,
"AllowPersonName": false,
"AllowBirthDate": false,
"AllowPassportNumber": false,
"AllowDriversLicense": false,
"AllowSocialSecurityNumber": false,
"AllowTaxpayerID": false,
"AllowCreditCardNumber": false,
"AllowCreditCardExpirationDate": false,
"AllowCreditCardVerificationCode": false,
"AllowBankAccountNumber": false,
"AllowIBAN": false,
"AllowHealthInsuranceNumber": false,
"AllowBearerToken": false,
"AllowHttpCookie": false,
"AllowPrivateKeys": false,
"AllowCredentials": false,
"AllowDeepWebUrls": false,
"AllowSourceCode": false,
"AllowIpAddress": false,
"AllowMacAddress": false,
"AllowHealthInsuranceMemberID": false,
"AllowHealthInjuryOrDisease": false,
"AllowHealthTypeOfTreatment": false,
"AllowHealthDateAndTimeOfTreatment": false,
"AllowHealthPlanBeneficiaryNumber": false,
"AllowHealthPaymentsMadeForTreatment": false,
"AllowVehicleID": false,
"AllowDeviceID": false,
"AllowNamesOfRelatives": false,
"AllowHealthUniversalRecordLocator": false,
"AllowBiometrics": false,
"RedactionMode": "ReplaceWithAsterisk",
"ProvideAnalysisRationale": true,
"CustomPolicyID": ""
}
OK
Response Content-Types: text/plain, application/json, text/json
Response Example (200 OK)
{
"RedactedText": "string",
"CleanResult": "boolean",
"ContainsEmailAddress": "boolean",
"ContainsPhoneNumber": "boolean",
"ContainsStreetAddress": "boolean",
"ContainsPersonName": "boolean",
"ContainsBirthDate": "boolean",
"ContainsPassportNumber": "boolean",
"ContainsDriversLicense": "boolean",
"ContainsSocialSecurityNumber": "boolean",
"ContainsTaxpayerID": "boolean",
"ContainsCreditCardNumber": "boolean",
"ContainsCreditCardExpirationDate": "boolean",
"ContainsCreditCardVerificationCode": "boolean",
"ContainsBankAccountNumber": "boolean",
"ContainsIBAN": "boolean",
"ContainsHealthInsuranceNumber": "boolean",
"ContainsBearerToken": "boolean",
"ContainsHttpCookie": "boolean",
"ContainsPrivateKeys": "boolean",
"ContainsCredentials": "boolean",
"ContainsDeepWebUrls": "boolean",
"ContainsSourceCode": "boolean",
"ContainsIpAddress": "boolean",
"ContainsMacAddress": "boolean",
"ContainsHealthInsuranceMemberID": "boolean",
"ContainsHealthInjuryOrDisease": "boolean",
"ContainsHealthTypeOfTreatment": "boolean",
"ContainsHealthDateAndTimeOfTreatment": "boolean",
"ContainsHealthPlanBeneficiaryNumber": "boolean",
"ContainsHealthPaymentsMadeForTreatment": "boolean",
"ContainsVehicleID": "boolean",
"ContainsDeviceID": "boolean",
"ContainsNamesOfRelatives": "boolean",
"ContainsHealthUniversalRecordLocator": "boolean",
"ContainsBiometrics": "boolean",
"AnalysisRationale": "string"
}
Redact User Data in Document
Detects and redacts configurable types of user data in a document (PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, HTML, EML, MSG, PNG, JPG, WEBP) using Advanced AI. Rasterizes document pages, detects PII regions using a grid-overlay approach, blurs those regions, and returns a rasterized PDF.
Input request
Code Example:
Request Content-Types: application/json, text/json, application/*+json
Request Example
{
"InputFile": "string (byte)",
"FileName": "input.pdf",
"RecognitionMode": "",
"RedactionMode": "BlackOut",
"AllowEmailAddress": false,
"AllowPhoneNumber": false,
"AllowStreetAddress": false,
"AllowPersonName": false,
"AllowBirthDate": false,
"AllowPassportNumber": false,
"AllowDriversLicense": false,
"AllowSocialSecurityNumber": false,
"AllowTaxpayerID": false,
"AllowCreditCardNumber": false,
"AllowCreditCardExpirationDate": false,
"AllowCreditCardVerificationCode": false,
"AllowBankAccountNumber": false,
"AllowIBAN": false,
"AllowHealthInsuranceNumber": false,
"AllowBearerToken": false,
"AllowHttpCookie": false,
"AllowPrivateKeys": false,
"AllowCredentials": false,
"AllowDeepWebUrls": false,
"AllowSourceCode": false,
"AllowIpAddress": false,
"AllowMacAddress": false
}
OK
Response Content-Types: text/plain, application/json, text/json
Response Example (200 OK)
{
"RedactedDocument": "string (byte)",
"CleanResult": "boolean",
"ContainsEmailAddress": "boolean",
"ContainsPhoneNumber": "boolean",
"ContainsStreetAddress": "boolean",
"ContainsPersonName": "boolean",
"ContainsBirthDate": "boolean",
"ContainsPassportNumber": "boolean",
"ContainsDriversLicense": "boolean",
"ContainsSocialSecurityNumber": "boolean",
"ContainsTaxpayerID": "boolean",
"ContainsCreditCardNumber": "boolean",
"ContainsCreditCardExpirationDate": "boolean",
"ContainsCreditCardVerificationCode": "boolean",
"ContainsBankAccountNumber": "boolean",
"ContainsIBAN": "boolean",
"ContainsHealthInsuranceNumber": "boolean",
"ContainsBearerToken": "boolean",
"ContainsHttpCookie": "boolean",
"ContainsPrivateKeys": "boolean",
"ContainsCredentials": "boolean",
"ContainsDeepWebUrls": "boolean",
"ContainsSourceCode": "boolean",
"ContainsIpAddress": "boolean",
"ContainsMacAddress": "boolean",
"PagesRedacted": [
{
"PageNumber": "integer (int32)"
}
]
}
Redact User Data in Document (Advanced)
Detects and redacts 35 configurable types of user data including health-related PHI in a document (PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, HTML, EML, MSG, PNG, JPG, WEBP) using Advanced AI. Rasterizes document pages, detects PII regions using a row-overlay approach, redacts those regions, and returns a rasterized PDF.
Input request
Code Example:
Request Content-Types: application/json, text/json, application/*+json
Request Example
{
"InputFile": "string (byte)",
"FileName": "input.pdf",
"RecognitionMode": "",
"RedactionMode": "BlackOut",
"AllowEmailAddress": false,
"AllowPhoneNumber": false,
"AllowStreetAddress": false,
"AllowPersonName": false,
"AllowBirthDate": false,
"AllowPassportNumber": false,
"AllowDriversLicense": false,
"AllowSocialSecurityNumber": false,
"AllowTaxpayerID": false,
"AllowCreditCardNumber": false,
"AllowCreditCardExpirationDate": false,
"AllowCreditCardVerificationCode": false,
"AllowBankAccountNumber": false,
"AllowIBAN": false,
"AllowHealthInsuranceNumber": false,
"AllowBearerToken": false,
"AllowHttpCookie": false,
"AllowPrivateKeys": false,
"AllowCredentials": false,
"AllowDeepWebUrls": false,
"AllowSourceCode": false,
"AllowIpAddress": false,
"AllowMacAddress": false,
"AllowHealthInsuranceMemberID": false,
"AllowHealthInjuryOrDisease": false,
"AllowHealthTypeOfTreatment": false,
"AllowHealthDateAndTimeOfTreatment": false,
"AllowHealthPlanBeneficiaryNumber": false,
"AllowHealthPaymentsMadeForTreatment": false,
"AllowFaces": false,
"AllowVehicleID": false,
"AllowDeviceID": false,
"AllowNamesOfRelatives": false,
"AllowHealthUniversalRecordLocator": false,
"AllowBiometrics": false,
"ProvideAnalysisRationale": true,
"CustomPolicyID": ""
}
OK
Response Content-Types: text/plain, application/json, text/json
Response Example (200 OK)
{
"RedactedDocument": "string (byte)",
"CleanResult": "boolean",
"ContainsEmailAddress": "boolean",
"ContainsPhoneNumber": "boolean",
"ContainsStreetAddress": "boolean",
"ContainsPersonName": "boolean",
"ContainsBirthDate": "boolean",
"ContainsPassportNumber": "boolean",
"ContainsDriversLicense": "boolean",
"ContainsSocialSecurityNumber": "boolean",
"ContainsTaxpayerID": "boolean",
"ContainsCreditCardNumber": "boolean",
"ContainsCreditCardExpirationDate": "boolean",
"ContainsCreditCardVerificationCode": "boolean",
"ContainsBankAccountNumber": "boolean",
"ContainsIBAN": "boolean",
"ContainsHealthInsuranceNumber": "boolean",
"ContainsBearerToken": "boolean",
"ContainsHttpCookie": "boolean",
"ContainsPrivateKeys": "boolean",
"ContainsCredentials": "boolean",
"ContainsDeepWebUrls": "boolean",
"ContainsSourceCode": "boolean",
"ContainsIpAddress": "boolean",
"ContainsMacAddress": "boolean",
"ContainsHealthInsuranceMemberID": "boolean",
"ContainsHealthInjuryOrDisease": "boolean",
"ContainsHealthTypeOfTreatment": "boolean",
"ContainsHealthDateAndTimeOfTreatment": "boolean",
"ContainsHealthPlanBeneficiaryNumber": "boolean",
"ContainsHealthPaymentsMadeForTreatment": "boolean",
"ContainsFaces": "boolean",
"ContainsVehicleID": "boolean",
"ContainsDeviceID": "boolean",
"ContainsNamesOfRelatives": "boolean",
"ContainsHealthUniversalRecordLocator": "boolean",
"ContainsBiometrics": "boolean",
"PagesRedacted": [
{
"PageNumber": "integer (int32)"
}
],
"AnalysisRationale": "string"
}
Schema Definitions
DlpAdvancedDetectionRequest: object
Request object for advanced DLP text detection with 29 PII detection types including health-related data.
- InputText: string
-
Text to scan for PII and sensitive data.
- AllowEmailAddress: boolean
-
Set to true to allow email addresses in the input text and not flag them as PII.
- AllowPhoneNumber: boolean
-
Set to true to allow phone numbers in the input text and not flag them as PII.
- AllowStreetAddress: boolean
-
Set to true to allow street addresses in the input text and not flag them as PII.
- AllowPersonName: boolean
-
Set to true to allow person names in the input text and not flag them as PII.
- AllowBirthDate: boolean
-
Set to true to allow birth dates in the input text and not flag them as PII.
- AllowPassportNumber: boolean
-
Set to true to allow passport numbers in the input text and not flag them as PII.
- AllowDriversLicense: boolean
-
Set to true to allow drivers license numbers in the input text and not flag them as PII.
- AllowSocialSecurityNumber: boolean
-
Set to true to allow social security numbers in the input text and not flag them as PII.
- AllowTaxpayerID: boolean
-
Set to true to allow taxpayer IDs in the input text and not flag them as PII.
- AllowCreditCardNumber: boolean
-
Set to true to allow credit card numbers in the input text and not flag them as PII.
- AllowCreditCardExpirationDate: boolean
-
Set to true to allow credit card expiration dates in the input text and not flag them as PII.
- AllowCreditCardVerificationCode: boolean
-
Set to true to allow credit card verification codes in the input text and not flag them as PII.
- AllowBankAccountNumber: boolean
-
Set to true to allow bank account numbers in the input text and not flag them as PII.
- AllowIBAN: boolean
-
Set to true to allow IBANs in the input text and not flag them as PII.
- AllowHealthInsuranceNumber: boolean
-
Set to true to allow health insurance numbers in the input text and not flag them as PII.
- AllowBearerToken: boolean
-
Set to true to allow bearer tokens in the input text and not flag them as PII.
- AllowHttpCookie: boolean
-
Set to true to allow HTTP cookies in the input text and not flag them as PII.
- AllowPrivateKeys: boolean
-
Set to true to allow private keys in the input text and not flag them as PII.
- AllowCredentials: boolean
-
Set to true to allow credentials (usernames/passwords) in the input text and not flag them as PII.
- AllowDeepWebUrls: boolean
-
Set to true to allow deep web URLs (.onion) in the input text and not flag them as PII.
- AllowSourceCode: boolean
-
Set to true to allow source code in the input text and not flag it as sensitive data.
- AllowIpAddress: boolean
-
Set to true to allow IP addresses in the input text and not flag them as PII.
- AllowMacAddress: boolean
-
Set to true to allow MAC addresses in the input text and not flag them as PII.
- AllowHealthInsuranceMemberID: boolean
-
Set to true to allow health insurance member IDs in the input text and not flag them as PHI.
- AllowHealthInjuryOrDisease: boolean
-
Set to true to allow references to injuries or diseases in the input text and not flag them as PHI.
- AllowHealthTypeOfTreatment: boolean
-
Set to true to allow references to types of medical treatment in the input text and not flag them as PHI.
- AllowHealthDateAndTimeOfTreatment: boolean
-
Set to true to allow dates and times of medical treatment in the input text and not flag them as PHI.
- AllowHealthPlanBeneficiaryNumber: boolean
-
Set to true to allow health plan beneficiary numbers in the input text and not flag them as PHI.
- AllowHealthPaymentsMadeForTreatment: boolean
-
Set to true to allow payments made for medical treatment in the input text and not flag them as PHI.
- AllowVehicleID: boolean
-
Set to true to allow vehicle identifiers (e.g. license plates, VINs) in the input text and not flag them as PII.
- AllowDeviceID: boolean
-
Set to true to allow device identifiers (e.g. serial numbers, IMEIs, MAC-level device IDs) in the input text and not flag them as PII.
- AllowNamesOfRelatives: boolean
-
Set to true to allow names of relatives in the input text and not flag them as PII.
- AllowHealthUniversalRecordLocator: boolean
-
Set to true to allow health universal record locators (URLs) in the input text and not flag them as PHI.
- AllowBiometrics: boolean
-
Set to true to allow biometric data references (e.g. fingerprints, retinal scans, voiceprints) in the input text and not flag them as PII.
- ProvideAnalysisRationale: boolean
-
Set to true to include a natural language rationale explaining why each detection conclusion was formed.
- CustomPolicyID: string
-
Apply a Custom Policy for DLP Enforcement by providing the ID; to create a Custom Policy, navigate to the Cloudmersive Management Portal and select Custom Policies. Requires Managed Instance or Private Cloud
Example
{
"InputText": "Hello, world!",
"AllowEmailAddress": false,
"AllowPhoneNumber": false,
"AllowStreetAddress": false,
"AllowPersonName": false,
"AllowBirthDate": false,
"AllowPassportNumber": false,
"AllowDriversLicense": false,
"AllowSocialSecurityNumber": false,
"AllowTaxpayerID": false,
"AllowCreditCardNumber": false,
"AllowCreditCardExpirationDate": false,
"AllowCreditCardVerificationCode": false,
"AllowBankAccountNumber": false,
"AllowIBAN": false,
"AllowHealthInsuranceNumber": false,
"AllowBearerToken": false,
"AllowHttpCookie": false,
"AllowPrivateKeys": false,
"AllowCredentials": false,
"AllowDeepWebUrls": false,
"AllowSourceCode": false,
"AllowIpAddress": false,
"AllowMacAddress": false,
"AllowHealthInsuranceMemberID": false,
"AllowHealthInjuryOrDisease": false,
"AllowHealthTypeOfTreatment": false,
"AllowHealthDateAndTimeOfTreatment": false,
"AllowHealthPlanBeneficiaryNumber": false,
"AllowHealthPaymentsMadeForTreatment": false,
"AllowVehicleID": false,
"AllowDeviceID": false,
"AllowNamesOfRelatives": false,
"AllowHealthUniversalRecordLocator": false,
"AllowBiometrics": false,
"ProvideAnalysisRationale": "boolean",
"CustomPolicyID": ""
}
DlpAdvancedDetectionResponse: object
Response object for advanced DLP text detection with 29 PII detection types including health-related data.
- CleanResult: boolean
-
True if no disallowed PII or sensitive data types were detected in the input text; false if any disallowed type was found.
- ContainsEmailAddress: boolean
-
True if the input text contains email addresses.
- ContainsPhoneNumber: boolean
-
True if the input text contains phone numbers.
- ContainsStreetAddress: boolean
-
True if the input text contains street addresses.
- ContainsPersonName: boolean
-
True if the input text contains person names.
- ContainsBirthDate: boolean
-
True if the input text contains birth dates.
- ContainsPassportNumber: boolean
-
True if the input text contains passport numbers.
- ContainsDriversLicense: boolean
-
True if the input text contains drivers license numbers.
- ContainsSocialSecurityNumber: boolean
-
True if the input text contains social security numbers.
- ContainsTaxpayerID: boolean
-
True if the input text contains taxpayer IDs.
- ContainsCreditCardNumber: boolean
-
True if the input text contains credit card numbers.
- ContainsCreditCardExpirationDate: boolean
-
True if the input text contains credit card expiration dates.
- ContainsCreditCardVerificationCode: boolean
-
True if the input text contains credit card verification codes.
- ContainsBankAccountNumber: boolean
-
True if the input text contains bank account numbers.
- ContainsIBAN: boolean
-
True if the input text contains IBANs.
- ContainsHealthInsuranceNumber: boolean
-
True if the input text contains health insurance numbers.
- ContainsBearerToken: boolean
-
True if the input text contains bearer tokens.
- ContainsHttpCookie: boolean
-
True if the input text contains HTTP cookies.
- ContainsPrivateKeys: boolean
-
True if the input text contains private keys.
- ContainsCredentials: boolean
-
True if the input text contains credentials (usernames/passwords).
- ContainsDeepWebUrls: boolean
-
True if the input text contains deep web URLs (.onion).
- ContainsSourceCode: boolean
-
True if the input text contains source code.
- ContainsIpAddress: boolean
-
True if the input text contains IP addresses.
- ContainsMacAddress: boolean
-
True if the input text contains MAC addresses.
- ContainsHealthInsuranceMemberID: boolean
-
True if the input text contains health insurance member IDs.
- ContainsHealthInjuryOrDisease: boolean
-
True if the input text contains references to injuries or diseases.
- ContainsHealthTypeOfTreatment: boolean
-
True if the input text contains references to types of medical treatment.
- ContainsHealthDateAndTimeOfTreatment: boolean
-
True if the input text contains dates and times of medical treatment.
- ContainsHealthPlanBeneficiaryNumber: boolean
-
True if the input text contains health plan beneficiary numbers.
- ContainsHealthPaymentsMadeForTreatment: boolean
-
True if the input text contains payments made for medical treatment.
- ContainsFaces: boolean
-
True if the document contains identifiable human faces.
- ContainsVehicleID: boolean
-
True if the input contains vehicle identifiers (e.g. license plates, VINs).
- ContainsDeviceID: boolean
-
True if the input contains device identifiers (e.g. serial numbers, IMEIs, MAC-level device IDs).
- ContainsNamesOfRelatives: boolean
-
True if the input contains names of relatives.
- ContainsHealthUniversalRecordLocator: boolean
-
True if the input contains health universal record locators (URLs).
- ContainsBiometrics: boolean
-
True if the input contains biometric data references (e.g. fingerprints, retinal scans, voiceprints).
- AnalysisRationale: string
-
Rationale for why the conclusion was formed. Only populated when ProvideAnalysisRationale is set to true in the request.
Example
{
"CleanResult": "boolean",
"ContainsEmailAddress": "boolean",
"ContainsPhoneNumber": "boolean",
"ContainsStreetAddress": "boolean",
"ContainsPersonName": "boolean",
"ContainsBirthDate": "boolean",
"ContainsPassportNumber": "boolean",
"ContainsDriversLicense": "boolean",
"ContainsSocialSecurityNumber": "boolean",
"ContainsTaxpayerID": "boolean",
"ContainsCreditCardNumber": "boolean",
"ContainsCreditCardExpirationDate": "boolean",
"ContainsCreditCardVerificationCode": "boolean",
"ContainsBankAccountNumber": "boolean",
"ContainsIBAN": "boolean",
"ContainsHealthInsuranceNumber": "boolean",
"ContainsBearerToken": "boolean",
"ContainsHttpCookie": "boolean",
"ContainsPrivateKeys": "boolean",
"ContainsCredentials": "boolean",
"ContainsDeepWebUrls": "boolean",
"ContainsSourceCode": "boolean",
"ContainsIpAddress": "boolean",
"ContainsMacAddress": "boolean",
"ContainsHealthInsuranceMemberID": "boolean",
"ContainsHealthInjuryOrDisease": "boolean",
"ContainsHealthTypeOfTreatment": "boolean",
"ContainsHealthDateAndTimeOfTreatment": "boolean",
"ContainsHealthPlanBeneficiaryNumber": "boolean",
"ContainsHealthPaymentsMadeForTreatment": "boolean",
"ContainsFaces": "boolean",
"ContainsVehicleID": "boolean",
"ContainsDeviceID": "boolean",
"ContainsNamesOfRelatives": "boolean",
"ContainsHealthUniversalRecordLocator": "boolean",
"ContainsBiometrics": "boolean",
"AnalysisRationale": "string"
}
DlpAdvancedDocumentDetectionRequest: object
Request object for advanced DLP document detection with 29 PII detection types including health-related data.
- InputFile: string (byte)
-
Document file bytes (PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, HTML, EML, MSG, PNG, JPG, or WEBP) to scan for PII and sensitive data.
- FileName: string
-
Optional. Name of the input file including extension, used for format detection. If not provided, format is detected from file contents.
- RecognitionMode: string
-
Optional. Recognition mode for image processing. Options: null (default), "Fast", "FastPlus", "FastMini".
- AllowEmailAddress: boolean
-
Set to true to allow email addresses in the document and not flag them as PII.
- AllowPhoneNumber: boolean
-
Set to true to allow phone numbers in the document and not flag them as PII.
- AllowStreetAddress: boolean
-
Set to true to allow street addresses in the document and not flag them as PII.
- AllowPersonName: boolean
-
Set to true to allow person names in the document and not flag them as PII.
- AllowBirthDate: boolean
-
Set to true to allow birth dates in the document and not flag them as PII.
- AllowPassportNumber: boolean
-
Set to true to allow passport numbers in the document and not flag them as PII.
- AllowDriversLicense: boolean
-
Set to true to allow drivers license numbers in the document and not flag them as PII.
- AllowSocialSecurityNumber: boolean
-
Set to true to allow social security numbers in the document and not flag them as PII.
- AllowTaxpayerID: boolean
-
Set to true to allow taxpayer IDs in the document and not flag them as PII.
- AllowCreditCardNumber: boolean
-
Set to true to allow credit card numbers in the document and not flag them as PII.
- AllowCreditCardExpirationDate: boolean
-
Set to true to allow credit card expiration dates in the document and not flag them as PII.
- AllowCreditCardVerificationCode: boolean
-
Set to true to allow credit card verification codes in the document and not flag them as PII.
- AllowBankAccountNumber: boolean
-
Set to true to allow bank account numbers in the document and not flag them as PII.
- AllowIBAN: boolean
-
Set to true to allow IBANs in the document and not flag them as PII.
- AllowHealthInsuranceNumber: boolean
-
Set to true to allow health insurance numbers in the document and not flag them as PII.
- AllowBearerToken: boolean
-
Set to true to allow bearer tokens in the document and not flag them as PII.
- AllowHttpCookie: boolean
-
Set to true to allow HTTP cookies in the document and not flag them as PII.
- AllowPrivateKeys: boolean
-
Set to true to allow private keys in the document and not flag them as PII.
- AllowCredentials: boolean
-
Set to true to allow credentials (usernames/passwords) in the document and not flag them as PII.
- AllowDeepWebUrls: boolean
-
Set to true to allow deep web URLs (.onion) in the document and not flag them as PII.
- AllowSourceCode: boolean
-
Set to true to allow source code in the document and not flag it as sensitive data.
- AllowIpAddress: boolean
-
Set to true to allow IP addresses in the document and not flag them as PII.
- AllowMacAddress: boolean
-
Set to true to allow MAC addresses in the document and not flag them as PII.
- AllowHealthInsuranceMemberID: boolean
-
Set to true to allow health insurance member IDs in the document and not flag them as PHI.
- AllowHealthInjuryOrDisease: boolean
-
Set to true to allow references to injuries or diseases in the document and not flag them as PHI.
- AllowHealthTypeOfTreatment: boolean
-
Set to true to allow references to types of medical treatment in the document and not flag them as PHI.
- AllowHealthDateAndTimeOfTreatment: boolean
-
Set to true to allow dates and times of medical treatment in the document and not flag them as PHI.
- AllowHealthPlanBeneficiaryNumber: boolean
-
Set to true to allow health plan beneficiary numbers in the document and not flag them as PHI.
- AllowHealthPaymentsMadeForTreatment: boolean
-
Set to true to allow payments made for medical treatment in the document and not flag them as PHI.
- AllowFaces: boolean
-
Set to true to allow identifiable human faces in the document and not flag them as PII.
- AllowVehicleID: boolean
-
Set to true to allow vehicle identifiers (e.g. license plates, VINs) in the document and not flag them as PII.
- AllowDeviceID: boolean
-
Set to true to allow device identifiers (e.g. serial numbers, IMEIs, MAC-level device IDs) in the document and not flag them as PII.
- AllowNamesOfRelatives: boolean
-
Set to true to allow names of relatives in the document and not flag them as PII.
- AllowHealthUniversalRecordLocator: boolean
-
Set to true to allow health universal record locators (URLs) in the document and not flag them as PHI.
- AllowBiometrics: boolean
-
Set to true to allow biometric data references (e.g. fingerprints, retinal scans, voiceprints) in the document and not flag them as PII.
- ProvideAnalysisRationale: boolean
-
Set to true to include a natural language rationale explaining why each detection conclusion was formed.
- CustomPolicyID: string
-
Apply a Custom Policy for DLP Enforcement by providing the ID; to create a Custom Policy, navigate to the Cloudmersive Management Portal and select Custom Policies. Requires Managed Instance or Private Cloud
Example
{
"InputFile": "string (byte)",
"FileName": "input.pdf",
"RecognitionMode": "",
"AllowEmailAddress": false,
"AllowPhoneNumber": false,
"AllowStreetAddress": false,
"AllowPersonName": false,
"AllowBirthDate": false,
"AllowPassportNumber": false,
"AllowDriversLicense": false,
"AllowSocialSecurityNumber": false,
"AllowTaxpayerID": false,
"AllowCreditCardNumber": false,
"AllowCreditCardExpirationDate": false,
"AllowCreditCardVerificationCode": false,
"AllowBankAccountNumber": false,
"AllowIBAN": false,
"AllowHealthInsuranceNumber": false,
"AllowBearerToken": false,
"AllowHttpCookie": false,
"AllowPrivateKeys": false,
"AllowCredentials": false,
"AllowDeepWebUrls": false,
"AllowSourceCode": false,
"AllowIpAddress": false,
"AllowMacAddress": false,
"AllowHealthInsuranceMemberID": false,
"AllowHealthInjuryOrDisease": false,
"AllowHealthTypeOfTreatment": false,
"AllowHealthDateAndTimeOfTreatment": false,
"AllowHealthPlanBeneficiaryNumber": false,
"AllowHealthPaymentsMadeForTreatment": false,
"AllowFaces": false,
"AllowVehicleID": false,
"AllowDeviceID": false,
"AllowNamesOfRelatives": false,
"AllowHealthUniversalRecordLocator": false,
"AllowBiometrics": false,
"ProvideAnalysisRationale": "boolean",
"CustomPolicyID": ""
}
DlpAdvancedDocumentRedactionRequest: object
Request object for advanced DLP document redaction with 35 PII detection types including health-related data.
- InputFile: string (byte)
-
Document file bytes (PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, HTML, EML, MSG, PNG, JPG, or WEBP) to scan for PII and redact.
- FileName: string
-
Optional. Name of the input file including extension, used for format detection. If not provided, format is detected from file contents.
- RecognitionMode: string
-
Optional. Recognition mode for image processing. Options: null (default), "Fast", "FastPlus", "FastMini".
- RedactionMode: string
-
Redaction mode for PII regions. Options: "BlackOut" (default) draws black rectangles over PII rows, "Blur" applies Gaussian blur to PII rows, "BlackOutEntirePage" blacks out entire dirty pages, "BlurEntirePage" blurs entire dirty pages.
- AllowEmailAddress: boolean
-
Set to true to allow email addresses in the document and not redact them.
- AllowPhoneNumber: boolean
-
Set to true to allow phone numbers in the document and not redact them.
- AllowStreetAddress: boolean
-
Set to true to allow street addresses in the document and not redact them.
- AllowPersonName: boolean
-
Set to true to allow person names in the document and not redact them.
- AllowBirthDate: boolean
-
Set to true to allow birth dates in the document and not redact them.
- AllowPassportNumber: boolean
-
Set to true to allow passport numbers in the document and not redact them.
- AllowDriversLicense: boolean
-
Set to true to allow drivers license numbers in the document and not redact them.
- AllowSocialSecurityNumber: boolean
-
Set to true to allow social security numbers in the document and not redact them.
- AllowTaxpayerID: boolean
-
Set to true to allow taxpayer IDs in the document and not redact them.
- AllowCreditCardNumber: boolean
-
Set to true to allow credit card numbers in the document and not redact them.
- AllowCreditCardExpirationDate: boolean
-
Set to true to allow credit card expiration dates in the document and not redact them.
- AllowCreditCardVerificationCode: boolean
-
Set to true to allow credit card verification codes in the document and not redact them.
- AllowBankAccountNumber: boolean
-
Set to true to allow bank account numbers in the document and not redact them.
- AllowIBAN: boolean
-
Set to true to allow IBANs in the document and not redact them.
- AllowHealthInsuranceNumber: boolean
-
Set to true to allow health insurance numbers in the document and not redact them.
- AllowBearerToken: boolean
-
Set to true to allow bearer tokens in the document and not redact them.
- AllowHttpCookie: boolean
-
Set to true to allow HTTP cookies in the document and not redact them.
- AllowPrivateKeys: boolean
-
Set to true to allow private keys in the document and not redact them.
- AllowCredentials: boolean
-
Set to true to allow credentials (usernames/passwords) in the document and not redact them.
- AllowDeepWebUrls: boolean
-
Set to true to allow deep web URLs (.onion) in the document and not redact them.
- AllowSourceCode: boolean
-
Set to true to allow source code in the document and not redact it.
- AllowIpAddress: boolean
-
Set to true to allow IP addresses in the document and not redact them.
- AllowMacAddress: boolean
-
Set to true to allow MAC addresses in the document and not redact them.
- AllowHealthInsuranceMemberID: boolean
-
Set to true to allow health insurance member IDs in the document and not redact them.
- AllowHealthInjuryOrDisease: boolean
-
Set to true to allow references to injuries or diseases in the document and not redact them.
- AllowHealthTypeOfTreatment: boolean
-
Set to true to allow references to types of medical treatment in the document and not redact them.
- AllowHealthDateAndTimeOfTreatment: boolean
-
Set to true to allow dates and times of medical treatment in the document and not redact them.
- AllowHealthPlanBeneficiaryNumber: boolean
-
Set to true to allow health plan beneficiary numbers in the document and not redact them.
- AllowHealthPaymentsMadeForTreatment: boolean
-
Set to true to allow payments made for medical treatment in the document and not redact them.
- AllowFaces: boolean
-
Set to true to allow identifiable human faces in the document and not redact them.
- AllowVehicleID: boolean
-
Set to true to allow vehicle identifiers (e.g. license plates, VINs) in the document and not redact them.
- AllowDeviceID: boolean
-
Set to true to allow device identifiers (e.g. serial numbers, IMEIs, MAC-level device IDs) in the document and not redact them.
- AllowNamesOfRelatives: boolean
-
Set to true to allow names of relatives in the document and not redact them.
- AllowHealthUniversalRecordLocator: boolean
-
Set to true to allow health universal record locators (URLs) in the document and not redact them.
- AllowBiometrics: boolean
-
Set to true to allow biometric data references (e.g. fingerprints, retinal scans, voiceprints) in the document and not redact them.
- ProvideAnalysisRationale: boolean
-
Set to true to include a natural language rationale explaining why each detection conclusion was formed.
- CustomPolicyID: string
-
Apply a Custom Policy for DLP Enforcement by providing the ID; to create a Custom Policy, navigate to the Cloudmersive Management Portal and select Custom Policies. Requires Managed Instance or Private Cloud
Example
{
"InputFile": "string (byte)",
"FileName": "input.pdf",
"RecognitionMode": "",
"RedactionMode": "BlackOut",
"AllowEmailAddress": false,
"AllowPhoneNumber": false,
"AllowStreetAddress": false,
"AllowPersonName": false,
"AllowBirthDate": false,
"AllowPassportNumber": false,
"AllowDriversLicense": false,
"AllowSocialSecurityNumber": false,
"AllowTaxpayerID": false,
"AllowCreditCardNumber": false,
"AllowCreditCardExpirationDate": false,
"AllowCreditCardVerificationCode": false,
"AllowBankAccountNumber": false,
"AllowIBAN": false,
"AllowHealthInsuranceNumber": false,
"AllowBearerToken": false,
"AllowHttpCookie": false,
"AllowPrivateKeys": false,
"AllowCredentials": false,
"AllowDeepWebUrls": false,
"AllowSourceCode": false,
"AllowIpAddress": false,
"AllowMacAddress": false,
"AllowHealthInsuranceMemberID": false,
"AllowHealthInjuryOrDisease": false,
"AllowHealthTypeOfTreatment": false,
"AllowHealthDateAndTimeOfTreatment": false,
"AllowHealthPlanBeneficiaryNumber": false,
"AllowHealthPaymentsMadeForTreatment": false,
"AllowFaces": false,
"AllowVehicleID": false,
"AllowDeviceID": false,
"AllowNamesOfRelatives": false,
"AllowHealthUniversalRecordLocator": false,
"AllowBiometrics": false,
"ProvideAnalysisRationale": true,
"CustomPolicyID": ""
}
DlpAdvancedDocumentRedactionResponse: object
Response object for advanced DLP document redaction with 35 PII detection results, redacted document, and optional rationale.
- RedactedDocument: string (byte)
-
The redacted document as a rasterized PDF with PII regions redacted, or the original file if no disallowed PII was found.
- CleanResult: boolean
-
True if no disallowed PII or sensitive data types were detected; false if any disallowed type was found and redacted.
- ContainsEmailAddress: boolean
-
True if the document contains email addresses.
- ContainsPhoneNumber: boolean
-
True if the document contains phone numbers.
- ContainsStreetAddress: boolean
-
True if the document contains street addresses.
- ContainsPersonName: boolean
-
True if the document contains person names.
- ContainsBirthDate: boolean
-
True if the document contains birth dates.
- ContainsPassportNumber: boolean
-
True if the document contains passport numbers.
- ContainsDriversLicense: boolean
-
True if the document contains drivers license numbers.
- ContainsSocialSecurityNumber: boolean
-
True if the document contains social security numbers.
- ContainsTaxpayerID: boolean
-
True if the document contains taxpayer IDs.
- ContainsCreditCardNumber: boolean
-
True if the document contains credit card numbers.
- ContainsCreditCardExpirationDate: boolean
-
True if the document contains credit card expiration dates.
- ContainsCreditCardVerificationCode: boolean
-
True if the document contains credit card verification codes.
- ContainsBankAccountNumber: boolean
-
True if the document contains bank account numbers.
- ContainsIBAN: boolean
-
True if the document contains IBANs.
- ContainsHealthInsuranceNumber: boolean
-
True if the document contains health insurance numbers.
- ContainsBearerToken: boolean
-
True if the document contains bearer tokens.
- ContainsHttpCookie: boolean
-
True if the document contains HTTP cookies.
- ContainsPrivateKeys: boolean
-
True if the document contains private keys.
- ContainsCredentials: boolean
-
True if the document contains credentials (usernames/passwords).
- ContainsDeepWebUrls: boolean
-
True if the document contains deep web URLs (.onion).
- ContainsSourceCode: boolean
-
True if the document contains source code.
- ContainsIpAddress: boolean
-
True if the document contains IP addresses.
- ContainsMacAddress: boolean
-
True if the document contains MAC addresses.
- ContainsHealthInsuranceMemberID: boolean
-
True if the document contains health insurance member IDs.
- ContainsHealthInjuryOrDisease: boolean
-
True if the document contains references to injuries or diseases.
- ContainsHealthTypeOfTreatment: boolean
-
True if the document contains references to types of medical treatment.
- ContainsHealthDateAndTimeOfTreatment: boolean
-
True if the document contains dates and times of medical treatment.
- ContainsHealthPlanBeneficiaryNumber: boolean
-
True if the document contains health plan beneficiary numbers.
- ContainsHealthPaymentsMadeForTreatment: boolean
-
True if the document contains payments made for medical treatment.
- ContainsFaces: boolean
-
True if the document contains identifiable human faces.
- ContainsVehicleID: boolean
-
True if the document contains vehicle identifiers (e.g. license plates, VINs).
- ContainsDeviceID: boolean
-
True if the document contains device identifiers (e.g. serial numbers, IMEIs, MAC-level device IDs).
- ContainsNamesOfRelatives: boolean
-
True if the document contains names of relatives.
- ContainsHealthUniversalRecordLocator: boolean
-
True if the document contains health universal record locators (URLs).
- ContainsBiometrics: boolean
-
True if the document contains biometric data references (e.g. fingerprints, retinal scans, voiceprints).
- PagesRedacted: RedactedPageInfo
-
List of pages that were redacted (had PII regions redacted).
-
RedactedPageInfo - AnalysisRationale: string
-
Rationale for why the conclusion was formed. Only populated when ProvideAnalysisRationale is set to true in the request.
Example
{
"RedactedDocument": "string (byte)",
"CleanResult": "boolean",
"ContainsEmailAddress": "boolean",
"ContainsPhoneNumber": "boolean",
"ContainsStreetAddress": "boolean",
"ContainsPersonName": "boolean",
"ContainsBirthDate": "boolean",
"ContainsPassportNumber": "boolean",
"ContainsDriversLicense": "boolean",
"ContainsSocialSecurityNumber": "boolean",
"ContainsTaxpayerID": "boolean",
"ContainsCreditCardNumber": "boolean",
"ContainsCreditCardExpirationDate": "boolean",
"ContainsCreditCardVerificationCode": "boolean",
"ContainsBankAccountNumber": "boolean",
"ContainsIBAN": "boolean",
"ContainsHealthInsuranceNumber": "boolean",
"ContainsBearerToken": "boolean",
"ContainsHttpCookie": "boolean",
"ContainsPrivateKeys": "boolean",
"ContainsCredentials": "boolean",
"ContainsDeepWebUrls": "boolean",
"ContainsSourceCode": "boolean",
"ContainsIpAddress": "boolean",
"ContainsMacAddress": "boolean",
"ContainsHealthInsuranceMemberID": "boolean",
"ContainsHealthInjuryOrDisease": "boolean",
"ContainsHealthTypeOfTreatment": "boolean",
"ContainsHealthDateAndTimeOfTreatment": "boolean",
"ContainsHealthPlanBeneficiaryNumber": "boolean",
"ContainsHealthPaymentsMadeForTreatment": "boolean",
"ContainsFaces": "boolean",
"ContainsVehicleID": "boolean",
"ContainsDeviceID": "boolean",
"ContainsNamesOfRelatives": "boolean",
"ContainsHealthUniversalRecordLocator": "boolean",
"ContainsBiometrics": "boolean",
"PagesRedacted": [
{
"PageNumber": "integer (int32)"
}
],
"AnalysisRationale": "string"
}
DlpAdvancedRedactionRequest: object
Request object for advanced DLP text redaction with 34 PII detection types including health-related data and configurable redaction mode.
- InputText: string
-
Text to scan for PII and redact sensitive data from.
- AllowEmailAddress: boolean
-
Set to true to allow email addresses in the input text and not redact them.
- AllowPhoneNumber: boolean
-
Set to true to allow phone numbers in the input text and not redact them.
- AllowStreetAddress: boolean
-
Set to true to allow street addresses in the input text and not redact them.
- AllowPersonName: boolean
-
Set to true to allow person names in the input text and not redact them.
- AllowBirthDate: boolean
-
Set to true to allow birth dates in the input text and not redact them.
- AllowPassportNumber: boolean
-
Set to true to allow passport numbers in the input text and not redact them.
- AllowDriversLicense: boolean
-
Set to true to allow drivers license numbers in the input text and not redact them.
- AllowSocialSecurityNumber: boolean
-
Set to true to allow social security numbers in the input text and not redact them.
- AllowTaxpayerID: boolean
-
Set to true to allow taxpayer IDs in the input text and not redact them.
- AllowCreditCardNumber: boolean
-
Set to true to allow credit card numbers in the input text and not redact them.
- AllowCreditCardExpirationDate: boolean
-
Set to true to allow credit card expiration dates in the input text and not redact them.
- AllowCreditCardVerificationCode: boolean
-
Set to true to allow credit card verification codes in the input text and not redact them.
- AllowBankAccountNumber: boolean
-
Set to true to allow bank account numbers in the input text and not redact them.
- AllowIBAN: boolean
-
Set to true to allow IBANs in the input text and not redact them.
- AllowHealthInsuranceNumber: boolean
-
Set to true to allow health insurance numbers in the input text and not redact them.
- AllowBearerToken: boolean
-
Set to true to allow bearer tokens in the input text and not redact them.
- AllowHttpCookie: boolean
-
Set to true to allow HTTP cookies in the input text and not redact them.
- AllowPrivateKeys: boolean
-
Set to true to allow private keys in the input text and not redact them.
- AllowCredentials: boolean
-
Set to true to allow credentials (usernames/passwords) in the input text and not redact them.
- AllowDeepWebUrls: boolean
-
Set to true to allow deep web URLs (.onion) in the input text and not redact them.
- AllowSourceCode: boolean
-
Set to true to allow source code in the input text and not redact it.
- AllowIpAddress: boolean
-
Set to true to allow IP addresses in the input text and not redact them.
- AllowMacAddress: boolean
-
Set to true to allow MAC addresses in the input text and not redact them.
- AllowHealthInsuranceMemberID: boolean
-
Set to true to allow health insurance member IDs in the input text and not redact them.
- AllowHealthInjuryOrDisease: boolean
-
Set to true to allow references to injuries or diseases in the input text and not redact them.
- AllowHealthTypeOfTreatment: boolean
-
Set to true to allow references to types of medical treatment in the input text and not redact them.
- AllowHealthDateAndTimeOfTreatment: boolean
-
Set to true to allow dates and times of medical treatment in the input text and not redact them.
- AllowHealthPlanBeneficiaryNumber: boolean
-
Set to true to allow health plan beneficiary numbers in the input text and not redact them.
- AllowHealthPaymentsMadeForTreatment: boolean
-
Set to true to allow payments made for medical treatment in the input text and not redact them.
- AllowVehicleID: boolean
-
Set to true to allow vehicle identifiers (e.g. license plates, VINs) in the input text and not redact them.
- AllowDeviceID: boolean
-
Set to true to allow device identifiers (e.g. serial numbers, IMEIs, MAC-level device IDs) in the input text and not redact them.
- AllowNamesOfRelatives: boolean
-
Set to true to allow names of relatives in the input text and not redact them.
- AllowHealthUniversalRecordLocator: boolean
-
Set to true to allow health universal record locators (URLs) in the input text and not redact them.
- AllowBiometrics: boolean
-
Set to true to allow biometric data references (e.g. fingerprints, retinal scans, voiceprints) in the input text and not redact them.
- RedactionMode: string
-
Redaction mode: "Delete" to remove PII entirely, or "ReplaceWithAsterisk" to replace PII characters with asterisks (*).
- ProvideAnalysisRationale: boolean
-
Set to true to include a natural language rationale explaining why each detection conclusion was formed.
- CustomPolicyID: string
-
Apply a Custom Policy for DLP Enforcement by providing the ID; to create a Custom Policy, navigate to the Cloudmersive Management Portal and select Custom Policies. Requires Managed Instance or Private Cloud
Example
{
"InputText": "Hello, world!",
"AllowEmailAddress": false,
"AllowPhoneNumber": false,
"AllowStreetAddress": false,
"AllowPersonName": false,
"AllowBirthDate": false,
"AllowPassportNumber": false,
"AllowDriversLicense": false,
"AllowSocialSecurityNumber": false,
"AllowTaxpayerID": false,
"AllowCreditCardNumber": false,
"AllowCreditCardExpirationDate": false,
"AllowCreditCardVerificationCode": false,
"AllowBankAccountNumber": false,
"AllowIBAN": false,
"AllowHealthInsuranceNumber": false,
"AllowBearerToken": false,
"AllowHttpCookie": false,
"AllowPrivateKeys": false,
"AllowCredentials": false,
"AllowDeepWebUrls": false,
"AllowSourceCode": false,
"AllowIpAddress": false,
"AllowMacAddress": false,
"AllowHealthInsuranceMemberID": false,
"AllowHealthInjuryOrDisease": false,
"AllowHealthTypeOfTreatment": false,
"AllowHealthDateAndTimeOfTreatment": false,
"AllowHealthPlanBeneficiaryNumber": false,
"AllowHealthPaymentsMadeForTreatment": false,
"AllowVehicleID": false,
"AllowDeviceID": false,
"AllowNamesOfRelatives": false,
"AllowHealthUniversalRecordLocator": false,
"AllowBiometrics": false,
"RedactionMode": "ReplaceWithAsterisk",
"ProvideAnalysisRationale": true,
"CustomPolicyID": ""
}
DlpAdvancedRedactionResponse: object
Response object for advanced DLP text redaction with 34 PII detection results, redacted text, and optional rationale.
- RedactedText: string
-
The redacted text with PII removed or replaced, or the original text if no disallowed PII was found.
- CleanResult: boolean
-
True if no disallowed PII or sensitive data types were detected; false if any disallowed type was found and redacted.
- ContainsEmailAddress: boolean
-
True if the input contains email addresses.
- ContainsPhoneNumber: boolean
-
True if the input contains phone numbers.
- ContainsStreetAddress: boolean
-
True if the input contains street addresses.
- ContainsPersonName: boolean
-
True if the input contains person names.
- ContainsBirthDate: boolean
-
True if the input contains birth dates.
- ContainsPassportNumber: boolean
-
True if the input contains passport numbers.
- ContainsDriversLicense: boolean
-
True if the input contains drivers license numbers.
- ContainsSocialSecurityNumber: boolean
-
True if the input contains social security numbers.
- ContainsTaxpayerID: boolean
-
True if the input contains taxpayer IDs.
- ContainsCreditCardNumber: boolean
-
True if the input contains credit card numbers.
- ContainsCreditCardExpirationDate: boolean
-
True if the input contains credit card expiration dates.
- ContainsCreditCardVerificationCode: boolean
-
True if the input contains credit card verification codes.
- ContainsBankAccountNumber: boolean
-
True if the input contains bank account numbers.
- ContainsIBAN: boolean
-
True if the input contains IBANs.
- ContainsHealthInsuranceNumber: boolean
-
True if the input contains health insurance numbers.
- ContainsBearerToken: boolean
-
True if the input contains bearer tokens.
- ContainsHttpCookie: boolean
-
True if the input contains HTTP cookies.
- ContainsPrivateKeys: boolean
-
True if the input contains private keys.
- ContainsCredentials: boolean
-
True if the input contains credentials (usernames/passwords).
- ContainsDeepWebUrls: boolean
-
True if the input contains deep web URLs (.onion).
- ContainsSourceCode: boolean
-
True if the input contains source code.
- ContainsIpAddress: boolean
-
True if the input contains IP addresses.
- ContainsMacAddress: boolean
-
True if the input contains MAC addresses.
- ContainsHealthInsuranceMemberID: boolean
-
True if the input contains health insurance member IDs.
- ContainsHealthInjuryOrDisease: boolean
-
True if the input contains references to injuries or diseases.
- ContainsHealthTypeOfTreatment: boolean
-
True if the input contains references to types of medical treatment.
- ContainsHealthDateAndTimeOfTreatment: boolean
-
True if the input contains dates and times of medical treatment.
- ContainsHealthPlanBeneficiaryNumber: boolean
-
True if the input contains health plan beneficiary numbers.
- ContainsHealthPaymentsMadeForTreatment: boolean
-
True if the input contains payments made for medical treatment.
- ContainsVehicleID: boolean
-
True if the input contains vehicle identifiers (e.g. license plates, VINs).
- ContainsDeviceID: boolean
-
True if the input contains device identifiers (e.g. serial numbers, IMEIs, MAC-level device IDs).
- ContainsNamesOfRelatives: boolean
-
True if the input contains names of relatives.
- ContainsHealthUniversalRecordLocator: boolean
-
True if the input contains health universal record locators (URLs).
- ContainsBiometrics: boolean
-
True if the input contains biometric data references (e.g. fingerprints, retinal scans, voiceprints).
- AnalysisRationale: string
-
Rationale for why the conclusion was formed. Only populated when ProvideAnalysisRationale is set to true in the request.
Example
{
"RedactedText": "string",
"CleanResult": "boolean",
"ContainsEmailAddress": "boolean",
"ContainsPhoneNumber": "boolean",
"ContainsStreetAddress": "boolean",
"ContainsPersonName": "boolean",
"ContainsBirthDate": "boolean",
"ContainsPassportNumber": "boolean",
"ContainsDriversLicense": "boolean",
"ContainsSocialSecurityNumber": "boolean",
"ContainsTaxpayerID": "boolean",
"ContainsCreditCardNumber": "boolean",
"ContainsCreditCardExpirationDate": "boolean",
"ContainsCreditCardVerificationCode": "boolean",
"ContainsBankAccountNumber": "boolean",
"ContainsIBAN": "boolean",
"ContainsHealthInsuranceNumber": "boolean",
"ContainsBearerToken": "boolean",
"ContainsHttpCookie": "boolean",
"ContainsPrivateKeys": "boolean",
"ContainsCredentials": "boolean",
"ContainsDeepWebUrls": "boolean",
"ContainsSourceCode": "boolean",
"ContainsIpAddress": "boolean",
"ContainsMacAddress": "boolean",
"ContainsHealthInsuranceMemberID": "boolean",
"ContainsHealthInjuryOrDisease": "boolean",
"ContainsHealthTypeOfTreatment": "boolean",
"ContainsHealthDateAndTimeOfTreatment": "boolean",
"ContainsHealthPlanBeneficiaryNumber": "boolean",
"ContainsHealthPaymentsMadeForTreatment": "boolean",
"ContainsVehicleID": "boolean",
"ContainsDeviceID": "boolean",
"ContainsNamesOfRelatives": "boolean",
"ContainsHealthUniversalRecordLocator": "boolean",
"ContainsBiometrics": "boolean",
"AnalysisRationale": "string"
}
DlpDetectionRequest: object
Request object for DLP text detection with 23 PII detection types.
- InputText: string
-
Text to scan for PII and sensitive data.
- AllowEmailAddress: boolean
-
Set to true to allow email addresses in the input text and not flag them as PII.
- AllowPhoneNumber: boolean
-
Set to true to allow phone numbers in the input text and not flag them as PII.
- AllowStreetAddress: boolean
-
Set to true to allow street addresses in the input text and not flag them as PII.
- AllowPersonName: boolean
-
Set to true to allow person names in the input text and not flag them as PII.
- AllowBirthDate: boolean
-
Set to true to allow birth dates in the input text and not flag them as PII.
- AllowPassportNumber: boolean
-
Set to true to allow passport numbers in the input text and not flag them as PII.
- AllowDriversLicense: boolean
-
Set to true to allow drivers license numbers in the input text and not flag them as PII.
- AllowSocialSecurityNumber: boolean
-
Set to true to allow social security numbers in the input text and not flag them as PII.
- AllowTaxpayerID: boolean
-
Set to true to allow taxpayer IDs in the input text and not flag them as PII.
- AllowCreditCardNumber: boolean
-
Set to true to allow credit card numbers in the input text and not flag them as PII.
- AllowCreditCardExpirationDate: boolean
-
Set to true to allow credit card expiration dates in the input text and not flag them as PII.
- AllowCreditCardVerificationCode: boolean
-
Set to true to allow credit card verification codes in the input text and not flag them as PII.
- AllowBankAccountNumber: boolean
-
Set to true to allow bank account numbers in the input text and not flag them as PII.
- AllowIBAN: boolean
-
Set to true to allow IBANs in the input text and not flag them as PII.
- AllowHealthInsuranceNumber: boolean
-
Set to true to allow health insurance numbers in the input text and not flag them as PII.
- AllowBearerToken: boolean
-
Set to true to allow bearer tokens in the input text and not flag them as PII.
- AllowHttpCookie: boolean
-
Set to true to allow HTTP cookies in the input text and not flag them as PII.
- AllowPrivateKeys: boolean
-
Set to true to allow private keys in the input text and not flag them as PII.
- AllowCredentials: boolean
-
Set to true to allow credentials (usernames/passwords) in the input text and not flag them as PII.
- AllowDeepWebUrls: boolean
-
Set to true to allow deep web URLs (.onion) in the input text and not flag them as PII.
- AllowSourceCode: boolean
-
Set to true to allow source code in the input text and not flag it as sensitive data.
- AllowIpAddress: boolean
-
Set to true to allow IP addresses in the input text and not flag them as PII.
- AllowMacAddress: boolean
-
Set to true to allow MAC addresses in the input text and not flag them as PII.
Example
{
"InputText": "Hello, world!",
"AllowEmailAddress": false,
"AllowPhoneNumber": false,
"AllowStreetAddress": false,
"AllowPersonName": false,
"AllowBirthDate": false,
"AllowPassportNumber": false,
"AllowDriversLicense": false,
"AllowSocialSecurityNumber": false,
"AllowTaxpayerID": false,
"AllowCreditCardNumber": false,
"AllowCreditCardExpirationDate": false,
"AllowCreditCardVerificationCode": false,
"AllowBankAccountNumber": false,
"AllowIBAN": false,
"AllowHealthInsuranceNumber": false,
"AllowBearerToken": false,
"AllowHttpCookie": false,
"AllowPrivateKeys": false,
"AllowCredentials": false,
"AllowDeepWebUrls": false,
"AllowSourceCode": false,
"AllowIpAddress": false,
"AllowMacAddress": false
}
DlpDetectionResponse: object
Response object for DLP text and document detection with 23 PII detection types.
- CleanResult: boolean
-
True if no disallowed PII or sensitive data types were detected; false if any disallowed type was found.
- ContainsEmailAddress: boolean
-
True if the input contains email addresses.
- ContainsPhoneNumber: boolean
-
True if the input contains phone numbers.
- ContainsStreetAddress: boolean
-
True if the input contains street addresses.
- ContainsPersonName: boolean
-
True if the input contains person names.
- ContainsBirthDate: boolean
-
True if the input contains birth dates.
- ContainsPassportNumber: boolean
-
True if the input contains passport numbers.
- ContainsDriversLicense: boolean
-
True if the input contains drivers license numbers.
- ContainsSocialSecurityNumber: boolean
-
True if the input contains social security numbers.
- ContainsTaxpayerID: boolean
-
True if the input contains taxpayer IDs.
- ContainsCreditCardNumber: boolean
-
True if the input contains credit card numbers.
- ContainsCreditCardExpirationDate: boolean
-
True if the input contains credit card expiration dates.
- ContainsCreditCardVerificationCode: boolean
-
True if the input contains credit card verification codes.
- ContainsBankAccountNumber: boolean
-
True if the input contains bank account numbers.
- ContainsIBAN: boolean
-
True if the input contains IBANs.
- ContainsHealthInsuranceNumber: boolean
-
True if the input contains health insurance numbers.
- ContainsBearerToken: boolean
-
True if the input contains bearer tokens.
- ContainsHttpCookie: boolean
-
True if the input contains HTTP cookies.
- ContainsPrivateKeys: boolean
-
True if the input contains private keys.
- ContainsCredentials: boolean
-
True if the input contains credentials (usernames/passwords).
- ContainsDeepWebUrls: boolean
-
True if the input contains deep web URLs (.onion).
- ContainsSourceCode: boolean
-
True if the input contains source code.
- ContainsIpAddress: boolean
-
True if the input contains IP addresses.
- ContainsMacAddress: boolean
-
True if the input contains MAC addresses.
Example
{
"CleanResult": "boolean",
"ContainsEmailAddress": "boolean",
"ContainsPhoneNumber": "boolean",
"ContainsStreetAddress": "boolean",
"ContainsPersonName": "boolean",
"ContainsBirthDate": "boolean",
"ContainsPassportNumber": "boolean",
"ContainsDriversLicense": "boolean",
"ContainsSocialSecurityNumber": "boolean",
"ContainsTaxpayerID": "boolean",
"ContainsCreditCardNumber": "boolean",
"ContainsCreditCardExpirationDate": "boolean",
"ContainsCreditCardVerificationCode": "boolean",
"ContainsBankAccountNumber": "boolean",
"ContainsIBAN": "boolean",
"ContainsHealthInsuranceNumber": "boolean",
"ContainsBearerToken": "boolean",
"ContainsHttpCookie": "boolean",
"ContainsPrivateKeys": "boolean",
"ContainsCredentials": "boolean",
"ContainsDeepWebUrls": "boolean",
"ContainsSourceCode": "boolean",
"ContainsIpAddress": "boolean",
"ContainsMacAddress": "boolean"
}
DlpDocumentDetectionRequest: object
Request object for DLP document detection with 23 PII detection types.
- InputFile: string (byte)
-
Document file bytes (PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, HTML, EML, MSG, PNG, JPG, or WEBP) to scan for PII and sensitive data.
- FileName: string
-
Optional. Name of the input file including extension, used for format detection. If not provided, format is detected from file contents.
- RecognitionMode: string
-
Optional. Recognition mode for image processing. Options: null (default), "Fast", "FastPlus", "FastMini".
- AllowEmailAddress: boolean
-
Set to true to allow email addresses in the document and not flag them as PII.
- AllowPhoneNumber: boolean
-
Set to true to allow phone numbers in the document and not flag them as PII.
- AllowStreetAddress: boolean
-
Set to true to allow street addresses in the document and not flag them as PII.
- AllowPersonName: boolean
-
Set to true to allow person names in the document and not flag them as PII.
- AllowBirthDate: boolean
-
Set to true to allow birth dates in the document and not flag them as PII.
- AllowPassportNumber: boolean
-
Set to true to allow passport numbers in the document and not flag them as PII.
- AllowDriversLicense: boolean
-
Set to true to allow drivers license numbers in the document and not flag them as PII.
- AllowSocialSecurityNumber: boolean
-
Set to true to allow social security numbers in the document and not flag them as PII.
- AllowTaxpayerID: boolean
-
Set to true to allow taxpayer IDs in the document and not flag them as PII.
- AllowCreditCardNumber: boolean
-
Set to true to allow credit card numbers in the document and not flag them as PII.
- AllowCreditCardExpirationDate: boolean
-
Set to true to allow credit card expiration dates in the document and not flag them as PII.
- AllowCreditCardVerificationCode: boolean
-
Set to true to allow credit card verification codes in the document and not flag them as PII.
- AllowBankAccountNumber: boolean
-
Set to true to allow bank account numbers in the document and not flag them as PII.
- AllowIBAN: boolean
-
Set to true to allow IBANs in the document and not flag them as PII.
- AllowHealthInsuranceNumber: boolean
-
Set to true to allow health insurance numbers in the document and not flag them as PII.
- AllowBearerToken: boolean
-
Set to true to allow bearer tokens in the document and not flag them as PII.
- AllowHttpCookie: boolean
-
Set to true to allow HTTP cookies in the document and not flag them as PII.
- AllowPrivateKeys: boolean
-
Set to true to allow private keys in the document and not flag them as PII.
- AllowCredentials: boolean
-
Set to true to allow credentials (usernames/passwords) in the document and not flag them as PII.
- AllowDeepWebUrls: boolean
-
Set to true to allow deep web URLs (.onion) in the document and not flag them as PII.
- AllowSourceCode: boolean
-
Set to true to allow source code in the document and not flag it as sensitive data.
- AllowIpAddress: boolean
-
Set to true to allow IP addresses in the document and not flag them as PII.
- AllowMacAddress: boolean
-
Set to true to allow MAC addresses in the document and not flag them as PII.
Example
{
"InputFile": "string (byte)",
"FileName": "input.pdf",
"RecognitionMode": "",
"AllowEmailAddress": false,
"AllowPhoneNumber": false,
"AllowStreetAddress": false,
"AllowPersonName": false,
"AllowBirthDate": false,
"AllowPassportNumber": false,
"AllowDriversLicense": false,
"AllowSocialSecurityNumber": false,
"AllowTaxpayerID": false,
"AllowCreditCardNumber": false,
"AllowCreditCardExpirationDate": false,
"AllowCreditCardVerificationCode": false,
"AllowBankAccountNumber": false,
"AllowIBAN": false,
"AllowHealthInsuranceNumber": false,
"AllowBearerToken": false,
"AllowHttpCookie": false,
"AllowPrivateKeys": false,
"AllowCredentials": false,
"AllowDeepWebUrls": false,
"AllowSourceCode": false,
"AllowIpAddress": false,
"AllowMacAddress": false
}
DlpDocumentRedactionRequest: object
Request object for DLP document redaction with 23 PII detection types.
- InputFile: string (byte)
-
Document file bytes (PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, HTML, EML, MSG, PNG, JPG, or WEBP) to scan for PII and redact.
- FileName: string
-
Optional. Name of the input file including extension, used for format detection. If not provided, format is detected from file contents.
- RecognitionMode: string
-
Optional. Recognition mode for image processing. Options: null (default), "Fast", "FastPlus", "FastMini".
- RedactionMode: string
-
Redaction mode for PII regions. Options: "BlackOut" (default) draws black rectangles over PII rows, "Blur" applies Gaussian blur to PII rows, "BlackOutEntirePage" blacks out entire dirty pages, "BlurEntirePage" blurs entire dirty pages.
- AllowEmailAddress: boolean
-
Set to true to allow email addresses in the document and not redact them.
- AllowPhoneNumber: boolean
-
Set to true to allow phone numbers in the document and not redact them.
- AllowStreetAddress: boolean
-
Set to true to allow street addresses in the document and not redact them.
- AllowPersonName: boolean
-
Set to true to allow person names in the document and not redact them.
- AllowBirthDate: boolean
-
Set to true to allow birth dates in the document and not redact them.
- AllowPassportNumber: boolean
-
Set to true to allow passport numbers in the document and not redact them.
- AllowDriversLicense: boolean
-
Set to true to allow drivers license numbers in the document and not redact them.
- AllowSocialSecurityNumber: boolean
-
Set to true to allow social security numbers in the document and not redact them.
- AllowTaxpayerID: boolean
-
Set to true to allow taxpayer IDs in the document and not redact them.
- AllowCreditCardNumber: boolean
-
Set to true to allow credit card numbers in the document and not redact them.
- AllowCreditCardExpirationDate: boolean
-
Set to true to allow credit card expiration dates in the document and not redact them.
- AllowCreditCardVerificationCode: boolean
-
Set to true to allow credit card verification codes in the document and not redact them.
- AllowBankAccountNumber: boolean
-
Set to true to allow bank account numbers in the document and not redact them.
- AllowIBAN: boolean
-
Set to true to allow IBANs in the document and not redact them.
- AllowHealthInsuranceNumber: boolean
-
Set to true to allow health insurance numbers in the document and not redact them.
- AllowBearerToken: boolean
-
Set to true to allow bearer tokens in the document and not redact them.
- AllowHttpCookie: boolean
-
Set to true to allow HTTP cookies in the document and not redact them.
- AllowPrivateKeys: boolean
-
Set to true to allow private keys in the document and not redact them.
- AllowCredentials: boolean
-
Set to true to allow credentials (usernames/passwords) in the document and not redact them.
- AllowDeepWebUrls: boolean
-
Set to true to allow deep web URLs (.onion) in the document and not redact them.
- AllowSourceCode: boolean
-
Set to true to allow source code in the document and not redact it.
- AllowIpAddress: boolean
-
Set to true to allow IP addresses in the document and not redact them.
- AllowMacAddress: boolean
-
Set to true to allow MAC addresses in the document and not redact them.
Example
{
"InputFile": "string (byte)",
"FileName": "input.pdf",
"RecognitionMode": "",
"RedactionMode": "BlackOut",
"AllowEmailAddress": false,
"AllowPhoneNumber": false,
"AllowStreetAddress": false,
"AllowPersonName": false,
"AllowBirthDate": false,
"AllowPassportNumber": false,
"AllowDriversLicense": false,
"AllowSocialSecurityNumber": false,
"AllowTaxpayerID": false,
"AllowCreditCardNumber": false,
"AllowCreditCardExpirationDate": false,
"AllowCreditCardVerificationCode": false,
"AllowBankAccountNumber": false,
"AllowIBAN": false,
"AllowHealthInsuranceNumber": false,
"AllowBearerToken": false,
"AllowHttpCookie": false,
"AllowPrivateKeys": false,
"AllowCredentials": false,
"AllowDeepWebUrls": false,
"AllowSourceCode": false,
"AllowIpAddress": false,
"AllowMacAddress": false
}
DlpDocumentRedactionResponse: object
Response object for DLP document redaction with 23 PII detection results and redacted document.
- RedactedDocument: string (byte)
-
The redacted document as a rasterized PDF with PII regions blurred, or the original file if no disallowed PII was found.
- CleanResult: boolean
-
True if no disallowed PII or sensitive data types were detected; false if any disallowed type was found and redacted.
- ContainsEmailAddress: boolean
-
True if the document contains email addresses.
- ContainsPhoneNumber: boolean
-
True if the document contains phone numbers.
- ContainsStreetAddress: boolean
-
True if the document contains street addresses.
- ContainsPersonName: boolean
-
True if the document contains person names.
- ContainsBirthDate: boolean
-
True if the document contains birth dates.
- ContainsPassportNumber: boolean
-
True if the document contains passport numbers.
- ContainsDriversLicense: boolean
-
True if the document contains drivers license numbers.
- ContainsSocialSecurityNumber: boolean
-
True if the document contains social security numbers.
- ContainsTaxpayerID: boolean
-
True if the document contains taxpayer IDs.
- ContainsCreditCardNumber: boolean
-
True if the document contains credit card numbers.
- ContainsCreditCardExpirationDate: boolean
-
True if the document contains credit card expiration dates.
- ContainsCreditCardVerificationCode: boolean
-
True if the document contains credit card verification codes.
- ContainsBankAccountNumber: boolean
-
True if the document contains bank account numbers.
- ContainsIBAN: boolean
-
True if the document contains IBANs.
- ContainsHealthInsuranceNumber: boolean
-
True if the document contains health insurance numbers.
- ContainsBearerToken: boolean
-
True if the document contains bearer tokens.
- ContainsHttpCookie: boolean
-
True if the document contains HTTP cookies.
- ContainsPrivateKeys: boolean
-
True if the document contains private keys.
- ContainsCredentials: boolean
-
True if the document contains credentials (usernames/passwords).
- ContainsDeepWebUrls: boolean
-
True if the document contains deep web URLs (.onion).
- ContainsSourceCode: boolean
-
True if the document contains source code.
- ContainsIpAddress: boolean
-
True if the document contains IP addresses.
- ContainsMacAddress: boolean
-
True if the document contains MAC addresses.
- PagesRedacted: RedactedPageInfo
-
List of pages that were redacted (had PII regions blurred).
-
RedactedPageInfo
Example
{
"RedactedDocument": "string (byte)",
"CleanResult": "boolean",
"ContainsEmailAddress": "boolean",
"ContainsPhoneNumber": "boolean",
"ContainsStreetAddress": "boolean",
"ContainsPersonName": "boolean",
"ContainsBirthDate": "boolean",
"ContainsPassportNumber": "boolean",
"ContainsDriversLicense": "boolean",
"ContainsSocialSecurityNumber": "boolean",
"ContainsTaxpayerID": "boolean",
"ContainsCreditCardNumber": "boolean",
"ContainsCreditCardExpirationDate": "boolean",
"ContainsCreditCardVerificationCode": "boolean",
"ContainsBankAccountNumber": "boolean",
"ContainsIBAN": "boolean",
"ContainsHealthInsuranceNumber": "boolean",
"ContainsBearerToken": "boolean",
"ContainsHttpCookie": "boolean",
"ContainsPrivateKeys": "boolean",
"ContainsCredentials": "boolean",
"ContainsDeepWebUrls": "boolean",
"ContainsSourceCode": "boolean",
"ContainsIpAddress": "boolean",
"ContainsMacAddress": "boolean",
"PagesRedacted": [
{
"PageNumber": "integer (int32)"
}
]
}
DlpRedactionRequest: object
Request object for DLP text redaction with 23 PII detection types and configurable redaction mode.
- InputText: string
-
Text to scan for PII and redact sensitive data from.
- AllowEmailAddress: boolean
-
Set to true to allow email addresses in the input text and not redact them.
- AllowPhoneNumber: boolean
-
Set to true to allow phone numbers in the input text and not redact them.
- AllowStreetAddress: boolean
-
Set to true to allow street addresses in the input text and not redact them.
- AllowPersonName: boolean
-
Set to true to allow person names in the input text and not redact them.
- AllowBirthDate: boolean
-
Set to true to allow birth dates in the input text and not redact them.
- AllowPassportNumber: boolean
-
Set to true to allow passport numbers in the input text and not redact them.
- AllowDriversLicense: boolean
-
Set to true to allow drivers license numbers in the input text and not redact them.
- AllowSocialSecurityNumber: boolean
-
Set to true to allow social security numbers in the input text and not redact them.
- AllowTaxpayerID: boolean
-
Set to true to allow taxpayer IDs in the input text and not redact them.
- AllowCreditCardNumber: boolean
-
Set to true to allow credit card numbers in the input text and not redact them.
- AllowCreditCardExpirationDate: boolean
-
Set to true to allow credit card expiration dates in the input text and not redact them.
- AllowCreditCardVerificationCode: boolean
-
Set to true to allow credit card verification codes in the input text and not redact them.
- AllowBankAccountNumber: boolean
-
Set to true to allow bank account numbers in the input text and not redact them.
- AllowIBAN: boolean
-
Set to true to allow IBANs in the input text and not redact them.
- AllowHealthInsuranceNumber: boolean
-
Set to true to allow health insurance numbers in the input text and not redact them.
- AllowBearerToken: boolean
-
Set to true to allow bearer tokens in the input text and not redact them.
- AllowHttpCookie: boolean
-
Set to true to allow HTTP cookies in the input text and not redact them.
- AllowPrivateKeys: boolean
-
Set to true to allow private keys in the input text and not redact them.
- AllowCredentials: boolean
-
Set to true to allow credentials (usernames/passwords) in the input text and not redact them.
- AllowDeepWebUrls: boolean
-
Set to true to allow deep web URLs (.onion) in the input text and not redact them.
- AllowSourceCode: boolean
-
Set to true to allow source code in the input text and not redact it.
- AllowIpAddress: boolean
-
Set to true to allow IP addresses in the input text and not redact them.
- AllowMacAddress: boolean
-
Set to true to allow MAC addresses in the input text and not redact them.
- RedactionMode: string
-
Redaction mode: "Delete" to remove PII entirely, or "ReplaceWithAsterisk" to replace PII characters with asterisks (*).
Example
{
"InputText": "Hello, world!",
"AllowEmailAddress": false,
"AllowPhoneNumber": false,
"AllowStreetAddress": false,
"AllowPersonName": false,
"AllowBirthDate": false,
"AllowPassportNumber": false,
"AllowDriversLicense": false,
"AllowSocialSecurityNumber": false,
"AllowTaxpayerID": false,
"AllowCreditCardNumber": false,
"AllowCreditCardExpirationDate": false,
"AllowCreditCardVerificationCode": false,
"AllowBankAccountNumber": false,
"AllowIBAN": false,
"AllowHealthInsuranceNumber": false,
"AllowBearerToken": false,
"AllowHttpCookie": false,
"AllowPrivateKeys": false,
"AllowCredentials": false,
"AllowDeepWebUrls": false,
"AllowSourceCode": false,
"AllowIpAddress": false,
"AllowMacAddress": false,
"RedactionMode": "ReplaceWithAsterisk"
}
DlpRedactionResponse: object
Response object for DLP text redaction with 23 PII detection results and redacted text.
- RedactedText: string
-
The redacted text with PII removed or replaced, or the original text if no disallowed PII was found.
- CleanResult: boolean
-
True if no disallowed PII or sensitive data types were detected; false if any disallowed type was found and redacted.
- ContainsEmailAddress: boolean
-
True if the input contains email addresses.
- ContainsPhoneNumber: boolean
-
True if the input contains phone numbers.
- ContainsStreetAddress: boolean
-
True if the input contains street addresses.
- ContainsPersonName: boolean
-
True if the input contains person names.
- ContainsBirthDate: boolean
-
True if the input contains birth dates.
- ContainsPassportNumber: boolean
-
True if the input contains passport numbers.
- ContainsDriversLicense: boolean
-
True if the input contains drivers license numbers.
- ContainsSocialSecurityNumber: boolean
-
True if the input contains social security numbers.
- ContainsTaxpayerID: boolean
-
True if the input contains taxpayer IDs.
- ContainsCreditCardNumber: boolean
-
True if the input contains credit card numbers.
- ContainsCreditCardExpirationDate: boolean
-
True if the input contains credit card expiration dates.
- ContainsCreditCardVerificationCode: boolean
-
True if the input contains credit card verification codes.
- ContainsBankAccountNumber: boolean
-
True if the input contains bank account numbers.
- ContainsIBAN: boolean
-
True if the input contains IBANs.
- ContainsHealthInsuranceNumber: boolean
-
True if the input contains health insurance numbers.
- ContainsBearerToken: boolean
-
True if the input contains bearer tokens.
- ContainsHttpCookie: boolean
-
True if the input contains HTTP cookies.
- ContainsPrivateKeys: boolean
-
True if the input contains private keys.
- ContainsCredentials: boolean
-
True if the input contains credentials (usernames/passwords).
- ContainsDeepWebUrls: boolean
-
True if the input contains deep web URLs (.onion).
- ContainsSourceCode: boolean
-
True if the input contains source code.
- ContainsIpAddress: boolean
-
True if the input contains IP addresses.
- ContainsMacAddress: boolean
-
True if the input contains MAC addresses.
Example
{
"RedactedText": "string",
"CleanResult": "boolean",
"ContainsEmailAddress": "boolean",
"ContainsPhoneNumber": "boolean",
"ContainsStreetAddress": "boolean",
"ContainsPersonName": "boolean",
"ContainsBirthDate": "boolean",
"ContainsPassportNumber": "boolean",
"ContainsDriversLicense": "boolean",
"ContainsSocialSecurityNumber": "boolean",
"ContainsTaxpayerID": "boolean",
"ContainsCreditCardNumber": "boolean",
"ContainsCreditCardExpirationDate": "boolean",
"ContainsCreditCardVerificationCode": "boolean",
"ContainsBankAccountNumber": "boolean",
"ContainsIBAN": "boolean",
"ContainsHealthInsuranceNumber": "boolean",
"ContainsBearerToken": "boolean",
"ContainsHttpCookie": "boolean",
"ContainsPrivateKeys": "boolean",
"ContainsCredentials": "boolean",
"ContainsDeepWebUrls": "boolean",
"ContainsSourceCode": "boolean",
"ContainsIpAddress": "boolean",
"ContainsMacAddress": "boolean"
}
RedactedPageInfo: object
Information about a redacted page.
- PageNumber: integer (int32)
-
1-based page number that was redacted.
Example
{
"PageNumber": "integer (int32)"
}