> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.deepgram.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.deepgram.com/_mcp/server.

## PHI Redaction Now Available for Batch and Streaming Speech-to-Text

We're excited to announce that PHI (Protected Health Information) redaction is now available for both batch (pre-recorded) and streaming speech-to-text.

`redact=phi`

You can now redact protected health information using the new `phi` parameter, which redacts the following entity types: `condition`, `drug`, `injury`, `blood_type`, `medical_process`, and `statistics`.

**Key features:**
- **Batch support:** Available for all pre-recorded audio transcription
- **Streaming support:** Available for real-time streaming transcription
- **Language support:** Follows existing redaction language support (all languages for hosted batch, English only for streaming)
- **Combine with other redaction options:** Use multiple redaction parameters together (e.g., `redact=phi&redact=pci`)

**Example usage:**
```bash
curl \
  --request POST \
  --header 'Authorization: Token YOUR_DEEPGRAM_API_KEY' \
  --header 'Content-Type: audio/wav' \
  --data-binary @youraudio.wav \
  --url 'https://api.deepgram.com/v1/listen?redact=phi'
```

For detailed information, see our [Redaction documentation](https://developers.deepgram.com/docs/redaction) and [supported entity types](https://developers.deepgram.com/docs/supported-entity-types).