excalidraw whoami
Show which workspace and key the CLI is using.
Validate the configured API key by fetching its workspace, and report the key type, where the key came from, and the API origin.
excalidraw whoami [options]Examples
excalidraw whoami
excalidraw whoami --output table
excalidraw whoami --api-key uk-... --api-url https://staging.example.comNotes
- Run this first when a command fails with HTTP 401 or 403. It shows which workspace the key belongs to and whether it is a personal (uk-) or workspace key.
- credentialSource is
flagfor--api-key,envforEXCALIDRAW_API_KEY, orloginfor the key thatexcalidraw loginsaved. The flag and the variable take precedence over a saved key. - A workspace key limited to certain permissions can get HTTP 403 here even though it is valid.
Last updated on