Reference
| Variable | Description |
|---|---|
TALKVALUE_TOKEN | API token used for every request. When set, it takes precedence over any saved profile and skips auth login entirely. |
TALKVALUE_PROFILE | Name of the saved profile to use as the default. Overridden by --profile. |
TALKVALUE_API_URL | Override the TalkValue data API base URL. Used for staging environments. |
TALKVALUE_AUTH_API_URL | Override the auth server base URL used by auth login / token refresh. |
NO_COLOR | When set to any value, disables ANSI color in table output. Same as --no-color. |
FORCE_COLOR | When set to any value, forces ANSI color even when stdout is not a TTY (for example, CI logs). |
Order of precedence
For overlapping settings, CLI flags win over environment variables, which win over saved profiles or defaults:| Setting | Flag | Env var | Default |
|---|---|---|---|
| Auth profile | --profile <name> | TALKVALUE_PROFILE | Active profile |
| API base URL | --api-url <url> | TALKVALUE_API_URL | Built-in production URL |
| Color | --no-color | NO_COLOR / FORCE_COLOR | Auto-detect TTY |
| Output format | --format / --json | — | Auto-detect TTY |
TALKVALUE_TOKEN in the environment always overrides any saved profile and has no flag equivalent. See Authentication.
Common setups
CI environment
Docker
Multiple profiles in one shell
Staging API
Related
- Authentication.
TALKVALUE_TOKENvs profiles, precedence rules. - Global flags. Flag equivalents for the env vars above.
- Output format. How color and format auto-detection work.
