tofupilot whoami

Last updated on November 20, 2026

The whoami command prints the currently logged-in user or station along with the active dashboard URL.

whoami
tofupilot whoami

When TOFUPILOT_API_KEY is set, whoami asks the dashboard who that key belongs to, every time, and says that the key comes from the environment. See Run in CI.

With --json, the command prints a single object typed "whoami" with auth_type (user or station), user_id, user_name, user_email, station_id, station_name, organization_name, and organization_slug. The user fields are null for station auth, and vice versa.

whoami json
tofupilot whoami --json

How is this guide?