Legacy Python CLI command reference for AI Runtime
This documentation has been retired and might not be updated.
The Python-based air CLI, installed with the databricks-air package, is now deprecated and is no longer actively maintained.
Use the Databricks CLI for new workloads. See Use the Databricks CLI with AI Runtime.
The air CLI provides five subcommands for managing training workloads: air run, air get run, air list runs, air logs, and air cancel. The same reference is always available from the CLI itself:
air --help # All commands
air <command> --help # Flags for a specific command
air -h config # YAML config reference
air -h config.compute # Per-field help for a YAML section
The CLI help reflects the exact version you have installed, so it is the source of truth if it differs from the table below.
Commands
Command | Purpose |
|---|---|
| Submit a workload defined by a YAML file. Supports |
| Show metadata, status, and configuration for a specific run. |
| List recent runs. Use |
| Stream or download logs for a run. Use |
| Cancel a running workload. |
| Register and cache a custom Docker image for use in workloads. See Use custom Docker images with the legacy Python CLI. |
Global flags
Flag | Purpose |
|---|---|
| Print the installed CLI version. |
| Use the named Databricks CLI authentication profile instead of the default. |
| Show help. When followed by a config path ( |