Open Web UI icon

Open Web UI

OpenWebUI

Actions304

Ollama → generate_openai_completion_ollama_v1_completions_post

AI-generated

Summary

Send a POST request to the /ollama/v1/completions endpoint of the Open Web UI API to generate text completions using the Ollama resource.

Inputs

  • Skip Authentication — Boolean flag to skip using stored authentication credentials.
  • Query Parameters — Optional query parameters for the request, including 'url_idx' to specify an index.
  • Request Body (required) — JSON object containing the data for the completion request to be sent in the POST body.

Output shape

a single JSON object representing the response from the Open Web UI completion endpoint

The request body must be a valid JSON object as required by the /ollama/v1/completions endpoint. Authentication is required by default unless skipped. Query parameters are optional and currently only 'url_idx' is available.

Links

Discussion