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.

Flutter: Retrieve a user

Get user by id.

Examples

Fetch the user object using the access_token jwt

final res = await supabase.auth.admin.getUserById(userId);
final user = res.user;