Install
ontora command is on your PATH.
First-time setup
Authenticate once and the CLI will remember your key:--workspace WS_ID sets a default workspace, and --base-url URL selects the regional API host. The default is https://api.ontora.com for US workspaces. Verify the key and its workspace/region binding:
session_id and run_id. See the command reference for polling, JSON output, and result export.
If a workspace admin has explicitly issued a Confidential analysis key, its read scope supports the
ordinary CLI inspection commands while its campaign-bound scope lets an authorized agent download a
hash-verified raw corpus:
campaign-corpus.jsonl.manifest.json is the completion marker; do not consume the JSONL if that sidecar
is missing or does not match. To fetch one record, ontora corpus get requires an explicit mode-0600
output file and never prints the raw JSON to stdout. See
ontora corpus for its scope, size/timeout limits, and integrity checks.
How config is stored
Configuration lives at~/.ontora/config.yaml with permissions 0600:
ONTORA_API_KEY, and skip ontora auth login entirely.
Next steps
Commands
Full reference for every CLI command.
Campaign YAML
Define an entire campaign in a single YAML file and launch it with one command.