Skip to main content

CLI Command Groups

This page lists the public verdictan command surface. Use it to find the correct command family. It also gives you a high-level map of the documented CLI.

Bootstrap, auth, and diagnostics

CommandPurpose
verdictan initScaffold a starter policy-config.yaml and example tests for a new local project
verdictan auth loginSign in and store a CLI session for reuse
verdictan auth logoutRemove stored session credentials for the active profile
verdictan auth whoamiShow the active identity and API access context
verdictan auth token createCreate a scoped automation token that uses IAM role bindings
verdictan auth token listList issued auth tokens
verdictan auth token revokeRevoke a previously issued auth token
verdictan doctorReport API connectivity, config readability, state-directory access, and local supervisor records
verdictan config validateParse and validate a declarative gateway configuration without starting a runtime

Policy authoring and rollout

CommandPurpose
verdictan policy lintValidate a runtime config or IAM policy document
verdictan policy testRun local pack tests and inline testing suites
verdictan policy pushUpload a policy config as a new version for a gateway
verdictan policy deployRoll out a source policy version to one or more target gateways and verify application
verdictan policy diffCalculate a dry-run reconcile plan for IAM policy documents
verdictan policy applyReconcile reviewed IAM policy documents to the control plane
verdictan policy evaluateSimulate an action and resource VDT against local or selected remote IAM policies
verdictan policy exportExport selected or all remote IAM policies to YAML or JSON

Use this group for the authoring loop:

verdictan init
verdictan config validate --file policy-config.yaml
verdictan policy lint --file policy-config.yaml
verdictan policy test --json
verdictan gateway check --config policy-config.yaml
verdictan policy push --file policy-config.yaml --gateway-id local-gateway

The command family manages two document types. Runtime policy-config.yaml uses lint, test, push, and deploy. IAM policy documents use lint, diff, apply, evaluate, and export. See Policy Lifecycle before you automate one of these paths.

Gateway runtime and lifecycle

CommandPurpose
verdictan gateway runStart a local governance gateway for the supported public request families
verdictan gateway checkResolve config, provider credentials, routing, and the policy chain without starting a server
verdictan gateway createCreate a local supervisor definition with selected listen and upstream settings
verdictan gateway listList local gateways, or remote gateways with --remote
verdictan gateway inspectExamine a named local gateway and optional recent lifecycle history
verdictan gateway configQuery a running gateway config endpoint by URL
verdictan gateway reloadSend a reload request to a running gateway at a specified URL
verdictan gateway diffCompare the active named gateway state with its saved local service state
verdictan gateway revertSend a revert request to a running gateway at a specified URL
verdictan gateway reconcileReconcile a named gateway, or all known gateways with --all
verdictan gateway installInstall a local gateway as a user service
verdictan gateway startStart an installed gateway service
verdictan gateway statusShow service-manager status for an installed gateway
verdictan gateway stopStop an installed gateway service
verdictan gateway uninstallRemove the installed gateway service definition
verdictan gateway upgrade plan/apply/status/rollbackPlan, apply, examine, or roll back a local runtime binary upgrade

Related guides:

Profiles, regions, and locality

CommandPurpose
verdictan configure set region <region> --profile <profile>Save a profile-scoped default region in ~/.verdictan/config.yaml
verdictan configure get region --profile <profile>Read the configured default region for one profile
verdictan configure list-profilesShow known profile names from config and stored credentials
verdictan regions listList available regions with sovereignty class and API endpoints
verdictan regions useWrite the default region for the active CLI profile
verdictan regions switchAlias for use
verdictan regions currentShow the resolved region, winning source, resolved API endpoint, and requested scope
verdictan regions statusShow detailed status for each region

Use a command's own --region <region> option for API-backed operations. The top-level verdictan --region <region> ... form is a compatibility shim for local gateway/runtime surfaces that continue to read process-wide context.

verdictan regions list also supports --enabled, --disabled, --group <group_key>, --sovereignty-class <class>, and --json.

Removed config commands

verdictan config show, verdictan config migrate, and verdictan config diff are no longer public CLI commands. Use verdictan configure ... for profile defaults. Use verdictan regions ... to examine locality. Use a command-specific diff operation, such as verdictan gateway diff or verdictan policy diff, only for an available operation.

Declarative-config precedence

Use verdictan configure ... and verdictan regions ... to manage the requested region for API-backed CLI commands. Use policy-config.yaml for gateway and provider locality. The CLI profile default does not override the runtime routing in the policy config.

Published-hostname MCP

This surface is not a verdictan subcommand. The gateway supports MCP directly at a published agent hostname on /mcp.

Use Gateway MCP Surface for transport details and capability limits. It also gives the differences between hosted MCP, runtime bridge targets, and declarative tool-server metadata.

Events, exports, and escalations

CommandPurpose
verdictan events tailQuery recent event records from the Verdictan API
verdictan events exportExport event data directly as CSV or JSON
verdictan trail lookupQuery immutable Trail events by request ID or audit filters
verdictan trail verifyVerify a nonempty bounded Trail window. The default verifies digest links. --deep also verifies event hashes, sequences, and links in the window.
verdictan trail exportExport a filtered Trail window to JSON, JSONL, CSV, or gzip
verdictan export-jobs listList asynchronous export jobs
verdictan export-jobs getExamine one export job and its state
verdictan export-jobs createQueue a new evidence export job
verdictan export-jobs downloadDownload a completed export artifact
verdictan escalation listList escalations generated by policy outcomes
verdictan escalation getExamine a selected escalation
verdictan escalation claimClaim an escalation for triage
verdictan escalation unclaimRelease a previously claimed escalation
verdictan escalation resolveMark an escalation resolved with the selected outcome

History, secrets, cache, and control

CommandPurpose
verdictan history list-sessions/get-sessionBrowse and examine governed History sessions
verdictan history export/tag/search/share/replay/statsExport, organize, examine, replay, and summarize governed History
verdictan history learnRequest server-side learning for one selected History session, or preview its source entries
verdictan history condenseGenerate a condensed session summary for review or handoff
verdictan secret list/get/create/update/deleteManage hosted secret records without putting secret values on the command line
verdictan secrets add/statusManage local credential resolution for provider targets
verdictan cache stats/list/inspect/clearExamine or clear the response-cache backend selected by the active environment
verdictan control planCalculate a dry-run reconcile plan for a control manifest
verdictan control applyApply a control manifest to the Verdictan API
verdictan control exportExport active remote control state into a manifest

Workflow notes:

  • Use verdictan secret ... for hosted secret records.
  • Use verdictan secrets ... for checks of local keychain or environment credentials.
  • Use verdictan cache ... with the same gateway cache environment.
  • Detailed entry and counter views are filesystem-specific.
  • Before you apply a manifest, use verdictan control plan.
  • Pair each apply --prune with a reviewed plan --prune.

IAM, users, teams, roles, policies, and agents

CommandPurpose
verdictan user ...User inventory, invitations, lifecycle, and direct role assignment
verdictan team ...Team CRUD operations, membership, and team-level role grants
verdictan role ...Role CRUD operations plus policy assignment and effective-action inspection
verdictan iam policy ...Manage IAM policies for reuse
verdictan agent list/get/create/update/deleteManage first-class agent records
verdictan agent link-gateway/unlink-gatewayBind agents to gateway runtimes

Related guides:

Spend, budgets, provider budgets, and API tokens

CommandPurpose
verdictan spend summaryAggregate spend reporting
verdictan spend budget ...Org, team, user, or key budget management
verdictan spend provider-budget ...Provider-specific budget ceilings
verdictan token ...Governed API token lifecycle, including create, update, clone, revoke, rotate, validate, and code exchange

This group manages cost limits, bounded access, and customer gateway credential rotation.

Runtime feature guides

The CLI also controls gateway runtime behavior through policy-config.yaml and related declarative documents.

FeatureWhere to read more
Streaming compatibility and chunked passthroughStreaming & SSE
WebSocket proxy compatibilityWebSocket Gateway
Connected relay transport for NAT-bound gatewaysConnected Gateway Relay
Cross-provider request and response translationFormat Translation
Fallback and failover routingProviders Configuration and verdictan gateway run
Route-based targeting and chain overridesRoutes and Consumer Groups
Caching behavior and runtime defaultsRuntime Configuration
Cache inspection and maintenanceGateway Response Cache
Provider routing, fallback, and model groupsProviders Configuration, Data Routing Policy
Rate limitsRate Limits Configuration
Declarative policy schema and gateway config shapeDeclarative Config Reference
Policy controls such as DLP, human oversight, tool validation, and audit loggingPolicy Controls Catalog, Policies Overview

Next steps