From cf11735a2befe377963f1e9bd4b909b62c2901dd Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 13 Nov 2026 13:36:10 -0800 Subject: [PATCH] Update the api docs --- docs/api.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/api.md b/docs/api.md index 8a440545ff..cf010e2f95 100644 --- a/docs/api.md +++ b/docs/api.md @@ -288,6 +288,12 @@ The API supports various bulk-editing operations which are executed asynchronous For bulk operations on documents, use the endpoint `/api/documents/bulk_edit/` which accepts a json payload of the format: +Document bulk operations, including the dedicated document action endpoints, return +`{"result":"OK","task_id":"…"}` when queued. Use `/api/tasks/?task_id={uuid}` +to check the task outcome. Actions that create or reprocess files may start further +consumption or reprocessing tasks and completion of the bulk task means those tasks +were scheduled, not that their file processing has finished. + ```json { "documents": [LIST_OF_DOCUMENT_IDS],