[GH-ISSUE #4578] [DOCS]: use AnythingLLM workspace as openai api endpoint #2913

Closed
opened 2026-02-22 18:31:48 -05:00 by yindo · 1 comment
Owner

Originally created by @catroot on GitHub (Oct 25, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4578

Description

Wanted to use AnythingLLM as an opeai api endpoint as described at http://localhost:3001/api/docs/#/OpenAI%20Compatible%20Endpoints

But unsuccessful - AnythingLLM responses with html on api requests.

My AnythingLLM installation is dockerized.

I would like to create a user inside AnythingLLM, assign some workspaces to them for access by openai api with token and use some openai api client for further inference sessions.

Is that anyway possible?

Originally created by @catroot on GitHub (Oct 25, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4578 ### Description Wanted to use AnythingLLM as an opeai api endpoint as described at http://localhost:3001/api/docs/#/OpenAI%20Compatible%20Endpoints But unsuccessful - AnythingLLM responses with html on api requests. My AnythingLLM installation is dockerized. I would like to create a user inside AnythingLLM, assign some workspaces to them for access by openai api with token and use some openai api client for further inference sessions. Is that anyway possible?
yindo added the documentation label 2026-02-22 18:31:48 -05:00
yindo closed this issue 2026-02-22 18:31:48 -05:00
Author
Owner

@timothycarambat commented on GitHub (Oct 27, 2025):

You are likely using the wrong endpoint since it would only return HTML if you are hitting the wrong URL.

It should be http://localhost:3001/api/v1/openai/xyz
If you are trying to hit http://localhost:3001/api/ that may be why.

@timothycarambat commented on GitHub (Oct 27, 2025): You are likely using the wrong endpoint since it would only return HTML if you are hitting the wrong URL. It should be `http://localhost:3001/api/v1/openai/xyz` If you are trying to hit `http://localhost:3001/api/` that may be why.
yindo changed title from [DOCS]: use AnythingLLM workspace as openai api endpoint to [GH-ISSUE #4578] [DOCS]: use AnythingLLM workspace as openai api endpoint 2026-06-05 14:49:14 -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#2913