Page:
Data sources model
Pages
Data sources channel
Data sources config_export
Data sources file
Data sources files
Data sources group
Data sources knowledge
Data sources model
Data sources ollama_connection_verify
Data sources openai_connection_verify
Data sources pipeline
Data sources prompt
Data sources skill
Data sources tool
Data sources tool_server
Data sources tool_server_verify
Data sources user
Home
Resources admin_config
Resources audio_config
Resources banners_config
Resources channel
Resources chat_config
Resources code_execution_config
Resources config_import
Resources connections_config
Resources default_user_permissions
Resources evaluation_config
Resources file
Resources function
Resources function_valves
Resources group
Resources group_features
Resources images_config
Resources knowledge
Resources knowledge_file
Resources ldap_config
Resources model
Resources model_settings
Resources models_config
Resources oauth_client
Resources oauth_picture_links
Resources oauth_roles
Resources ollama_connections
Resources openai_connection_models
Resources openai_connections
Resources pipeline
Resources pipeline_valves
Resources prompt
Resources rag_config
Resources rag_embedding_config
Resources skill
Resources subagents_config
Resources suggestions_config
Resources task_config
Resources terminal_server
Resources tool
Resources tool_server
Resources tool_server_access
Resources tool_servers_config
Resources tool_valves
Resources user
Resources videos_config
No results
1
Data sources model
Forgejo Actions edited this page 2026-11-26 06:34:52 +00:00
openwebui_model (Data Source)
Looks up an existing model by its model_id.
Example Usage
data "openwebui_model" "llama" {
model_id = "llama3.2"
}
Schema
Required
model_id(String) Identifier of the model to look up.
Read-Only
base_model_id(String) Identifier of the underlying base model.capabilities(Attributes) Feature capability flags returned by Open WebUI. (see below for nested schema)created_at(Number) Unix timestamp of when the model was created.default_feature_ids(List of String) List of feature IDs enabled by default.description(String) Short description shown alongside the model name.hidden(Boolean) Whether the model is hidden from the model selector list in the UI.id(String) Composite identifier mirroringmodel_id.is_active(Boolean) Whether the model is visible and available to users.knowledge_ids(List of String) List of knowledge base IDs attached to the model. Knowledge entries naming a single file or note are not represented.meta_additional_json(String) Additional metadata JSON as returned by Open WebUI. It holds neitherknowledge, whichknowledge_idsreports, nor the server-derivedchat_variables_schema.name(String) Display name of the model.params(Attributes) Model parameter values returned by Open WebUI. (see below for nested schema)params_additional_json(String) Additional parameters JSON as returned by Open WebUI.profile_image_url(String) URL of the model's profile image.public_read(Boolean) Whether every signed-in user can read the model.public_write(Boolean) Whether every signed-in user can edit the model.read_groups(List of String) Read-access group names.read_users(List of String) Read-access user email addresses.skill_ids(List of String) List of skill IDs attached to the model by default.suggestion_prompts(List of String) List of suggested starter prompts shown when the model is selected.tags(List of String) List of tags for categorising the model.tool_ids(List of String) List of tool IDs attached to the model by default.updated_at(Number) Unix timestamp of when the model was last updated.user_id(String) UUID of the Open WebUI account that owns this object.write_groups(List of String) Write-access group names.write_users(List of String) Write-access user email addresses.
Nested Schema for capabilities
Read-Only:
builtin_tools(Boolean) Whether Open WebUI's built-in tools are offered to the model.citations(Boolean) Whether the model returns citations.code_interpreter(Boolean) Whether code interpreter is available.file_context(Boolean) Whether uploaded files go into the prompt as context.file_upload(Boolean) Whether file uploads are allowed in chat.image_generation(Boolean) Whether image generation is available.memory(Boolean) Whether the model reads and writes user memories.status_updates(Boolean) Whether the model emits status update messages.terminal(Boolean) Whether the model can run terminal commands.usage(Boolean) Whether token usage statistics are returned.vision(Boolean) Whether the model accepts image inputs.web_search(Boolean) Whether web search is available.
Nested Schema for params
Read-Only:
custom_params(Map of String) Additional key/value parameters returned by Open WebUI.format(String) Output format, e.g.json.frequency_penalty(Number) Penalty scaled by token frequency.function_calling(String) Function calling mode, e.g."auto".keep_alive(String) How long to keep the model loaded in memory, e.g."5m".max_tokens(Number) Maximum number of tokens to generate.min_p(Number) Minimum probability threshold for token sampling.mirostat(Number) Mirostat sampling mode: 0 = disabled, 1 = Mirostat, 2 = Mirostat 2.0.mirostat_eta(Number) Mirostat learning rate. It sets how fast the sampler reacts to the generated text.mirostat_tau(Number) Mirostat target entropy. A lower value makes the output more focused.num_batch(Number) Batch size for prompt processing.num_ctx(Number) Context window size in tokens.num_gpu(Number) Number of GPU layers to use.num_keep(Number) Number of tokens to retain from the previous context.num_thread(Number) Number of CPU threads to use for inference.presence_penalty(Number) Penalty for tokens that have appeared at all.reasoning_effort(String) Reasoning effort level for models that support it, e.g."high".reasoning_tags(List of String) List of XML tags used to delimit reasoning tokens.repeat_last_n(Number) Number of tokens to look back for repeat penalty.repeat_penalty(Number) Penalty applied to repeated tokens.seed(Number) Random seed for reproducible outputs.stream_delta_chunk_size(Number) Chunk size in tokens for streaming responses.stream_response(Boolean) Whether to stream the response. Defaults to the base model setting.system(String) System prompt prepended to every conversation.temperature(Number) Sampling temperature, 0 to 2. Lower values are more deterministic.tfs_z(Number) Tail free sampling z parameter.think(Boolean) Whether to enable chain-of-thought reasoning.top_k(Number) Top-k sampling: number of highest-probability tokens to consider.top_p(Number) Nucleus sampling probability threshold.use_mlock(Boolean) Whether to lock model weights in RAM.use_mmap(Boolean) Whether to use memory-mapped files for model weights.
Data sources
- openwebui_channel (Data Source)
- openwebui_config_export (Data Source)
- openwebui_file (Data Source)
- openwebui_files (Data Source)
- openwebui_group (Data Source)
- openwebui_knowledge (Data Source)
- openwebui_model (Data Source)
- openwebui_ollama_connection_verify (Data Source)
- openwebui_openai_connection_verify (Data Source)
- openwebui_pipeline (Data Source)
- openwebui_prompt (Data Source)
- openwebui_skill (Data Source)
- openwebui_tool (Data Source)
- openwebui_tool_server (Data Source)
- openwebui_tool_server_verify (Data Source)
- openwebui_user (Data Source)
Resources
- openwebui_admin_config (Resource)
- openwebui_audio_config (Resource)
- openwebui_banners_config (Resource)
- openwebui_channel (Resource)
- openwebui_chat_config (Resource)
- openwebui_code_execution_config (Resource)
- openwebui_config_import (Resource)
- openwebui_connections_config (Resource)
- openwebui_default_user_permissions (Resource)
- openwebui_evaluation_config (Resource)
- openwebui_file (Resource)
- openwebui_function (Resource)
- openwebui_function_valves (Resource)
- openwebui_group (Resource)
- openwebui_group_features (Resource)
- openwebui_images_config (Resource)
- openwebui_knowledge (Resource)
- openwebui_knowledge_file (Resource)
- openwebui_ldap_config (Resource)
- openwebui_model (Resource)
- openwebui_model_settings (Resource)
- openwebui_models_config (Resource)
- openwebui_oauth_client (Resource)
- openwebui_oauth_picture_links (Resource)
- openwebui_oauth_roles (Resource)
- openwebui_ollama_connections (Resource)
- openwebui_openai_connection_models (Resource)
- openwebui_openai_connections (Resource)
- openwebui_pipeline (Resource)
- openwebui_pipeline_valves (Resource)
- openwebui_prompt (Resource)
- openwebui_rag_config (Resource)
- openwebui_rag_embedding_config (Resource)
- openwebui_skill (Resource)
- openwebui_subagents_config (Resource)
- openwebui_suggestions_config (Resource)
- openwebui_task_config (Resource)
- openwebui_terminal_server (Resource)
- openwebui_tool (Resource)
- openwebui_tool_server (Resource)
- openwebui_tool_server_access (Resource)
- openwebui_tool_servers_config (Resource)
- openwebui_tool_valves (Resource)
- openwebui_user (Resource)
- openwebui_videos_config (Resource)
Published from docs/ (refs/tags/v0.1.0-dev.10, a40bd0a133e7). Edit the source in a pull request; wiki edits are replaced on the next publish.