https://retellai.com/?utm_source=discord&utm_medium=seo logo
In the Data Storage Settings I chose "Everything" ...
# ❓・ai-evy-support
t
@AI Evy In the Data Storage Settings I chose "Everything" and in Personal Info Redaction (PII) there are four items to be anonym...because I need the PII sensitive data for the post call analysis I cannot use "Everything except PII". I want to delete these items after the call in the transcript and recording (e.g. Name). How can I do this?
a
Thanks for tagging me @tacitus_16379. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available documentation, there isn't a direct way to selectively remove specific PII items from transcripts and recordings after a call while keeping the "Everything" storage setting [(1) ]() . The PII redaction system in Retell AI works at the agent level and applies the redaction settings during or after the call processing [(1) ]() [(2) ](

▾

) . When you choose "Everything except PII", PII is automatically detected and removed from both call transcripts and recordings, but this happens for all configured PII categories . The available storage options are [(1) ]() : - Everything — store transcripts, recordings, and logs - Everything except PII — store content, excluding PII when possible - Basic Attributes Only — store only metadata (no transcripts/recordings/logs) The PII configuration includes categories like person_name, address, email, phone_number, ssn, passport, driver_license, credit_card, bank_account, password, pin, medical_id, and date_of_birth . However, this is configured at the agent level and applies to all calls made with that agent . For your specific use case where you need PII data for post-call analysis but want to remove it afterward, you would likely need to implement a custom solution using the retrieved call data via the Get Call API [(3) ]() and process the transcripts programmatically to remove specific PII elements after your analysis is complete. Check out these potentially useful sources: [Data Storage Settings - Retell AI]() , [Retell PII Redaction | Remove personal info from audio and transcription](https:
//www.youtube.com/watch?v=QSMG0Z5GA3k) , [Get Call]()
​ To learn more, see the sources I considered: [[1] Data Storage Settings - Retell AI](https://docs.retellai.com/accounts/privacy-disable) [[2] Retell PII Redaction | Remove personal info from audio and transcription](

https://www.youtube.com/watch?v=QSMG0Z5GA3k▾

) [[3] Get Call](https://docs.retellai.com/api-references/get-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
t
@AI Evy What I mean is...when I enable PII data these are hidden in the dashboard but can be visible if enabled in the call history. I now want to delete the PII data after ending the call in the call history via api.
a
Thanks for the follow-up, @tacitus_16379. I'll get back to you soon.
### Answer Based on the available documentation, there isn't a direct API endpoint to selectively delete PII data from call history after a call has ended while preserving the rest of the call data [(1) ]() . The Update Call API allows you to modify certain call properties, but it's limited to updating metadata and data storage settings [(2) ]() . You can update the
data_storage_setting
for a call using:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const callResponse = await client.call.update('call_a4441234567890777c4a4a123e6', {
 data_storage_setting: 'everything_except_pii',
 metadata: { customer_id: 'cust_123', notes: 'Follow-up required' },
}) ;
However, the documentation notes that you "Cannot be downgraded from more restrictive to less restrictive settings" . This means if you initially stored everything with PII, you cannot later change to a more restrictive setting that would remove the already stored PII data. The PII redaction system works by detecting and removing sensitive data categories like person_name, address, email, phone_number, ssn, passport, driver_license, credit_card, bank_account, password, pin, medical_id, and date_of_birth from both transcripts and recordings [(1) ]() . When "Everything except PII" is selected, PII is excluded when possible, and admins/devs can still toggle visibility for audits [(3) ]() . For your specific use case of selectively removing PII data after post-call analysis, you would need to implement a custom solution outside of Retell AI's built-in APIs, as the platform doesn't provide granular PII deletion capabilities for individual calls after they've been stored.
​ To learn more, see the sources I considered: [[1] Data Storage Settings - Retell AI](https://docs.retellai.com/accounts/privacy-disable) [[2] Update Call](https://docs.retellai.com/api-references/update-call) [[3] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.