Skip to main content
The Ontora CLI is a Python tool that wraps the REST API. It’s the fastest way to launch campaigns, pull transcripts, and run GraphRAG queries from a terminal or CI pipeline.

Install

After install, the ontora command is on your PATH.

First-time setup

Authenticate once and the CLI will remember your key:
Optional flags: --workspace WS_ID to set a default workspace, --base-url URL if you’re hitting a non-default API host. Verify the connection:

How config is stored

Configuration lives at ~/.ontora/config.yaml with permissions 0600:
You can override any value at call time with environment variables:
This is the recommended pattern in CI β€” store the API key as a secret, set 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.