Quickstart
Create an API key in the ThreatOptic dashboard under Account → API keys. Keys are shown once, start with top_, and inherit your account’s permissions. The CLI cannot create or revoke keys because the /api-keys endpoints require a browser session (JWT), not an API key.
$ threatoptic auth loginThreatOptic API key:Logged in as dev@example.comCredentials saved to /Users/you/.config/threatoptic/config.yaml
$ threatoptic whoamidev@example.com (user 0192f3a1-..., roles: member)
$ threatoptic check stripe.comkind: domainsubject: stripe.compresent: truemcp: falsegenerated: 3...
$ threatoptic whoami --json{"email":"dev@example.com","id":"0192f3a1-...","roles":["member"]}auth login verifies the key against GET /auth/me before writing anything, so a bad paste fails immediately rather than on some later command.