Skip to content

Configuration ​

Everything Verdict reads from the environment: model keys, where it stores things, and which server the command line talks to.

EnvMeaning
TYPESAFE_API_KEYdecision / typesafe — Jev (default judge). VERDICT_TYPESAFE_MODEL (default jev-latest)
CLOUDFLARE_ACCOUNT_ID, CLOUDFLARE_API_TOKENdecision / cloudflare — Clef, Clef-flash, typesafe/jev on Workers AI. VERDICT_CLOUDFLARE_MODEL (default @cf/cloudflare/clef)
OPENROUTER_API_KEYdecision / openrouter — typesafe/jev-1.13, inception/mercury-decide, …
OPENAI_API_KEYdecision / openai — Decisions API (gpt-6-luna); also the llm / openai generative judge
SYSTEMONE_BASE_URL, SYSTEMONE_API_KEYdecision / systemone — any endpoint speaking the /v1/systemone shape (self-hosted Clef, DigitalOcean, gateways)
ANTHROPIC_API_KEYllm / anthropic generative judge (rationales). VERDICT_ANTHROPIC_MODEL (default claude-opus-5-5)
VERDICT_HTTP_JUDGE_URL, VERDICT_HTTP_JUDGE_KEYllm / http — a prompted judge behind your own URL
VERDICT_DATABASESQLite file for the Node server (Drizzle + better-sqlite3; same schema and migrations as D1). Enables DB-managed keys.
VERDICT_API_KEYSkey:tenant,key2:tenant2 bootstrap keys for the API
VERDICT_ADMIN_KEYBearer token for /v1/admin/* (key management, hub takedowns)
VERDICT_ROUTESRoute groups to serve, comma-separated: evaluations, rubrics, hub, control (projects). Unset serves all; a group left out answers 404
VERDICT_DATA_DIRPersist to JSON files instead (CLI default ./.verdict; API default memory)
VERDICT_WEBHOOK_SECRETHMAC signing of webhook deliveries
VERDICT_ALLOW_LOCAL_FILES=1Let the API read file.path inputs (off by default; CLI/MCP local mode allow it)
VERDICT_API_URL, VERDICT_API_KEYMake the CLI / MCP server talk to a hosted API instead of the local engine
GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRETHub sign-in with GitHub (OAuth App with Device Flow enabled). With a client id set, only signed-in GitHub accounts can publish, under their login
VERDICT_HUB_URL, VERDICT_HUB_KEYThe server verdict hub / publish / withdraw / pull / fork hub:…, the management commands (project, env, push, promote, rollback, report) and the MCP hub tools talk to, and a key for CI (otherwise verdict login keeps one key per server in ~/.config/verdict/hub.json)
VERDICT_PROJECTProject the management commands and --report work on. Read after --project and before the project: of the nearest verdict.yaml (which may also name the server:)
VERDICT_ORGOrganization those commands work in, on servers where one sign-in reaches several (--org, else this, else org: in verdict.yaml; default: your own). Sent as x-verdict-org; servers without organizations ignore it

Secrets never live in rubrics: judges reference them with apiKeyEnv: MY_KEY_VAR.