The checkly whoami command displays detailed information about your current Checkly authentication, including the logged-in user account and active Checkly account details. This command can also be run without authentication to check your current status.

Usage

The basic command shows current authentication status and account information.
Terminal
npx checkly whoami

Authenticated

If you’re logged in, you’ll see:
Terminal
npx checkly whoami

You are currently on account "Monitoring as Code" (b2f...) as raccoon@checklyhq.com.

Not Authenticated

If not logged in, you’ll see:
Terminal
npx checkly whoami

Error: Run `npx checkly login` or manually set `CHECKLY_API_KEY` & `CHECKLY_ACCOUNT_ID`
environment variables to setup authentication.