Agentuity CLI Auth Whoami

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

agentuity Updated

File contents

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"
}
Field Type Description
userId string Unique user identifier
firstName string User first name
lastName string User last name
organizations array Organizations the user belongs to

agentuity/discord-help-agent/tree/main/.agents/skills/agentuity-cli-auth-whoami commit a2bd66ab45

Frequently asked questions

npx skillmds@latest add agentuity/agentuity-cli-auth-whoami