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

# Shield private pilot

> Mask sensitive audio and transcript spans in a dedicated workspace.

A contact center can give a reviewer a masked recording and the corresponding transcript. Try the [fictional intake recording](https://pyai.com/shield#shield-sample). These API paths belong to the private pilot instance. Hosted pricing is proposed.

| Operation | Result |
| - | - |
| `PUT /v1/shield/policies/{id}` | Publish a versioned mute or beep policy. Each result identifies the policy revision. |
| `POST /v1/shield/redact` | Submit mono PCM16 and aligned words. Receive masked audio, masked text, affected intervals and basic audio quality metrics. |
| `WSS /v1/shield/stream` | Buffer PCM until a timed speech segment is reviewed. A separate sensitive-window mode masks immediately on the application's signal. |
| `GET /v1/shield/vault/{token_id}` | An authorized reviewer can resolve an unexpired token for a selected email, formatted SSN, birth date or medical record number. A successful lookup writes an access record. |
| `PUT /v1/shield/consents` and `POST /v1/shield/gate` | Record consent by purpose, or suppress a number across purposes. Unknown consent blocks the gate. |
| `POST /v1/shield/verify/challenges` and `POST /v1/shield/verify` | Issue a one-use spoken challenge and check the response. A spoof assessment requires a configured classifier. |

The recognizers cover selected patterns and disclosed identifiers. A review can miss sensitive speech. Retain the derivative only where your workflow permits it. A post-call upload leaves any original held by the originating provider in that provider's custody.

For audio without a timed transcript, the operator can enable a specific [Hear project](https://docs.pyai.com/guides/async-transcription-jobs.md) for alignment. This sends the original recording to Hear and its retention terms apply. Incomplete timing stops processing. For a transcript-only implementation, use [Hear redaction](https://docs.pyai.com/guides/stt-redaction.md).

Discuss applicable data handling, authorization and retention before a pilot with patient or payment calls. [Contact PyAI](https://pyai.com/contact?topic=Shield).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.