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
1
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.
2
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.3
Set a default project (optional)
If you work primarily in a single project, set a default project ID to avoid passing
--project on every command.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.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.