---
title: "axiom whoami"
description: "Show the current authenticated user"
category: reference
surfaces: [cli]
related: [reference/cli/axiom, guides/api-keys]
last_reviewed: 2026-06-06
---

<!-- GENERATED by docs/scripts/gen-cli-reference — DO NOT EDIT.
     Source of truth: the cobra command definitions in cmd/axiom/cmd/.
     Regenerate from the repo root with: go run ./docs/scripts/gen-cli-reference -->

# axiom whoami

Show the current authenticated user

Display the user and tenant associated with the stored API key.

Requires a prior "axiom login".

## Usage

```sh
axiom whoami [flags]
```

## Flags

| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
| `--help` | `-h` | bool |  | help for whoami |

## See also

- [axiom](./axiom.md) — Axiom CLI — build and push node packages
- Guide: [API keys](../../guides/api-keys.md)
