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

openwebui_file (Data Source)

Looks up an uploaded file by its UUID.

Example Usage

data "openwebui_file" "doc" {
  file_id = "3b2d5c7a-1e4f-4b8c-9d0a-6f5e4d3c2b1a"
}

Schema

Required

  • file_id (String) UUID of the file to look up.

Read-Only

  • created_at (Number) Unix timestamp of when the file was uploaded.
  • data_json (String) JSON data blob associated with the file as returned by Open WebUI.
  • filename (String) Original filename as stored by Open WebUI.
  • hash (String) SHA-256 hash of the file content.
  • id (String) UUID of the file. Set after lookup.
  • meta_json (String) JSON metadata blob associated with the file as returned by Open WebUI.
  • updated_at (Number) Unix timestamp of when the file record was last updated.
  • user_id (String) UUID of the Open WebUI account that owns this object.