The problem
Your voice agent takes payments, and you keep the recording
Voice agents now take card payments, book appointments and verify identities. Teams keep the recordings to debug the bot, train it and settle disputes, and every one holds whatever the caller said. Holding a long call in memory and uploading it at the end is fragile. Chunked upload sends the audio as the call goes, and redaction runs on the whole recording once the call ends.
What you get
Voice agent redaction in SecurePass
- Create an item, PUT raw audio chunks during the call, and finalize when it ends.
- Formats: mulaw, pcm16, wav or opus, at your sample rate, with one or two channels.
- Up to 5 MB per chunk, and re-sending the same chunk is safe.
- Finalize reports any missing chunks, then redaction runs on the full recording.
- Pipecat and LiveKit integrations do the upload for you, with the caller and the bot on separate channels.
- Upload problems never break the call.
- SecurePass redacts after the call. It does not redact live audio.
How to use it
Step by step
Create the item
POST /clients/call-redaction/items with format, sampleRateHz and channels. Add language if you know it.
Upload chunks
PUT /items/{itemId}/chunks/{seq}?channel=0 with raw audio bytes as the call runs.
Finalize
POST /items/{itemId}/finalize. A missing chunk returns 422 with the missing sequence numbers; otherwise it answers QUEUED.
Get the result
GET /items/{itemId} until it is finished, or use a webhook.
Chunked upload from a voice agent
ITEM=$(curl -s -X POST https://api.autessa.com/clients/call-redaction/items \
-H "Authorization: $AUTESSA_API_KEY" -H "Content-Type: application/json" \
-d '{"format":"mulaw","sampleRateHz":8000,"channels":2,"redact":["CARD_NUMBER","CARD_CVV"]}' | jq -r .itemId)
curl -X PUT "https://api.autessa.com/clients/call-redaction/items/$ITEM/chunks/0?channel=0" \
-H "Authorization: $AUTESSA_API_KEY" -H "Content-Type: application/octet-stream" \
--data-binary @caller-0000.ulaw
curl -X POST "https://api.autessa.com/clients/call-redaction/items/$ITEM/finalize" \
-H "Authorization: $AUTESSA_API_KEY" -H "Content-Type: application/json" -d '{}'Chunked upload options
| Option | What it does |
|---|---|
format | mulaw, pcm16, wav or opus. |
sampleRateHz | The audio’s sample rate, such as 8000. |
channels | 1 or 2. Two channels for mulaw and pcm16, one chunk stream per channel. |
language | en, es or auto. |
totalChunks | On finalize, a whole number or per channel, such as {"0": 12, "1": 0}. |
Pipecat | AutessaRedactionProcessor in pipecat-autessa-redact, placed after transport.output(). |
LiveKit | AutessaRecorder in livekit-plugins-autessa: attach to the session, finish on shutdown. |
Why it is better
How SecurePass compares on voice agent redaction
Made for voice frameworks
SecurePass ships Pipecat and LiveKit integrations (in preview) that record both sides and redact the full call when it ends. General redaction APIs leave the recording and upload to you.
Two-channel by design
The caller and the bot are recorded on separate channels. SecurePass protected 97.0% of sensitive values on two-channel calls in its benchmark, against 91.3% for Deepgram and 89.6% for AssemblyAI.
Every type in Spanish
Voice agents serve Spanish speakers too. Deepgram documents its entity redaction as English-only; SecurePass protected 96.6% on Spanish calls.
Show the benchmark results
| SecurePass | Deepgram | AssemblyAI | AWS Transcribe | |
|---|---|---|---|---|
| Sensitive values protected | 97.2% | 91.6% | 88.8% | 71.9% |
| English calls | 97.8% | 88.8% | 89.6% | 73.9% |
| Spanish calls | 96.6% | 94.2% | 88.1% | 70.2% |
| Payment data (cards, bank, PIN) | 100.0% | 88.8% | 83.3% | 90.5% |
| Personal IDs (SSN, DOB, address…) | 96.6% | 94.7% | 94.9% | 83.5% |
| Health IDs (PHI) | 97.2% | 94.4% | 91.4% | 27.4% |
| Typical calls | 97.5% | 93.4% | 92.2% | 71.4% |
| Hard calls | 96.8% | 88.7% | 83.4% | 72.8% |
| Two-channel calls | 97.0% | 91.3% | 89.6% | 71.2% |
| Single-channel calls | 98.3% | 93.7% | 83.6% | 77.0% |
| Payment values recoverable (of 1,077) | 0 | 121 | 180 | 102 |
| F1, protection and tightness (fast mode) | 83.5 | 59.4 | 60.1 | 74.1 |
Works with
Related capabilities
FAQ
Questions about voice agent redaction
What is voice agent call redaction?
Voice agent redaction removes the card numbers, IDs and health data a voice AI agent collects from the recording you keep, and SecurePass does it after the call from audio the agent uploads in chunks.
How do I redact recordings from a Pipecat or LiveKit voice agent?
Use the SecurePass integration for your framework: it uploads the call audio in chunks during the call and finalizes at the end, and SecurePass redacts the full recording.
Does SecurePass redact audio live during the call?
No, SecurePass redacts the full recording after the call, and the chunks only carry the upload.
Which audio formats can a voice agent upload to SecurePass?
SecurePass takes mulaw, pcm16, wav or opus chunks at your sample rate, with one or two channels, up to 5 MB per chunk.
What if a voice agent chunk is lost?
SecurePass’s finalize returns 422 with the missing sequence numbers; re-send them, since re-sending a chunk is safe, and finalize again.
What happens to a SecurePass upload that is never finalized?
After 72 hours with no chunk and no finalize, SecurePass deletes the item and marks it EXPIRED.
Will an upload problem break my voice agent’s call?
No, SecurePass’s voice agent integrations are built so upload problems never break the call.
Are the SecurePass Pipecat and LiveKit integrations available?
The SecurePass Pipecat and LiveKit integrations are in private preview, and the HTTP chunked upload API works today.
Can SecurePass redact a voice agent that serves Spanish speakers?
Yes, SecurePass redacts every type in Spanish and protected 96.6% of sensitive values on Spanish calls in its public benchmark, in thorough mode. Set language to es, or leave it on auto.