[GH-ISSUE #1372] [BUG]: upload endpoint missing in api #872

Closed
opened 2026-02-22 18:21:55 -05:00 by yindo · 3 comments
Owner

Originally created by @vinaypri on GitHub (May 12, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1372

How are you running AnythingLLM?

Not listed

What happened?

When I try to upload a document, browser inspect shows that http://128.199.28.108:3001/api/workspace/workspace-test/upload is not found. I checked the server/endpoints/api/workspace/index.js file and I don't find the upload endpoint defined in it. Am I missing anything?
This is a non docker server installation.

Originally created by @vinaypri on GitHub (May 12, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1372 ### How are you running AnythingLLM? Not listed ### What happened? When I try to upload a document, browser inspect shows that http://128.199.28.108:3001/api/workspace/workspace-test/upload is not found. I checked the server/endpoints/api/workspace/index.js file and I don't find the upload endpoint defined in it. Am I missing anything? This is a non docker server installation.
yindo added the possible bug label 2026-02-22 18:21:55 -05:00
yindo closed this issue 2026-02-22 18:21:55 -05:00
Author
Owner

@timothycarambat commented on GitHub (May 12, 2024):

Uploading is in document, not workspace.
We embed a document into a workspace. You dont upload a document into a workspace

https://github.com/Mintplex-Labs/anything-llm/blob/948ac8a3ddd61919b1f333c544b3b593d6b61343/server/endpoints/api/document/index.js#L24

Also, you can visit http://YOUR_IP_URL:3001/api/docs and see every endpoint and its explaination

@timothycarambat commented on GitHub (May 12, 2024): Uploading is in document, not workspace. We _embed_ a document into a workspace. You dont upload a document into a workspace https://github.com/Mintplex-Labs/anything-llm/blob/948ac8a3ddd61919b1f333c544b3b593d6b61343/server/endpoints/api/document/index.js#L24 Also, you can visit `http://YOUR_IP_URL:3001/api/docs` and see every endpoint and its explaination
Author
Owner

@vinaypri commented on GitHub (May 13, 2024):

But inspect shows that the call is made to workspace/upload when I place a
document in the upload area. Attached screenshot shows it.

On Sun, May 12, 2024 at 11:06 PM Timothy Carambat @.***>
wrote:

Uploading is in document, not workspace.
We embed a document into a workspace. You dont upload a document into a
workspace

https://github.com/Mintplex-Labs/anything-llm/blob/948ac8a3ddd61919b1f333c544b3b593d6b61343/server/endpoints/api/document/index.js#L24

Also, you can visit http://YOUR_IP_URL:3001/api/docs and see every
endpoint and its explaination


Reply to this email directly, view it on GitHub
https://github.com/Mintplex-Labs/anything-llm/issues/1372#issuecomment-2106322759,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APGQJCPUEHJXZA5GAHVKCN3ZB6SB7AVCNFSM6AAAAABHSV5SJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGMZDENZVHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

@vinaypri commented on GitHub (May 13, 2024): But inspect shows that the call is made to workspace/upload when I place a document in the upload area. Attached screenshot shows it. On Sun, May 12, 2024 at 11:06 PM Timothy Carambat ***@***.***> wrote: > Uploading is in document, not workspace. > We *embed* a document into a workspace. You dont upload a document into a > workspace > > > https://github.com/Mintplex-Labs/anything-llm/blob/948ac8a3ddd61919b1f333c544b3b593d6b61343/server/endpoints/api/document/index.js#L24 > > Also, you can visit http://YOUR_IP_URL:3001/api/docs and see every > endpoint and its explaination > > — > Reply to this email directly, view it on GitHub > <https://github.com/Mintplex-Labs/anything-llm/issues/1372#issuecomment-2106322759>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/APGQJCPUEHJXZA5GAHVKCN3ZB6SB7AVCNFSM6AAAAABHSV5SJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGMZDENZVHE> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@vinaypri commented on GitHub (May 13, 2024):

You may ignore my message. It was a settings issue, have sorted it out.
Thanks and sorry to bother.

On Mon, May 13, 2024 at 4:43 PM Vinay Prithiani @.***>
wrote:

But inspect shows that the call is made to workspace/upload when I place a
document in the upload area. Attached screenshot shows it.

On Sun, May 12, 2024 at 11:06 PM Timothy Carambat <
@.***> wrote:

Uploading is in document, not workspace.
We embed a document into a workspace. You dont upload a document into
a workspace

https://github.com/Mintplex-Labs/anything-llm/blob/948ac8a3ddd61919b1f333c544b3b593d6b61343/server/endpoints/api/document/index.js#L24

Also, you can visit http://YOUR_IP_URL:3001/api/docs and see every
endpoint and its explaination


Reply to this email directly, view it on GitHub
https://github.com/Mintplex-Labs/anything-llm/issues/1372#issuecomment-2106322759,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APGQJCPUEHJXZA5GAHVKCN3ZB6SB7AVCNFSM6AAAAABHSV5SJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGMZDENZVHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

@vinaypri commented on GitHub (May 13, 2024): You may ignore my message. It was a settings issue, have sorted it out. Thanks and sorry to bother. On Mon, May 13, 2024 at 4:43 PM Vinay Prithiani ***@***.***> wrote: > But inspect shows that the call is made to workspace/upload when I place a > document in the upload area. Attached screenshot shows it. > > > > On Sun, May 12, 2024 at 11:06 PM Timothy Carambat < > ***@***.***> wrote: > >> Uploading is in document, not workspace. >> We *embed* a document into a workspace. You dont upload a document into >> a workspace >> >> >> https://github.com/Mintplex-Labs/anything-llm/blob/948ac8a3ddd61919b1f333c544b3b593d6b61343/server/endpoints/api/document/index.js#L24 >> >> Also, you can visit http://YOUR_IP_URL:3001/api/docs and see every >> endpoint and its explaination >> >> — >> Reply to this email directly, view it on GitHub >> <https://github.com/Mintplex-Labs/anything-llm/issues/1372#issuecomment-2106322759>, >> or unsubscribe >> <https://github.com/notifications/unsubscribe-auth/APGQJCPUEHJXZA5GAHVKCN3ZB6SB7AVCNFSM6AAAAABHSV5SJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGMZDENZVHE> >> . >> You are receiving this because you authored the thread.Message ID: >> ***@***.***> >> >
yindo changed title from [BUG]: upload endpoint missing in api to [GH-ISSUE #1372] [BUG]: upload endpoint missing in api 2026-06-05 14:37:40 -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#872