Skip to main content

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

  1. Detection: Blindfold identifies sensitive entities in your text
  2. Report: Returns entity types, positions, confidence scores, and matched text
  3. 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.
Why this matters:
  • 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

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

Java SDK

Sync and async Java client

REST API

HTTP API reference for /detect

Examples

Practical integration examples

Compare with Other Methods

Tokenization

Reversible replacement (restore later)

Redaction

Permanent removal of PII

Masking

Partial visibility for users

Hashing

Consistent identifiers for tracking