For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.
Get user by id.
getUserById() method requires the user's id which maps to the auth.users.id column.final res = await supabase.auth.admin.getUserById(userId);
final user = res.user;