[GH-ISSUE #1911] [FEAT]: Get and remove documents by ID in API #1240

Open
opened 2026-02-22 18:23:53 -05:00 by yindo · 0 comments
Owner

Originally created by @byzheng on GitHub (Jul 21, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1911

What would you like to see?

According to document API, the ending point GET document/{docName} and DELETE system/remove-documents is using doc name as reference.

There are four parts in the document name --.json, for example, raw-example-text-95619db3-750c-4516-b92a-c5f2bfc04a3c.json.

Doc id should be unique for each document and the same as returning values at document, which I can store it to use it later.

Could I suggest to GET and DELETE document ID too? It will be much easier to manage documents through API.

Originally created by @byzheng on GitHub (Jul 21, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1911 ### What would you like to see? According to document API, the ending point `GET` `document/{docName}` and `DELETE` `system/remove-documents` is using doc name as reference. There are four parts in the document name <type>-<filename>-<uuid>.json, for example, `raw-example-text-95619db3-750c-4516-b92a-c5f2bfc04a3c.json`. Doc `id` should be unique for each document and the same as returning values at document, which I can store it to use it later. Could I suggest to `GET` and `DELETE` document ID too? It will be much easier to manage documents through API.
yindo added the enhancementfeature request labels 2026-02-22 18:23:53 -05:00
yindo changed title from [FEAT]: Get and remove documents by ID in API to [GH-ISSUE #1911] [FEAT]: Get and remove documents by ID in API 2026-06-05 14:39:41 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#1240