trio
Installing pytrio provides the trio command-line tool for managing login profiles and querying or operating on models, checkpoints, files, and batch inference jobs.
bash
trio
trio --help
trio --versionRunning bare trio prints the current SDK version followed by root-command help.
Global Options
| Option | Short | Description |
|---|---|---|
--help | -h | Show help information |
--version | -V | Show the current SDK version |
--format <table|json|csv> | — | Select the output format for query commands; must appear before the subcommand (defaults to table output) |
Output Formats
Query commands use tables by default. Select json or csv before the subcommand:
bash
trio --format json status
trio --format csv model list
trio --format json checkpoint list- Machine-readable results go to
stdout; diagnostics, notices, and pagination hints go tostderr. - Action commands such as login, download, delete, and cancel use text output only.
Exit Codes
| Exit code | Description |
|---|---|
0 | Command succeeded |
1 | Authentication, network, or server-operation failure |
2 | Input or confirmation is required without an interactive terminal |
Commands
| Command | Full form / alias | Description |
|---|---|---|
trio login | trio auth login | Verify and save credentials to the current profile |
trio status | trio auth status | Verify current credentials and show user, workspace, and profile |
trio logout | trio auth logout | Clear credentials saved in the current profile |
trio profile | trio auth profile | List, inspect, switch, or remove local profiles |
trio model | trio models | List available models and their capabilities |
trio checkpoint | trio ckpt | List, inspect, download, and delete checkpoints |
trio file | — | Upload, list, inspect, download, and delete files |
trio batch | — | Create, list, inspect, download results for, and cancel batch jobs |
v0.2.11 removes the old trio env command; use trio profile instead. See Environment Configuration for environment variables, and RestClient for the corresponding Python file, batch, and checkpoint operations.