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

openwebui_user (Data Source)

Looks up an Open WebUI user by email, username, or UUID.

Example Usage

data "openwebui_user" "admin" {
  query = "admin@example.com"
}

Schema

Optional

  • query (String) Email address or username to search for.
  • user_id (String) UUID of the user to look up directly. Use this or query, not both.

Read-Only

  • bio (String) Profile text the user wrote about themselves. Null when the account has none.
  • created_at (Number) Unix timestamp of when the user account was created.
  • email (String) Email address of the user.
  • id (String) UUID of the user. Set after lookup.
  • last_active_at (Number) Unix timestamp of the user's last activity.
  • name (String) Display name of the user.
  • profile_image_url (String) URL of the user's profile image.
  • role (String) Role of the user, e.g. admin or user.
  • updated_at (Number) Unix timestamp of when the user record was last updated.
  • username (String) Username of the account. Null when the account has none.