Skip to content

gram whoami

The whoami command displays information about the currently configured profile, including user details and project settings.

If no profile is configured, the command will indicate that no profile is set up. Run gram auth to authenticate and create a profile.

Display current profile information:

Terminal window
gram whoami

This command shows:

  • Organization details
  • Project details
  • API key scopes

Output as JSON for scripting:

Terminal window
gram whoami --json

Output the profile information as JSON. This is useful for scripting and automation.

Terminal window
gram whoami --json