1 Data sources knowledge
Forgejo Actions edited this page 2026-11-26 06:34:52 +00:00

openwebui_knowledge (Data Source)

Looks up an existing knowledge base entry by name or ID.

Example Usage

data "openwebui_knowledge" "faq" {
  name = "Support FAQ"
}

Schema

Optional

  • knowledge_id (String) UUID of the knowledge base to look up directly. If omitted, name must be provided.
  • name (String) Name of the knowledge base to look up. Must match exactly (case-insensitive).

Read-Only

  • created_at (String) Creation date in YYYY-MM-DD format.
  • description (String) Description returned by Open WebUI.
  • file_count (Number) Number of files attached to the knowledge base.
  • id (String) UUID of the knowledge base. Set after lookup.
  • public_read (Boolean) Whether every signed-in user can read the knowledge base.
  • public_write (Boolean) Whether every signed-in user can edit the knowledge base.
  • read_groups (List of String) Read-access group names currently applied to this knowledge base.
  • read_users (List of String) Read-access user email addresses currently applied to this knowledge base.
  • updated_at (String) Last-updated date in YYYY-MM-DD format.
  • user_id (String) UUID of the Open WebUI account that owns this object.
  • write_groups (List of String) Write-access group names currently applied to this knowledge base.
  • write_users (List of String) Write-access user email addresses currently applied to this knowledge base.