July 20, 2023
 min read

Strac Redaction API

Learn how to redact PII and other sensitive data in text, documents and audio

Introducing Strac Redaction API

We are thrilled to announce the launch of our new product – the Strac Redaction API! Here at Strac, we are continually pushing the boundaries of technology to make your data handling more secure, and the Redaction API is the latest step on our journey. Designed for optimal performance and utmost convenience, this API allows you to easily redact sensitive information from text and documents, preserving your and your client's privacy.

Why Does One Need a Redaction API?

How do you safeguard your company and customer's sensitive information in an age where data is power? Simple - by ensuring that private data stays private. From legal documents to customer interactions and social media posts, the need to redact personal information is ever-present. But the task is often time-consuming, labor-intensive, and prone to human error.

Enter the Strac Redaction API - a game-changer. Our API uses advanced machine learning algorithms to identify and redact sensitive information, making the process faster, more efficient, and incredibly accurate. No more sleepless nights over potential data leaks - Strac has covered you.

Redact Text

With the Strac Redaction API, redacting text has never been easier. You can redact sensitive information from a text string with just a simple API call. Whether it's names, addresses, phone numbers, or any other identifiable information, the Redaction API identifies and removes them, giving you clean, anonymized text. For a full catalog of sensitive data elements, please check here: https://www.strac.io/blog/strac-catalog-of-sensitive-data-elements

Below is a curl example on how to redact any text

Redact Text Request

Strac Redact Text Request API

‎Redact Text Response

Strac Redact Text Response API

Redact Document

But we're not stopping at text. The Strac Redaction API also gives you the ability to redact entire documents. PDFs, Word documents, text files - you name it, we redact it. The API scans the document, identifies sensitive data, and redacts it, all while maintaining the document's original format. It's a perfect blend of data security and usability.

Below is the redacted w-2 document

W2 Tax Return Redacted
Strac Redacted Document W2

Here is the curl API to redact document

curl --location --request POST 'https://api.test.tokenidvault.com/redact' \
--header 'X-Api-Key: <your API key>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "document_id": "doc_65T78zexKxbqUz34gbLGiX"

Redact Audio

What if we told you that our Strac Redaction API isn't limited to just text and documents? That's right, the future of audio redaction is here and is built into our API!

Redacting audio files is an intricate task, often demanding meticulous manual effort. Traditional methods like beeps or silences are time-consuming and disruptive to the user experience. With our Redaction API, you can forget about those archaic ways.

Strac's Redaction API allows you to redact sensitive audio file information effectively. Using advanced speech recognition technology and powerful redaction algorithms, our API can identify and mute the sensitive information in your audio data while maintaining the natural flow of conversation. This provides you with a redacted audio file where the sensitive data is obscured, but the listening experience remains as seamless as ever.

Send Redacted Data to LLMs (OpenAI)

But what about machine learning models? How can you use data while respecting privacy concerns? The answer is simple. Once you've redacted text or a document using our Redaction API, you can easily feed the anonymized data to Language Learning Models (LLMs) such as OpenAI's GPT-4 or Meta's Llama 2. The models receive clean, usable data, and you remain compliant with privacy norms.

In the example below, PII data will be redacted, masked or removed (depending on the configuration) by Strac before submitting to LLMs or any third party partner.

Strac Outbound Proxy that will redact sensitive data before submitting to third party partner

Get Started with Strac Redaction API

Strac Redaction API promises data security spanning across text, documents, and audio. Now, no piece of data is too complex or too sensitive to handle. It's the leap towards a secure, efficient, and user-friendly way of data management. Hop on board; let's journey together into the future of data redaction! Book a demo to get API Key and get started.

Founder, Strac. ex-Amazon Payments Infrastructure (Widget, API, Security) Builder for 11 years.

Latest articles

Browse all