Detect sensitive data in text
detect_sensitive_dataDetect sensitive data in text—such as PII, PHI, PCI, and credentials—without changing it. Returns the data element types found, so you can decide whether the text is safe to send.
Instructions
Detect sensitive data in text without changing it — personal data (PII), health data (PHI), payment and card data (PCI), and credentials such as API keys, cloud access keys, tokens and connection strings. Returns the data element types Strac found. Use this to decide whether text is safe to send onward; use redact_text when you need the sanitised text itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| include_matched_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||