> ## Documentation Index
> Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Redaction

> Automatically redact PII such as numbers, names, and SSNs from Telnyx streaming transcription results using Deepgram redaction parameters.

<Info>**Deepgram only.** Other engines ignore this parameter.</Info>

Replaces sensitive data in transcripts with placeholder text.

```
wss://api.telnyx.com/v2/speech-to-text/transcription?redact=pci
```

## Values

| Value     | Redacts                 |
| --------- | ----------------------- |
| `pci`     | Credit card numbers     |
| `ssn`     | Social Security numbers |
| `numbers` | All 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.

```json theme={null}
{"transcript": "My card number is [REDACTED]", "is_final": true}
```

<Note>Redaction applies to final and interim results. There is no way to get the un-redacted version once redaction is enabled for a session.</Note>
