Open Web UI icon

Open Web UI

OpenWebUI

Actions304

Models → update_model_by_id_api_v1_models_model_update_post

AI-generated

Summary

Update an existing model by its ID using a POST request to the /api/v1/models/model/update endpoint, sending the model details as JSON in the request body.

Inputs

  • Id (required) — The unique identifier of the model to update, provided as a query parameter and in the request body.
  • Base Model Id — Optional base model identifier to associate with the updated model.
  • Name (required) — The new or updated name of the model.
  • ModelMeta (required) — An object containing metadata about the model, including optional profile image URL, description, and capabilities.
  • ModelParams (required) — An object for additional parameters for the model.
  • Access Control — Optional access control configuration object for the model.
  • Is Active — Boolean flag indicating whether the model is active; defaults to true.
  • Skip Authentication — Optional flag to bypass authentication for this operation; defaults to false and uses Open WebUI Auth if not skipped.

Output shape

a single record representing the updated model

The operation sends a POST request with a JSON body including id, name, meta, params, optionally base_model_id, access_control, and is_active. The response contains the updated model data. Authentication is required by default unless explicitly skipped.

Links

Discussion