> ## Documentation Index
> Fetch the complete documentation index at: https://docs.baseten.co/llms.txt
> Use this file to discover all available pages before exploring further.

# baseten whoami

> Show the authenticated user

Show the authenticated user for the active credential, fetched from the management API.

## whoami

```sh theme={"system"}
baseten whoami [OPTIONS]
```

### Options

{/* Do not hand-edit. Update OVERRIDES / NOTES / HIDDEN_FLAGS in the generator. */}

<ParamField body="-q, --jq" type="TEXT">
  Filter JSON output with a jq expression; implies --output json (or jsonl for streamed commands)
</ParamField>

<ParamField body="-o, --output" type="TEXT" default="text">
  Output format

  One of: `text`, `json`, `jsonl`, `none`
</ParamField>

<ParamField body="--profile" type="TEXT">
  Use a specific stored profile for this command, overriding BASETEN\_PROFILE and the current profile
</ParamField>

<ParamField body="-v, --verbose" type="BOOL">
  Enable verbose logging
</ParamField>

### Examples

Show the authenticated user

```sh theme={"system"}
baseten whoami
```

### Filter output with `--jq`

Print just the email

```sh theme={"system"}
baseten whoami --jq '.email'
```

### Output

**Text mode (`--output text`):** Field-per-line summary of the authenticated user: email, name, workspace, and user ID.

**JSON mode (`--output json`):** payload type `managementapi.UserInfo`.
