Skip to main content
Reference material for the veri CLI: every global flag, every environment variable, the exit-code contract, the small gpu / cost / billing groups, and veri doctor for diagnostics.

Global flags

Every command accepts these: --format and --quiet work on the root, on groups, and on every leaf command — they are spliced into every command’s parameter list by the VeriTyper base class.

Override syntax (--set)

Available on every command that loads a TOML config (jobs create, deployments create, evals create, run, jobs estimate, config set).
Type coercion uses TOML scalars; repeated flags build lists; scalar-vs-table conflicts error. See the run-verb reference for the full rules.

Help-on-missing-args

veri and every group (veri jobs, veri datasets, etc.) print help when invoked without a subcommand. Commands with required arguments print usage when those arguments are missing. Commands with no required arguments (veri whoami, veri doctor, veri logout, veri billing balance) just run.

Exit codes

Deterministic across every command. Designed for shell scripting.

Environment variables

Highest priority overrides the config file.

Config file location

Default: ~/.config/veri/config.toml (XDG-correct on Linux/macOS; %APPDATA%/veri/ on Windows via platformdirs). The CLI auto-migrates the legacy ~/.veri/credentials.json on first run only when no VERI_CONFIG_PATH / XDG_CONFIG_HOME is set. The legacy file is renamed to .json.bak, not deleted.
Edit programmatically with the --set-style syntax:

veri doctor — diagnostics

Runs five checks and reports pass / warn / fail per row: doctor always exits 0 — it reports, doesn’t gate. Read the table, act on warnings. Use --format json to consume from CI:

veri gpu

veri regions

Pass a region to a training job with veri train --region <name>, veri jobs create --region <name> (or region under [resources] in the config), or the region argument of the @veri.train decorator. Omit it to use the default region.

veri billing

veri wandb

Account-level Weights & Biases integration: store your key once and every training job logs to your W&B account.

Shell completion

Typer ships completion for free:
Supported shells: bash, zsh, fish, powershell.

Versioning

Prints SDK version, Python version, and platform string. The --version and -v root flags are aliases — they emit the same output and exit. From CI:

Phase-2 deferrals

These are not in Phase-1 and will error or print a clear “deferred” note if attempted:

What’s next

Overview

Install + login + first call.

The run verb

Hero verb + override syntax.

Datasets

Upload and connect.