[GH-ISSUE #1156] [BUG]: desktop v1.4.4 /v1/workspace/{slug}/update-embeddings dosen't work #710

Closed
opened 2026-02-22 18:20:56 -05:00 by yindo · 2 comments
Owner

Originally created by @themoneyevo on GitHub (Apr 20, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1156

How are you running AnythingLLM?

Docker (local)

What happened?

I use /v1/document/upload api to upload a file. I can see it successful both from the front view and the /v1/documents api.
But, use /v1/workspace/llama3/update-embeddings it return

{
  "workspace": null
}

I can use /v1/workspace/llama3 to get the workspace infomation correctly.

Are there known steps to reproduce?

No response

Originally created by @themoneyevo on GitHub (Apr 20, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1156 ### How are you running AnythingLLM? Docker (local) ### What happened? I use /v1/document/upload api to upload a file. I can see it successful both from the front view and the /v1/documents api. But, use /v1/workspace/llama3/update-embeddings it return ``` { "workspace": null } ``` I can use /v1/workspace/llama3 to get the workspace infomation correctly. ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:20:56 -05:00
yindo closed this issue 2026-02-22 18:20:57 -05:00
Author
Owner

@timothycarambat commented on GitHub (Apr 21, 2024):

Good catch, patched and will be in next desktop version.

@timothycarambat commented on GitHub (Apr 21, 2024): Good catch, patched and will be in next desktop version.
Author
Owner

@AvaxAPS commented on GitHub (Jun 18, 2025):

Hi! v1.8.1-r2 upload a file by API, works good.
/system/local-files works, shows to me all my files.

But, use /workspace/:slug/update-embeddings dont work.

name of my workspace - "MySpc"
I tried POST /workspace/MySpc/update-embeddings, /workspace/:MySpc/update-embeddings,

{
"adds": ["custom-documents/infollm2.txt-663067b9-fe35-4f43-9855-d65d9b39aac1.json"],
"deletes": []
}

and I get "400 Bad Request" in all cases.
what am I doing wrong?

@AvaxAPS commented on GitHub (Jun 18, 2025): Hi! v1.8.1-r2 upload a file by API, works good. /system/local-files works, shows to me all my files. But, use /workspace/:slug/update-embeddings dont work. name of my workspace - "MySpc" I tried POST /workspace/MySpc/update-embeddings, /workspace/:MySpc/update-embeddings, { "adds": ["custom-documents/infollm2.txt-663067b9-fe35-4f43-9855-d65d9b39aac1.json"], "deletes": [] } and I get "400 Bad Request" in all cases. what am I doing wrong?
yindo changed title from [BUG]: desktop v1.4.4 /v1/workspace/{slug}/update-embeddings dosen't work to [GH-ISSUE #1156] [BUG]: desktop v1.4.4 /v1/workspace/{slug}/update-embeddings dosen't work 2026-06-05 14:36:47 -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#710