Skip to main content
Show the authenticated user for the active credential, fetched from the management API.

whoami

Options

TEXT
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
TEXT
default:"text"
Output formatOne of: text, json, jsonl, none
TEXT
Use a specific stored profile for this command, overriding BASETEN_PROFILE and the current profile
BOOL
Enable verbose logging

Examples

Show the authenticated user

Filter output with --jq

Print just the 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.