[GH-ISSUE #20895] Web Search in API requests #139052

Closed
opened 2026-05-25 12:13:34 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @PubliusCicero on GitHub (Jan 23, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20895

I am unable to figure out how to get the Web Search feature to run via the Web UI API endpoint. I tried this answer from a discussion:

This query works for me
data = { "model": "gemma3:12b", "messages": [ {"role": "user", "content": "What is it like in London now?"} ], "stream": False, "features": {"web_search": True}, }

Originally posted by @StasKrutoi in https://github.com/open-webui/open-webui/discussions/14125#discussioncomment-14414702

But it does not work. I have also tried creating a new model in Workspace and adding the Web Search feature as a default.
I have tried various ways to adjust the api request as well.

Is this something that is actually supported in the API documentation, and if so, where is the documentation for it?

If it is not officially in the API, then it would be a great feature to add to the API.

Originally created by @PubliusCicero on GitHub (Jan 23, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/20895 I am unable to figure out how to get the Web Search feature to run via the Web UI API endpoint. I tried this answer from a discussion: This query works for me `` data = { "model": "gemma3:12b", "messages": [ {"role": "user", "content": "What is it like in London now?"} ], "stream": False, "features": {"web_search": True}, } `` _Originally posted by @StasKrutoi in https://github.com/open-webui/open-webui/discussions/14125#discussioncomment-14414702_ But it does not work. I have also tried creating a new model in Workspace and adding the Web Search feature as a default. I have tried various ways to adjust the api request as well. Is this something that is actually supported in the API documentation, and if so, where is the documentation for it? If it is not officially in the API, then it would be a great feature to add to the API.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#139052