What is Detection?
Detection is a read-only analysis method that identifies sensitive data in text without transforming it. The original text is not modified — you only receive a list of detected entities with their types, positions, and confidence scores. Example:How It Works
- Detection: Blindfold identifies sensitive entities in your text
- Report: Returns entity types, positions, confidence scores, and matched text
- No transformation: The original text is not modified, masked, or returned
When to Use Detection
Detection is ideal when you need to:1. Data Loss Prevention (DLP)
Monitor what sensitive data flows through your AI agents or applications.- Know what PII is flowing through your systems
- Enforce data handling policies automatically
- Create audit trails for compliance
2. Compliance Monitoring
Continuously scan data streams to detect policy violations.3. Data Auditing
Understand what PII exists in your datasets before processing.4. Pre-Processing Checks
Decide which privacy method to apply based on what’s detected.When NOT to Use Detection
Detection is not suitable when:1. You Need to Transform the Text
If you need to remove, mask, or replace PII, use the appropriate method directly.2. You Already Know You Want a Specific Method
If you know you want tokenization or redaction, call that method directly — it already returns detected entities in its response.Key Features
Read-Only
Text is analyzed but never modified
Lightweight
No transformation overhead — fastest method
Policy Support
Use GDPR, HIPAA, PCI DSS, or custom policies
60+ Entity Types
Detects all supported PII types
Quick Start
- Python
- JavaScript
- cURL
Configuration Options
Filter Specific Entity Types
Only detect specific types of sensitive data:Adjust Confidence Threshold
Control detection sensitivity:Common Patterns
DLP Agent Gate
Block sensitive data from reaching AI models:Compliance Dashboard
Aggregate PII detection across your application:Learn More
Python SDK
Full Python SDK documentation
JavaScript SDK
Complete JavaScript guide
REST API
HTTP API reference for /detect
Examples
Practical integration examples