Skip to content
agentuity-cli-auth-whoami logo

Auth Whoami

agentuity-cli-auth-whoami

Display information about the currently authenticated user. Requires authentication. Use for managing authentication credentials

SKILL.md

Full skill instructions

Auth Whoami

Display information about the currently authenticated user

Prerequisites

  • Authenticated with agentuity auth login

Usage

agentuity auth whoami

Examples

Show current user:

bunx @agentuity/​cli auth whoami

Show output in JSON format:

bunx @agentuity/​cli --json auth whoami

Output

Returns JSON object:

{
  "userId": "string",
  "firstName": "string",
  "lastName": "string",
  "organizations": "array"
}
FieldTypeDescription
userIdstringUnique user identifier
firstNamestringUser first name
lastNamestringUser last name
organizationsarrayOrganizations the user belongs to