[GH-ISSUE #22532] feat: allo audio file deletion via API #35267

Closed
opened 2026-04-25 09:29:47 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @janl772 on GitHub (Mar 10, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22532

Check Existing Issues

  • I have searched for all existing open AND closed issues and discussions for similar requests. I have found none that is comparable to my request.

Verify Feature Scope

  • I have read through and understood the scope definition for feature requests in the Issues section. I believe my feature request meets the definition and belongs in the Issues section instead of the Discussions.

Problem Description

Audio files from dictations / speech input are stored in the container under a defined path, e.g. data/cache/audio/transcriptions/.
These files are not required for longer than the time of the chat and should be cleaned up regularly. Especially if considered biometric data and hence viewed cautiously from data protection side.

I wish there was an API endpoint for cleaning up this data on a regular basis.

Desired Solution you'd like

GET API Endpoint for audio files, listing audio files and transcriptions along with creation_date.
DELETE API Endpoint for audio files and transcriptions.

Alternatives Considered

An environment variable that enables automatic cleanup of these files after certain time period.

Additional Context

No response

Originally created by @janl772 on GitHub (Mar 10, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/22532 ### Check Existing Issues - [x] I have searched for all existing **open AND closed** issues and discussions for similar requests. I have found none that is comparable to my request. ### Verify Feature Scope - [x] I have read through and understood the scope definition for feature requests in the Issues section. I believe my feature request meets the definition and belongs in the Issues section instead of the Discussions. ### Problem Description Audio files from dictations / speech input are stored in the container under a defined path, e.g. data/cache/audio/transcriptions/. These files are not required for longer than the time of the chat and should be cleaned up regularly. Especially if considered biometric data and hence viewed cautiously from data protection side. I wish there was an API endpoint for cleaning up this data on a regular basis. ### Desired Solution you'd like GET API Endpoint for audio files, listing audio files and transcriptions along with creation_date. DELETE API Endpoint for audio files and transcriptions. ### Alternatives Considered An environment variable that enables automatic cleanup of these files after certain time period. ### Additional Context _No response_
Author
Owner

@Classic298 commented on GitHub (Mar 10, 2026):

Duplicate issue, proposed soluton for now: https://github.com/Classic298/prune-open-webui

native audio deletion endpoint not planned for now, need discussion

<!-- gh-comment-id:4032184615 --> @Classic298 commented on GitHub (Mar 10, 2026): Duplicate issue, proposed soluton for now: https://github.com/Classic298/prune-open-webui native audio deletion endpoint not planned for now, need discussion
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#35267