# gram whoami

The `whoami` command displays information about the currently configured
profile, including user details and project settings.

<Callout type="info">
    If no profile is configured, the command will indicate that no profile is
    set up. Run [gram auth](/docs/mcp/reference/command-line/auth) to authenticate and
    create a profile.
</Callout>

## Usage

Display current profile information:

```bash
gram whoami
```

This command shows:

- Organization details
- Project details
- API key scopes

Output as JSON for scripting:

```bash
gram whoami --json
```

## Options

### <code>json</code>

Output the profile information as JSON. This is useful for scripting and
automation.

```bash
gram whoami --json
```
