Open Web UI icon

Open Web UI

OpenWebUI

Actions304

Ollama → copy_model_ollama_api_copy_post

AI-generated

Summary

Send a POST request to the /ollama/api/copy endpoint to copy a model by specifying its source and destination identifiers.

Inputs

  • Skip Authentication — Option to skip authentication for the request; defaults to false, meaning authentication is used.
  • Method (required) — HTTP method to use; for this operation, typically POST.
  • Query Parameters — Optional query parameters; supports 'url_idx' to specify an index parameter in the query string.
  • Media Type (required) — Specifies the media type of the request body; currently supports 'application/json'.
  • Request Body (required) — An object with 'source' and 'destination' string fields indicating the model to copy and the target model name, respectively.

Output shape

a single response object from the API call

The operation returns the API's response to the POST request. Authentication is enabled by default unless 'Skip Authentication' is set to true. The base URL is fixed at 'http://open-webui:8080' but can be overridden by credential configuration.

Links

Discussion