Skip to content
REST API

Real-time detection and protection for every request path

The FastPII API gives developers a single JSON surface for sensitive data detection, protection, validation, and detector discovery across live and batch workflows.

Live and batch friendly

Use the same endpoint family for synchronous prompts, queued records, validation steps, and detector discovery in build-time tooling.

Endpoints

A compact API surface with the core operations exposed

FastPII keeps the request model simple so teams can compose detection and protection without learning separate service contracts for each stage.

/api/v1/detect

/api/v1/protect

/api/v1/validate

/api/v1/detectors

Operations

Detection, confidence scoring, and batch processing in one flow

The API can return matches with confidence data, feed protection decisions, and scale from one prompt to large review queues using the same primitives.

Confidence-led decisions

Surface confidence with detections so workflows can decide whether to redact immediately, warn, or route to review.

Batch processing

Process repeated jobs with the same API patterns used for interactive prompts and customer-facing applications.

Detector discovery

List available detectors when you need to expose coverage in admin tooling, configuration screens, or integration checks.

cURL example
curl https://api.fastpii.com/api/v1/protect \
  -H "Authorization: Bearer $FASTPII_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "SIREN 823456789 in customer enquiry",
    "mode": "redact",
    "include_confidence": true
  }'
Integrate the API

Use one request model across detection and protection flows

The FastPII API fits best when you want managed access, clear JSON contracts, and straightforward handoff between engineering and security teams.