Open Web UI icon

Open Web UI

OpenWebUI

Actions304

Ollama → generate_openai_completion_ollama_v1_completions__url_idx__post

AI-generated

Summary

Send a POST request to the /ollama/v1/completions/{url_idx} endpoint of the Open Web UI API to generate text completions using Ollama with a specified URL index.

Inputs

  • url_idx (required) — The URL index to specify in the API path parameter for the completion request
  • requestBody (required) — The JSON body content containing the parameters for the completion request
  • Skip Authentication — Optionally skip the Open WebUI authentication if set to true; otherwise, authentication with OpenWebUI Auth credential is used

Output shape

a JSON object response from the Open Web UI's /ollama/v1/completions/{url_idx} POST endpoint

The operation sends an HTTP POST request and returns the JSON response from the API. The baseUrl is fixed at http://open-webui:8080 and authentication is enabled by default unless skipped.

Links

Discussion