information_schema.accounts view to return information about accounts.
You can use a SELECT query to return information about each account, as shown in the example below.
Read more about managing accounts here.
For account-level settings and flags (for example, enabling LLM features), see
information_schema.account_info.