mirror of
https://github.com/open-webui/docs.git
synced 2026-07-21 10:05:26 -04:00
404 on Instance /docs URL. #48
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @adamoutler on GitHub (Oct 20, 2024).
According to docs.openwebui.com/api, I understand there should be documents at
ai.my.com/docs, but all i see is a 404: Not Found. I'd expect to see documentation on Completion/Chat/Search APIs but I am not able to access it withghcr.io/open-webui/open-webui:mainas the instance.@TheRealPSV commented on GitHub (Oct 30, 2024):
This looks like the repo for the site docs, not the OpenAPI docs, so I think this issue should actually be posted over here in the main repo: https://github.com/open-webui/open-webui/issues
To answer your question though, it looks like the code is set up so you can't view the root
/docswithout a dev environment variable set up: https://github.com/open-webui/open-webui/blob/09935d191f34a35d81cc0fbd58b035e6e5068efc/backend/open_webui/main.py#L185Since it looks like you're using a docker image, just pass the env var
ENV=devand it should work, although I don't know if this will have other unintended consequences.@adamoutler commented on GitHub (Oct 30, 2024):
The docs say the API should be in the code without qualifications. Also the code provides all the other documentation endpoints by default. I don't see anything suggesting this is a documentation error. If there is a change in progress, it's an incomplete code and documentation issue. Otherwise it's a code issue.
@tjbck commented on GitHub (Nov 6, 2024):
ENVshould be set todevhere to access the api documentations!@adamoutler commented on GitHub (Nov 6, 2024):
Yes. That is the problem.
@stephenjoly commented on GitHub (Mar 10, 2025):
I have no idea what im doing wrong but it seems like that doesnt do it for me. I tried to recreate the container. am i doing something wrong.
services:
openwebui:
container_name: openwebui
image: ghcr.io/open-webui/open-webui:main
restart: unless-stopped
environment:
- ENV=dev
- WEBUI_URL="https://genai.stephenjoly.net"
ports:
- "3000:8080"
volumes:
- ./appdata:/app/backend/data
I feel like ive tried everything and there's nothing left to try. hence my comment.
@silentoplayz commented on GitHub (Nov 10, 2025):
https://docs.openwebui.com/getting-started/api-endpoints#swagger-documentation-links