Authentication
transcript login
Shell
transcript loginThis starts a device-authorization flow (the same shape as gh auth login or
docker login):
- The CLI shows a short code (e.g.
WDJB-MJHT) in your terminal and opens your browser (or prints the link, if it can't open one automatically). - You confirm that code on transcript.land/device, signed in as yourself.
- Once you confirm, the CLI receives your API key and stores it.
No new token type is involved — the key the CLI receives is the same sk_live_...
key shown in Settings. If you already have
one, confirming rotates it (the old value stops working, same as clicking "Regenerate"
in Settings) so the CLI gets a live credential.
The key is stored at ~/.config/transcript/config.json, mode 0600.
transcript logout
Shell
transcript logoutRemoves the stored key from ~/.config/transcript/config.json. Other saved preferences
are kept.
How credentials are resolved
For every command, in this order:
--api-key <key>flagTRANSCRIPT_API_KEYenvironment variable- The key saved by
transcript login
If none are set, get still works, but as an anonymous request — capped to a short
preview (see Introduction).
Using a different API base (e.g. staging)
Shell
export TRANSCRIPT_API_BASE=https://staging-api.transcript.landOverrides the config file's api_base, which defaults to
https://api.transcript.land.