Technical Reference / speakeasy whoami
speakeasy whoami
Display information about the profile currently in use.
The whoami command displays information about the currently configured
profile, including organization details, project settings, and API key scopes.
If no profile is configured, the command will indicate that no profile is set up. Run speakeasy auth to authenticate and create a profile.
Display current profile information:
speakeasy whoamiThis command shows:
- Organization details
- Target project details
- API key scopes
- All projects available to the profile
Output as JSON for scripting:
speakeasy whoami --jsonOptions
Section titled “Options”Output the profile information as JSON. This is useful for scripting and automation.
speakeasy whoami --jsonapi-key
Section titled “api-key”Verify a specific API key instead of the one stored in the current profile.
speakeasy whoami --api-key MY_API_KEYThe API key can also be set via the SPEAKEASY_AI_API_KEY environment variable.