feat: Public API Endpoint for Deleting Web Search and Image Generation Document Chunks for a Chat #6392

Open
opened 2025-11-11 16:53:38 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @chejohn on GitHub (Sep 12, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

My team has a Python script that performs a deletion of chats, their attached files, and the files' document chunks within the public.document_chunk database in Postgres after 90 days of inactivity. We are unable to delete document chunks generated from web-searches and image generation within a chat since there is no router endpoint for performing this action.

Desired Solution you'd like

We would like the ability to send a request to a router endpoint to delete document chunks within the public.document_chunk database for web searches and image generation that occurred within a chat.

Alternatives Considered

No response

Additional Context

No response

Originally created by @chejohn on GitHub (Sep 12, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description My team has a Python script that performs a deletion of chats, their attached files, and the files' document chunks within the public.document_chunk database in Postgres after 90 days of inactivity. We are unable to delete document chunks generated from web-searches and image generation within a chat since there is no router endpoint for performing this action. ### Desired Solution you'd like We would like the ability to send a request to a router endpoint to delete document chunks within the public.document_chunk database for web searches and image generation that occurred within a chat. ### Alternatives Considered _No response_ ### Additional Context _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#6392