Skip to main content

API key flow

For most CLI and hybrid runtime usage, initialize the workspace with a tenant-scoped API key:
The CLI sends configured API keys with x-esper-api-key. When api_key is set in ~/.esper/config.yaml, it takes precedence over stored operator-token credentials.

Hosted token flow

Use hosted token login when you need an operator session, such as listing keys for a tenant:

Checking authentication

Verify the current stored token or configured API key:

Logout

Clear stored credentials: