Sanity Library Reference Docs
    Preparing search index...
    • Resolve the caller's advisory $attributes. Results are cached per client and organization. Expected absences (401–404) leave attributes undefined; unexpected failures throw. Call only from soft-gate paths (evaluate / fireAction filter re-check / editField), never from ticks or drainers.

      Parameters

      Returns Promise<UserAttributes | undefined>