Deleting all audio files and transcripts
# support
a
HI, I have turned on HIPAA on Vapi which stops Vapi from storing audio files and transcripts but old audio files are still stored on Vapi. How can I delete previous audio files as well as transcripts while keeping the rest of the metadata? (I only want Call -> Transcript to be deleted not the rest of the data).
v
Hi there! 👋 I understand you want to delete previous audio files and transcripts while keeping other metadata intact. While I can't provide specific instructions for selective deletion of only transcript data, I can share what I know about deleting call data in Vapi. Based on the information I found, you can use the DELETE
/call/:id
endpoint to delete call data. According to the [API reference documentation](https://docs.vapi.ai/api-reference/calls/delete), this endpoint is:
Copy code
DELETE https://api.vapi.ai/call/:id
You'll need: - The call
id
as a path parameter - An
Authorization
header with your bearer token However, I should note that there have been some reports of this endpoint potentially performing a "soft delete" rather than completely removing all data. According to a [user discussion](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1337314227857391627), someone experienced issues with call logs still being visible after deletion. Regarding HIPAA compliance, you've already taken the right step by enabling it, which prevents Vapi from storing new call logs, recordings, or transcriptions going forward. As mentioned in the [HIPAA documentation](https://docs.vapi.ai/security-and-privacy/hipaa), enabling the
hipaaEnabled
configuration "guarantees that no call logs, recordings, or transcriptions are stored during or after your calls." Is there anything else you'd like to know about managing your data in Vapi? Sources: - [API reference documentation](https://docs.vapi.ai/api-reference/calls/delete) - [HIPAA documentation](https://docs.vapi.ai/security-and-privacy/hipaa) - [User discussion](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1337314227857391627)
r
Hi @Avesta, I don't think it's possible to just delete the transcripts because there is no endpoints as such which allows you to do it
But maybe if you want to delete all of the calls try using this bash command logic (which is for agents but you can tweak it a bit to delete all of the calls) - https://pastebin.com/3UvXr6ew
v
checking if this is resolved/solved for you?
3 Views