Skip to main content

CLI Overview

The Qarion CLI (qarion) is a command-line interface for the Qarion Lightweight AI and Data Governance platform. It wraps the Python SDK so you can manage spaces, products, quality checks, connectors, issues, and alerts without writing any code.

When to Use the CLI

The CLI is the fastest way to interact with Qarion from a terminal. Typical use-cases include:

  • Ad-hoc inspection — quickly list products, check quality status, or search the catalog.
  • CI/CD pipelines — trigger quality checks, push external results, or register products as part of a deployment workflow.
  • Scripting — combine qarion with jq, grep, and shell scripts using the --json flag.

If you need deeper programmatic control (custom error handling, async workflows, complex orchestration), use the Python SDK directly.

Global Options

Every command inherits these options from the root qarion group:

OptionEnv VariableDefaultDescription
--api-keyQARION_API_KEYrequiredAPI key for authentication
--base-urlQARION_BASE_URLhttp://localhost:8000Platform API base URL
--timeout30.0Request timeout in seconds
--jsonoffOutput JSON instead of tables
--versionPrint CLI version and exit

Command Groups

GroupDescription
spacesList spaces and members
productsBrowse, create, and manage data products
qualityRun and inspect quality checks
connectorsManage data connectors and sync jobs
issuesCreate and track issue tickets
alertsView and resolve central alerts
searchSearch across platform entities
permissionsCheck your roles and permissions

Quick Examples

List all spaces in table format:

qarion spaces list
┌──────┬──────────────────┬──────────┬──────────────────┐
│ Slug │ Name │ ID │ Created │
├──────┼──────────────────┼──────────┼──────────────────┤
│ acme │ Acme Analytics │ 550e84… │ 2026-01-10 09:00 │
└──────┴──────────────────┴──────────┴──────────────────┘

The same query as JSON for scripting:

qarion --json spaces list | jq '.[].slug'
"acme"

Trigger a quality check and inspect the result:

qarion quality trigger acme row-count-check

Next Steps

  1. Installation & Configuration — install the CLI and set up your credentials.
  2. Products — manage data products in the catalog.
  3. Quality Checks — run and monitor quality checks.