What is PII Redaction?
PII redaction automatically detects and removes sensitive information from both transcripts and audio recordings. This ensures compliance with privacy and security requirements while maintaining the overall context of conversations. This page covers server-side redaction: you send the call to Cekura withredact_fields, and Cekura detects and removes the entities from the stored transcript and recording. It is the option to use for audio, and for open-vocabulary entities such as names and locations that need model-based detection.
If raw PII must never leave your network, or your organization requires that its own model providers do the detection, see Client-Side Redaction — a script that detects and removes PII from both the transcript and the recording, using your own LLM and speech-to-text providers, before anything is sent. It also covers
metadata, dynamic_variables and customer_number, which redact_fields does not reach. The two approaches can be combined.Example
Original:How It Works
- Transcript Redaction
- Audio Redaction
We identify the entities to be redacted from the call using state of the art models. We then replace the text with relevant placeholders.Example tokens:
<PERSON>- Person names<LOCATION>- Geographic locations<EMAIL>- Email addresses<PHONE>- Phone numbers<SSN>- Social Security Numbers<CREDIT_CARD>- Credit card numbers
Using Redaction
Redaction can be configured at two levels:- Agent-Level (Default)
- Per-Call Override
Configure To disable agent-level redaction, set the field to an empty array:
redact_fields on your agent via the agent API. Once set, redaction applies automatically to every call ingested for that agent — including auto-imported and webhook calls — without any per-call parameters.Set redact_fields inside the provider block when creating or updating an agent:When
redact_fields is omitted from a per-call request, the agent’s configured redaction fields apply. If the agent has no redaction fields configured either, no redaction occurs.redact_fields applies to transcript_json and the audio recording. Values in metadata, dynamic_variables and customer_number are stored exactly as you send them — scrub those before sending.
Available Fields
person_name- Person namesage- Age informationphone_number- Phone numbersemail_address- Email addressesdate- Specific datestime- Time informationlocation- Physical locations and addressesorigin- Origin informationgender_sexuality- Gender and sexuality informationphysical_attribute- Physical descriptionsoccupation- Occupation detailsusername- Usernamespassword- Passwordsip_address- IP addressesurl- URLsfilename- File namesevent- Event informationvehicle_id- Vehicle identification numbersdob- Date of birthhealthcare_number- Healthcare identification numbersmedical_professional- Medical professional informationcredit_card- Credit card numbersaccount_number- General account numbersbank_account- Bank account numbersmoney- Financial amountsssn- Social Security Numberspassport_number- Passport numbersdriver_license- Driver’s license numbersnumerical_pii- Other numerical PII
Pricing
Redacting any fields costs 0.1 credits per minute by default, regardless of how many fields are selected.