Open Web UI icon

Open Web UI

OpenWebUI

Actions304

Configs → set_models_config_api_v1_configs_models_post

AI-generated

Summary

Set or update model configuration settings on the Open Web UI server by sending a POST request to the '/api/v1/configs/models' endpoint with specified default models and model order list.

Inputs

  • Skip Authentication — Boolean flag to bypass authentication when true (default is false).
  • Method — HTTP method to use; for this operation POST is used by default.
  • Request Body (required) — Object containing 'Default Models' (string or null) and 'Model Order List' (array of strings or null) to configure models on the server.

Output shape

a single response object containing the server's response to the model configuration update request, typically JSON content.

The operation sends JSON body with required fields DEFAULT_MODELS and MODEL_ORDER_LIST. Authentication is by default required unless skipped. No pagination applies.

Examples

Example 1: Update the default models and model order list on the Open Web UI.

Provide the Default Models string and the Model Order List as an array of strings in the request body. Authentication is used unless skipped, and a POST request is made to '/api/v1/configs/models'.

Links

Discussion