Run PII detection on uploaded dataset to identify sensitive data exposure
/api/data/upload.upload_id only.column_name (string) - Name of the column containing PIIpii_type (string) - Type of PII detectedseverity (string) - Risk severity levelconfidence (number) - AI confidence score (0-100)match_count (number) - Number of rows with PII matchestotal_rows (number) - Total rows analyzedmasked_samples (array) - Sample values with PII maskeddetection_regex (string) - Regex pattern used for detectionviolation_text (string) - Description of the privacy risksuggestion (string) - Recommended remediation actionemail - Email addressesphone - Phone numbersssn - Social Security Numbersname - Personal namesaddress - Physical addressesdate_of_birth - Birth datescredit_card - Credit card numbersip_address - IP addressespassport - Passport numbersnational_id - National ID numbersbank_account - Bank account numbersother - Other PII typesCRITICAL - SSN, credit card, passport (immediate risk)HIGH - Email, phone, bank account (high risk)MEDIUM - Name, address, date of birth, IP address (moderate risk)Bad Request - Missing or invalid upload_idNot Found - Upload not found or expiredInternal Server Error - Unexpected server errorpii_findings tablescan_id (if provided) and upload_idopen for review workflowpii_detected to false