verial config commands read and write the CLI config file at ~/.verial/config.json. Values set here apply to every invocation on this machine and can be overridden per-command via environment variables or flags.
The config file uses kebab-case keys:
Subcommands
The
api-key field is typically managed through verial auth set-key, but verial config set writes the same file.
verial config get
Print the current contents of~/.verial/config.json. Returns {} if no config has been written.
Synopsis:
--json for machine-readable output:
verial config set
Write a single key/value pair to the config file. The value is parsed according to the key’s type (default-limit is parsed as an integer, output-json as a boolean).
Synopsis:
Examples:
Precedence
For each value, the CLI resolves in this order:- Command-line flag (e.g.,
--api-key,--limit,--json). - Environment variable (
VERIAL_API_KEY,VERIAL_API_URL). - Config file at
~/.verial/config.json. - Hard-coded default (for
base-url,https://api.verial.ai).
Next Steps
verial auth
API key storage and inspection.
Installation
Install the CLI and verify connectivity.