Skip to main content

Installation

Requires Python 3.10 or later.

Authentication

The CLI resolves credentials in the following order:
  1. Explicit CLI flags (--api-key, --api-url)
  2. Environment variables ORCA_API_KEY and ORCA_API_URL
  3. Config file at ~/.orca/config.toml

Environment variables

Config file

Create ~/.orca/config.toml:

Commands

orca scan

Trigger a data-quality scan on a connected source.
Example: scan and wait for results
Example: CI gate
Returns exit code 1 if the quality score is below 80.

orca upload

Upload a CSV file for data-quality analysis.
Example

orca results

Fetch classification and quality results for a file or source.

orca alerts

List recent alerts from ORCA.
Example

orca contracts list

List all data contracts for the current organisation.

orca contracts evaluate

Evaluate a data contract and display results.
Example

orca ingest

Push quality results from external tools into ORCA.
Example

Configuration reference

The CLI uses automatic retry with exponential backoff (up to 3 attempts) for transient network errors and 5xx responses.