Installation
Install the CLI by adding the[cli] extra when installing the Avala SDK:
avala command and its dependencies (including Click).
Configuration
Before using the CLI, configure your API credentials:- API Key: Your Avala API key
- Base URL: The API endpoint (defaults to
https://api.avala.ai/api/v1)
.bashrc, .zshrc, or equivalent:
Alternative: Command-line flags
You can also pass credentials as flags to any command:Environment variables
The CLI reads these environment variables:AVALA_API_KEY: Your API keyAVALA_BASE_URL: Custom API endpoint (optional)
Available commands
The Avala CLI provides commands for managing all major resources:datasets— Create and manage datasetsprojects— Manage annotation projectstasks— View tasksexports— Create and download exportsagents— Manage agents and view executionsstorage-configs— Configure cloud storage backendsinference-providers— Manage inference providersauto-label— Create and monitor auto-labeling jobsquality-targets— Set and evaluate quality metricsconsensus— Compute consensus scoreswebhooks— Manage webhooks and view deliveriesfleet— Fleet management (devices, recordings, events, rules, alerts)
list, get, create, and delete.
Usage
General pattern:Examples
List all datasets:Getting help
Use--help on any command or subcommand: