# gt: General Translation CLI tool: gt whoami
URL: https://generaltranslation.com/en-GB/docs/cli/reference/commands/whoami.mdx
Docs index: https://generaltranslation.com/llms.txt
Description: Show the account authenticated by your saved CLI session. API reference for the gt whoami command.

Use this command to check the account selected by [`gt login`](/docs/cli/reference/commands/login). It checks a user session, not an API key&#39;s identity.

## Overview [#overview]

```bash
npx gt whoami
```

| Option                   | Description                                                       |
| ------------------------ | ----------------------------------------------------------------- |
| [Global options](#flags) | Output, compatibility checks and help; no command-specific flags. |

## How it works [#how-it-works]

The command shows your signed-in account and requires network access. It prints your email address or, if this is unavailable, your name or account identifier.

The command fails if the session is missing or invalid, or if the identity request fails. Use [`gt login`](/docs/cli/reference/commands/login) to sign in again.

## Flags [#flags]

There are no command-specific flags. The [global options](/docs/cli/reference/global-options) apply.

To remove that session, use [`gt logout`](/docs/cli/reference/commands/logout).

## Sitemap

See the full [sitemap](https://generaltranslation.com/sitemap.md) for all pages.
