Skip to main content
Deepgram only. Other engines ignore this parameter.
Replaces sensitive data in transcripts with placeholder text.
wss://api.telnyx.com/v2/speech-to-text/transcription?redact=pci

Values

ValueRedacts
pciCredit card numbers
ssnSocial Security numbers
numbersAll numeric sequences
Multiple values can be passed as comma-separated:
?redact=pci,ssn

Output

Redacted content is replaced in the transcript text. The exact replacement format depends on the Deepgram model.
{"transcript": "My card number is [REDACTED]", "is_final": true}
Redaction applies to final and interim results. There is no way to get the un-redacted version once redaction is enabled for a session.