CLI Reference

The Truss CLI follows the gh (GitHub CLI) convention. Every command group has subcommands for managing a specific domain.

Usage

truss <command> [subcommand] [options]

Global options

OptionDescription
-V, --versionOutput the version number
-h, --helpDisplay help
--jsonOutput as JSON (where supported)
--limit <n>Page size for list commands
--page <n>Page number for list commands

Environment variables

VariableDescription
TRUSS_API_URLOverride the API base URL
TRUSS_API_KEYOverride the API key

Exit codes

CodeMeaning
0Success
1General error
2Authentication error

Command groups

CommandDescription
authLogin, logout, and status
orgManage organizations and legal entities
agentRegister, list, and manage agents
mandateCreate, list, and manage mandates
actionRecord and list agent actions
delegationManage delegation chains
evidenceCreate and manage evidence packages
verifyVerify mandates, evidence, and signatures
alertManage alerts and notification channels
integrationConfigure third-party integrations
jurisdictionQuery regulations and obligations
templateManage mandate templates
apiMake raw HTTP requests to the API
configView and edit CLI configuration
completionGenerate shell completion scripts