air command group
This feature is in Public Preview.
The air command group within the Databricks CLI submits and manages AI Runtime training workloads. For requirements and usage guidance, see Use the Databricks CLI with AI Runtime. To submit your first workload, see Databricks CLI quickstart for AI Runtime.
For the complete command and configuration reference, use the CLI help:
databricks air --help # All commands
databricks air <command> --help # Flags for a specific command
databricks air run -h config # YAML config reference
databricks air run -h config.compute # Per-field help for a YAML section
The CLI help reflects the exact version you have installed. Configuration help is generated from the validation schema, so use it to check field types, requirements, and constraints.
Commands
Command | Purpose |
|---|---|
| Submit a training workload from a YAML config. Supports |
| Show status, configuration, and timing details for a specified run. |
| List active runs for the current user. Use |
| Stream logs from an active run or fetch logs from a completed run. Use |
| Cancel one or more runs. Use |
| Convert workload YAML to Declarative Automation Bundles locally, without contacting the workspace. Use |
databricks air run -f train.yaml --dry-run validates the YAML schema and overrides locally without submitting a workload or requiring authentication. It does not check whether local code paths or Git revisions exist, or validate workspace permissions or GPU availability.
For logs, use either --tail to select a line count or --minutes to select a time window. These flags are mutually exclusive and cannot be combined with --download-to.
Global flags
Flag | Purpose |
|---|---|
| Use the named Databricks CLI authentication profile instead of the default. |
| Enable debug logging. |
| Select the output format: |
| Select the bundle target, if applicable. |
Use -h or --help on a command to show its help. To show YAML field help, use databricks air run -h config.<section>.
Differences from the legacy Python CLI
The Databricks CLI and the legacy Python-based air CLI use different command names and flags. Update scripts using the following mappings:
Python CLI | Databricks CLI |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|