[GH-ISSUE #22881] issue: Can't find api key in settings #35362

Closed
opened 2026-04-25 09:34:54 -05:00 by GiteaMirror · 7 comments
Owner

Originally created by @crimoc-lgtm on GitHub (Mar 20, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22881

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.8.5

Ollama Version (if applicable)

No response

Operating System

Ubuntu 22.04

Browser (if applicable)

Edge 146.0

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

I want to call open-webui in Python to implement the dialogue of the Internet search function, but I cannot find the API Key in the Web settings to achieve my needs.

Actual Behavior

I start Open-WebUI using the following command line

sudo docker run -d \
  --name open-webui \
  --add-host=host.docker.internal:host-gateway \
  -p 3000:8080 \
  -v open-webui:/app/backend/data \
  -e OPENAI_API_BASE_URL="http://host.docker.internal:8000/v1" \
  -e OPENAI_API_KEY="" \
  --restart=always \
  ghcr.io/open-webui/open-webui:main

Then I tried to create an API Key in the settings of Open-WebUI, but could not find it.

Steps to Reproduce

None

Logs & Screenshots

Image

Additional Information

No response

Originally created by @crimoc-lgtm on GitHub (Mar 20, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/22881 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.8.5 ### Ollama Version (if applicable) _No response_ ### Operating System Ubuntu 22.04 ### Browser (if applicable) Edge 146.0 ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior I want to call open-webui in Python to implement the dialogue of the Internet search function, but I cannot find the API Key in the Web settings to achieve my needs. ### Actual Behavior I start Open-WebUI using the following command line ``` sudo docker run -d \ --name open-webui \ --add-host=host.docker.internal:host-gateway \ -p 3000:8080 \ -v open-webui:/app/backend/data \ -e OPENAI_API_BASE_URL="http://host.docker.internal:8000/v1" \ -e OPENAI_API_KEY="" \ --restart=always \ ghcr.io/open-webui/open-webui:main ``` Then I tried to create an `API Key` in the settings of Open-WebUI, but could not find it. ### Steps to Reproduce None ### Logs & Screenshots <img width="446" height="567" alt="Image" src="https://github.com/user-attachments/assets/4c8998a4-90fb-472f-8c90-d072e274965a" /> ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-25 09:34:54 -05:00
Author
Owner

@flefevre commented on GitHub (Mar 20, 2026):

Api kkryis not located in admin panel but in user panel under account menu, just before the about.

<!-- gh-comment-id:4095861619 --> @flefevre commented on GitHub (Mar 20, 2026): Api kkryis not located in admin panel but in user panel under account menu, just before the about.
Author
Owner

@crimoc-lgtm commented on GitHub (Mar 20, 2026):

Api kkryis not located in admin panel but in user panel under account menu, just before the about.

Image

Can you give me your picture?

<!-- gh-comment-id:4095906788 --> @crimoc-lgtm commented on GitHub (Mar 20, 2026): > Api kkryis not located in admin panel but in user panel under account menu, just before the about. <img width="1375" height="778" alt="Image" src="https://github.com/user-attachments/assets/3768696e-1885-4e6b-9861-cf793cefc442" /> Can you give me your picture?
Author
Owner

@ShirasawaSama commented on GitHub (Mar 20, 2026):

Image
<!-- gh-comment-id:4096573913 --> @ShirasawaSama commented on GitHub (Mar 20, 2026): <img width="574" height="786" alt="Image" src="https://github.com/user-attachments/assets/9b3da095-8574-49d4-be71-98b14e927423" />
Author
Owner

@crimoc-lgtm commented on GitHub (Mar 23, 2026):

Image

no, api key

<!-- gh-comment-id:4107454970 --> @crimoc-lgtm commented on GitHub (Mar 23, 2026): > <img alt="Image" width="574" height="786" src="https://private-user-images.githubusercontent.com/17093811/566739806-9b3da095-8574-49d4-be71-98b14e927423.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQyMjk2ODksIm5iZiI6MTc3NDIyOTM4OSwicGF0aCI6Ii8xNzA5MzgxMS81NjY3Mzk4MDYtOWIzZGEwOTUtODU3NC00OWQ0LWJlNzEtOThiMTRlOTI3NDIzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzIzVDAxMjk0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY4YWE2MGQwNjdjNzIzMjI5YmMzNjAwMzA1NjZkOWFiZTllZGVlYTNmM2IyZDUyNzgwOTgwNWVmMDUyYWY4OTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.t-6bb8aPQa04Sb1hxehufgWOdSmeQOmg_rIpibxiZIQ"> no, api key
Author
Owner

@ShirasawaSama commented on GitHub (Mar 23, 2026):

@crimoc-lgtm I'm sorry, I'm not quite sure what your question is. Could you please rephrase it? Which API key are you referring to? Is it the API key for a large language model or for an online search engine?

对不起,我有点没能看懂你的问题是什么,你可以用中文重新描述一下吗?是什么的api-key?是大模型的api-key还是联网搜索引擎的api-key。

<!-- gh-comment-id:4107725465 --> @ShirasawaSama commented on GitHub (Mar 23, 2026): @crimoc-lgtm I'm sorry, I'm not quite sure what your question is. Could you please rephrase it? Which API key are you referring to? Is it the API key for a large language model or for an online search engine? 对不起,我有点没能看懂你的问题是什么,你可以用中文重新描述一下吗?是什么的api-key?是大模型的api-key还是联网搜索引擎的api-key。
Author
Owner

@crimoc-lgtm commented on GitHub (Mar 24, 2026):

@crimoc-lgtm I'm sorry, I'm not quite sure what your question is. Could you please rephrase it? Which API key are you referring to? Is it the API key for a large language model or for an online search engine?

对不起,我有点没能看懂你的问题是什么,你可以用中文重新描述一下吗?是什么的api-key?是大模型的api-key还是联网搜索引擎的api-key。

Open-WebUI的api key,我看到别人的图片长这样

Image

来自:OpenWebUI如何对外提供HTTP接口?

<!-- gh-comment-id:4114809836 --> @crimoc-lgtm commented on GitHub (Mar 24, 2026): > [@crimoc-lgtm](https://github.com/crimoc-lgtm) I'm sorry, I'm not quite sure what your question is. Could you please rephrase it? Which API key are you referring to? Is it the API key for a large language model or for an online search engine? > > 对不起,我有点没能看懂你的问题是什么,你可以用中文重新描述一下吗?是什么的api-key?是大模型的api-key还是联网搜索引擎的api-key。 Open-WebUI的api key,我看到别人的图片长这样 <img width="1080" height="495" alt="Image" src="https://github.com/user-attachments/assets/cec0714c-bb31-41d0-883a-3e4d11c32561" /> 来自:[OpenWebUI如何对外提供HTTP接口?](https://blog.csdn.net/mjjmjc/article/details/146217261)
Author
Owner

@ShirasawaSama commented on GitHub (Mar 26, 2026):

Image

@crimoc-lgtm

<!-- gh-comment-id:4133238353 --> @ShirasawaSama commented on GitHub (Mar 26, 2026): <img width="1898" height="1634" alt="Image" src="https://github.com/user-attachments/assets/cefa82fb-11f8-4acd-b4c6-7d236d22cb34" /> @crimoc-lgtm
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#35362