mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #22532] feat: allo audio file deletion via API #58404
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @janl772 on GitHub (Mar 10, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22532
Check Existing Issues
Verify Feature Scope
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
@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