CLI Installation
Install and configure the Lucitra CLI to run validations, upload datasets, and manage reports from your terminal or CI/CD pipeline.Install
Configure
Set your API key
Every request to Lucitra requires authentication. Add your API key to the CLI configuration so you do not need to pass it on every command.
Set the API URL (optional)
The CLI defaults to
https://api.lucitra.io. Override this if you are using a self-hosted instance or a development environment.View Configuration
Check your current configuration at any time:Environment Variables
The CLI also reads configuration from environment variables. This is useful in CI/CD pipelines where you do not want to persist config to disk.| Variable | Description | Equivalent Config Key |
|---|---|---|
LUCITRA_API_KEY | API key for authentication | api-key |
LUCITRA_API_URL | Base URL for the Lucitra API | api-url |
Environment variables take precedence over stored configuration, and command-line flags take precedence over both.
Precedence Order
The CLI resolves configuration in the following order, from highest to lowest priority:- Command-line flags —
--api-key (-k),--api-url - Environment variables —
LUCITRA_API_KEY,LUCITRA_API_URL - Stored configuration — values set via
lucitra config set
CI/CD Example
Next Steps
Command Reference
See all available CLI commands, flags, and example workflows.
API Authentication
Learn about API key scopes, rate limits, and enterprise tiers.