0.05 Credits

AI redaction API for automatic PII detection

Protect privacy and compliance at cloud speed with an AI redaction API that pinpoints and permanently removes sensitive content in PDFs — no regex tuning, no DevOps, and far less guesswork.

Built for API integration

Use a simple API to detect and permanently redact sensitive content in your own platform, or automate AI redaction workflows with tools like Zapier, without building custom AI classification pipelines.

Try it instantly on Zapier

No code? No problem. Connect Nutrient DWS Processor API to your favorite apps with Zapier to automate AI redaction and document privacy workflows.

Simple and transparent pricing

Select a package that suits your needs according to the number of credits you wish to spend. Each AI redaction workflow has a clear credit cost so teams can evaluate privacy and compliance automation before scaling to production.

Used by Lufthansa, Disney, Autodesk, UBS, Dropbox, IBM
Lufthansa
Disney
Autodesk
UBS
Dropbox
IBM

Try it out

This sample showcases smart redaction, instantly spotting and removing sensitive data from your document with AI.


Try it out in three steps

  1. Drop a PDF named document.pdf into your project folder.
  2. Run the code from the same folder.
  3. Open result.pdf to see the output.
curl -X POST https://api.nutrient.io/ai/redact \
-H "Authorization: Bearer your_api_key_here" \
-o result.pdf \
--fail \
-F file1=@document.pdf \
-F data='{
"documents": [
{
"documentId": "file1"
}
],
"criteria": "All personally identifiable information"
}'

Start now

Create an account to access your API key and start with 50 free credits per month

Start building with DWS Processor API in minutes — no payment information required.

Already have an account? Sign in →


Why AI-grade redaction?

Traditional pattern matching can find formats, but it can’t understand meaning.

The AI redaction API detects sensitive data in context — not just matching strings, but real-world entities like names, financial details, medical terminology, and custom domain-specific terms. Every redaction is permanently applied, audit-ready, and compliant with GDPR, HIPAA, and SOC 2 controls.

AI redaction

Personal data

Names, email addresses, phone numbers, national IDs, and other PII

Payment information

Credit cards, bank account numbers, transaction identifiers

Medical terms

PHI, diagnoses, and ICD-coded references

Custom entities

Train models to recognize industry-specific terminology and internal data structures


Redaction in three controlled steps

Choose fully automated removal or human-in-the-loop review. In both cases, sensitive data is permanently removed — not masked, not recoverable.

Scan

Analyze every page for contextual sensitive data using AI entity detection.


Review or auto-apply

Approve findings manually or apply rules programmatically.


Permanently erase

Burn redactions into a PDF, removing underlying content at the object level.

AI redaction API FAQs

What is an AI redaction API?

An AI redaction API detects sensitive content in a document and permanently removes it in a single API call. Nutrient’s AI redaction API is a dedicated endpoint in the DWS Processor API: Send a PDF, and the API finds names, financial details, medical terms, and custom entities in context. It then burns the redactions into the file it returns.

How is AI redaction different from pattern-based redaction?

Pattern-based redaction finds text that matches a format, such as an email address or a card number. AI redaction understands meaning, so it also catches entities with no fixed pattern, like a person’s name inside a paragraph. If your data follows strict patterns, the redaction API with text search and regular expressions may be enough. Use AI redaction when sensitive content has to be found in context.

How much does AI redaction cost?

AI redaction is priced per page, unlike other Processor API tools, which are priced per use. Redacting a file with AI also adds the standard redaction API charge. Credits come from your Processor API plan, and the free tier includes 50 credits per month with watermarked output so you can test on real documents. See Processor API pricing for credit costs and plans.

Which file formats can I redact?

The AI redaction API works on PDF files. To redact Word documents, images, or other formats, convert them to PDF first with the converter API. For scanned documents, pair AI redaction with the OCR API, which adds a searchable text layer.

Can I combine OCR and AI redaction in one request?

Not in a single request. AI redaction runs on its own endpoint, so it takes two calls: Run OCR first, and then send the result to the AI redaction API. Pattern-based redaction works differently. The Processor API chains OCR, text and regex redaction, and watermarking in a single request, so a scanned document can be OCR’d, redacted, and watermarked in one call. The REST API reference lists every action you can chain.

Which programming languages can call the API?

Any language that can make an HTTP request. Nutrient provides quick-start samples for JavaScript, Python, Java, C#, PHP, and curl, plus official TypeScript and Python client libraries and a Postman collection. See the supported languages guide to pick your integration path.

What happens to my documents after they’re processed?

On plans without data retention enabled, uploaded files and results are kept only for as long as the request needs and are deleted within 24 hours. Every request runs over HTTPS on infrastructure that is SOC 2 Type 2 audited. The privacy and security guides cover the details, including plans where retention is enabled.

Security is our top priority

SOC 2 Type 2 audited

Nutrient’s infrastructure is SOC 2 Type 2 audited and GDPR compliant. See our privacy policy and security documentation for details on data handling.

HTTPS encryption

All communication between your application and Nutrient is done via HTTPS to ensure your data is encrypted when it’s sent to us.

Safe payment processing

All payments are handled by Paddle. Nutrient DWS Processor API never has direct access to any of your payment data.

Ready to try it?

Create an account to get your DWS Processor API key and start making API calls.