Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.ontora.com/llms.txt

Use this file to discover all available pages before exploring further.

The CLI is grouped by resource. Run ontora <group> --help for in-terminal docs on any command.

ontora auth

API key and connection management.

auth login

Save an API key (and optional defaults) to ~/.ontora/config.yaml.
ontora auth login --api-key ont_live_... [--workspace WS_ID] [--base-url URL]
FlagRequiredDescription
--api-key, -kyesYour Ontora API key (starts with ont_)
--workspacenoDefault workspace id used when commands omit it
--base-urlnoOverride the API host (e.g. for staging)

auth status

ontora auth status
Calls /health and prints whether your saved key works.

ontora campaigns

Manage interview campaigns.
ontora campaigns list [-w WS_ID] [--status STATUS]
ontora campaigns show INTERVIEW_ID
ontora campaigns create -c campaign.yaml [-w WS_ID] [--start]
ontora campaigns start INTERVIEW_ID
ontora campaigns pause INTERVIEW_ID
CommandNotes
list--status filters by draft, active, paused, or completed
showPrints campaign metadata and progress
createReads a campaign YAML. Add --start to launch immediately
startMove from draftactive
pausePause an active campaign

ontora contacts

Manage contacts on a campaign.
ontora contacts list INTERVIEW_ID [--status STATUS]
ontora contacts add INTERVIEW_ID --name "Sam Rivera" \
    [--email sam@example.com] [--phone +1...] \
    [--job-title "Shift Lead"] [--department Operations] [--seniority 4]
ontora contacts import INTERVIEW_ID contacts.csv
CommandNotes
listLists contacts and their conversation status
addAdds a single contact. Only --name is required
importBulk import from a CSV file (positional path). Columns: name,email,phone,job_title,department,seniority

ontora transcripts

ontora transcripts list INTERVIEW_ID
ontora transcripts get INTERVIEW_ID CONVERSATION_ID [-f md|json] [-o transcript.md]
ontora transcripts export INTERVIEW_ID [-o transcripts.zip]
CommandNotes
listLists conversations in a campaign
getFetch one transcript. --format defaults to md. --output writes to a file instead of stdout
exportBundle every transcript into a ZIP (defaults to transcripts.zip in cwd)

ontora reports

ontora reports show INTERVIEW_ID
ontora reports export INTERVIEW_ID [-k report|summary] [-o report.md]
CommandNotes
showPrint the dashboard summary as Markdown to stdout
export--kind report (default) is the full synthesis report; --kind summary is the dashboard view. --output writes to a file

ontora query

Run a GraphRAG query over a campaign’s transcripts.
ontora query INTERVIEW_ID "What are the most painful manual steps in scheduling?"
Both arguments are positional and required. The CLI prints the answer plus structured patterns and divergences. For finer control (anonymization, top-k), call the REST endpoint directly.

ontora webhooks

Outbound webhook endpoints.
ontora webhooks list [-w WS_ID]
ontora webhooks add URL [--events "synthesis.completed,interview.completed"] \
    [--description "Production sync"] [-w WS_ID]
ontora webhooks test ENDPOINT_ID
ontora webhooks remove ENDPOINT_ID
ontora webhooks deliveries ENDPOINT_ID [-n 25]
CommandNotes
listLists workspace subscriptions
add--events is a comma-separated string. Empty/omitted = subscribe to all events
testSends a synthetic event to the endpoint
removeDeletes the subscription
deliveriesLists recent delivery attempts. -n defaults to 25

ontora version

ontora version
Prints the installed CLI version.

Environment variables

VariableOverrides
ONTORA_API_KEYAPI key from ~/.ontora/config.yaml
ONTORA_BASE_URLAPI host
ONTORA_WORKSPACE_IDDefault workspace id
These take priority over the saved config — use them in CI to avoid storing credentials on disk.