Open Web UI icon

Open Web UI

OpenWebUI

Actions304

Ollama → create_model_ollama_api_create__url_idx__post

AI-generated

Summary

Send a POST request to the /ollama/api/create/{url_idx} endpoint to create or update a model in the Ollama resource of Open Web UI, specifying path parameter url_idx and JSON body parameters for model, stream, and path.

Inputs

  • url_idx (required) — Integer path parameter identifying the URL index to target in the API endpoint.
  • model — Model information as a string or null to specify the model to create or update.
  • stream — Boolean or null indicating whether to stream the model creation process.
  • path — String or null representing the path related to the model creation.
  • method — HTTP method to use; defaults to POST.
  • skipAuthentication — Flag to skip authentication; defaults to false, requiring Open WebUI Auth.

Output shape

a single HTTP response from the POST /ollama/api/create/{url_idx} endpoint

The response shape depends on the server implementation; no pagination or envelope guarantee is declared. The request requires the url_idx path parameter and a JSON request body matching the CreateModelForm schema with optional model, stream, and path fields.

Links

Discussion