← API reference
CANONICAL TYPE REFERENCE

Viewer

Who the caller is, and which tenant they are acting in

The calling user; null for a credential that resolves to no user row

The tenant this request is scoped to

Human-readable tenant name; null when the tenant carries none

The tenant's domain; null when unset

View exact SDL
"""Who the caller is, and which tenant they are acting in"""
type Viewer {
  """The calling user; null for a credential that resolves to no user row"""
  user: UserState
  """The tenant this request is scoped to"""
  tenantId: TenantID!
  """Human-readable tenant name; null when the tenant carries none"""
  tenantName: String
  """The tenant's domain; null when unset"""
  tenantDomain: String
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.