Skip to main content
Fetch and display the identity of the currently authenticated user.

Usage

Description

Display the currently authenticated user’s identity by fetching live from the Sentry API. Unlike sentry auth status, this command only shows who you are — no token details, no defaults, no org verification. This calls the Sentry API live (not cached) so the result always reflects the current token. Works with all token types: OAuth, API tokens, and OAuth App tokens.
This is a top-level alias for convenience. You can also run sentry whoami without the auth subcommand.

Options

boolean
default:"false"
Output as JSON. The JSON format includes id, name, username, and email fields.

Examples

Show current user

Expected output:

JSON output

Expected output:

Using top-level alias

Expected output:
Use whoami for a quick identity check. For comprehensive authentication details including token status and defaults, use sentry auth status instead.