Open Web UI icon

Open Web UI

OpenWebUI

Actions304

Models → toggle_model_by_id_api_v1_models_model_toggle_post

AI-generated

Summary

Toggle the active state of a model in Open Web UI by providing its ID as a query parameter.

Inputs

  • Id (required) — The unique identifier of the model to toggle active state.
  • Skip Authentication — Whether to skip authentication for this request; defaults to false (authentication enabled).

Output shape

a JSON response from the API indicating the result of the toggle operation

Requires providing the model 'id' as a query parameter. The request is a POST to '/api/v1/models/model/toggle'. Authentication is enabled by default but can be skipped via the boolean parameter.

Links

Discussion