Guardrails API

Product · API / developer platform · Finance & accounting by AssemblyAI

Compliance-grade safety and privacy controls for voice data.

Safety and privacy controls for voice data, providing PII redaction for text and audio, content moderation, and profanity filtering via a single API request.

Languages
English

Category: Data Privacy

APIs and SDKs
REST API, Python SDK, TypeScript SDK
Platforms
API
Deployment
AssemblyAI Cloud, Self-hosted
Entity Types Detected
50+ types
Redaction Formats
Text and Audio (bleeping)
Integration Method
Single API parameter
  • Detects and redacts 50+ PII entity types
  • Bleeps sensitive information from audio files
  • Automated content moderation and profanity filtering
  • Modular layer enabled via a single API request

Overview

AssemblyAI Guardrails API provides safety, privacy, and compliance controls for organizations processing voice data at scale. It allows businesses to detect and redact personally identifiable information (PII) from both text transcripts and audio files, ensuring sensitive data like names and account numbers are protected. The API also includes automated content moderation and profanity filtering to flag unsafe language before it reaches end users. Designed as a modular layer, Guardrails can be enabled on any transcription request with a single parameter, eliminating the need for custom NLP pipelines. It is used by teams in regulated industries such as finance and healthcare to govern the flow of audio data through their production pipelines.

Safety and Privacy Controls

  • PII Text Redaction: The API identifies and removes sensitive information such as names, addresses, and social security numbers from text transcripts.
  • PII Audio Redaction: The system can automatically bleep out sensitive information from the original audio file based on the redaction settings.
  • Content Moderation: The API detects and flags unsafe or sensitive content across multiple categories to ensure platform safety.
  • Profanity Filtering: Offensive language is filtered out of transcripts automatically before they are delivered to end users.

Developer Integration

  • Single API Request: Developers can enable any combination of Guardrails features on the same transcription request with a single parameter.
  • Modular Intelligence Layer: The API provides unified access to these safety layers without the need to build custom NLP pipelines.
  • Data Governance: The Guardrails API is designed to govern what audio data flows through a production pipeline.

Use cases

  • Financial services redact PII from recorded customer calls to meet compliance requirements without slowing down the business.
  • Healthcare providers use PII redaction across audio and transcripts to protect patient data before it reaches downstream systems.
  • Media companies use content moderation to detect sensitive content and clean up offensive language in audio before publication.
  • Contact centers automate the redaction of account numbers and personal details from call recordings for secure storage.

Specifications

APIs and SDKs
REST API, Python SDK, TypeScript SDK
Platforms
API
Deployment
AssemblyAI Cloud, Self-hosted
Entity Types Detected
50+ types
Redaction Formats
Text and Audio (bleeping)
Integration Method
Single API parameter
Deployment Options
Cloud or Self-hosted

How it works

  1. Send Request: Developers send an audio file or stream to the AssemblyAI API with specific Guardrails parameters enabled in the configuration.
  2. Process with Guardrails: The platform processes the audio through its speech-to-text models while simultaneously applying the requested safety and privacy layers.
  3. Receive Protected Output: The API returns a transcript with PII redacted and content flagged, along with a redacted audio file if requested.

FAQ

How do I add Guardrails to my transcription?

Guardrails can be enabled by adding a single parameter to any transcription request, allowing teams to combine safety features with speech-to-text.

What kind of entities can the PII redaction detect?

The API can detect and redact over 50 different entity types, including names, dates, and account numbers.

Can it redact audio as well as text?

Yes, AssemblyAI offers PII redaction for both the text transcript and the original audio file, where sensitive parts are bleeped out.

What does Content Moderation include?

The Content Moderation feature detects sensitive content and cleans up offensive language automatically before it is shipped to users.

Read the docs

Added by AntSpace from public sources (assemblyai.com).

Related

More products by AssemblyAI