Skip to content

CLI

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 --version

Running bare trio prints the current SDK version followed by root-command help.

Global Options ​

OptionShortDescription
--help-hShow help information
--version-VShow 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 to stderr.
  • Action commands such as login, download, delete, and cancel use text output only.

Exit Codes ​

Exit codeDescription
0Command succeeded
1Authentication, network, or server-operation failure
2Input or confirmation is required without an interactive terminal

Commands ​

CommandFull form / aliasDescription
trio logintrio auth loginVerify and save credentials to the current profile
trio statustrio auth statusVerify current credentials and show user, workspace, and profile
trio logouttrio auth logoutClear credentials saved in the current profile
trio profiletrio auth profileList, inspect, switch, or remove local profiles
trio modeltrio modelsList available models and their capabilities
trio checkpointtrio ckptList, 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.