Configuration
Environment variables
| Variable | Purpose |
|---|---|
SUME_API_KEY | Sume Developer API key. |
SUME_API_BASE_URL | API base URL. The default is https://api.sume.com/v1. |
SUME_API_AUTH_MODE | x-api-key or bearer. |
SUME_APP_BASE_URL | App base URL that sume login uses. For the production API, the default is https://app.sume.com. For other APIs, the default is the origin of SUME_API_BASE_URL. |
SUME_CONFIG_DIR | Overrides the local config directory for tests or isolated environments. |
Local config
The CLI stores the local configuration in this file:
Use the recommended browser login flow to create the local config:
To examine the local readiness without a call to the API, use
sume doctor --agent --json.