Output Formats
The CLI supports multiple output formats for different use cases.Table Format (Default)
Human-readable table output, best for interactive use:JSON Format
Machine-readable output for scripting and automation:Filtering JSON with jq
Combine with jq for powerful filtering:Pagination
Many list commands support pagination:next_page_token when more results are available.
Filtering
Most list commands support filtering options:Global Flags
These flags work with all commands:| Flag | Description |
|---|---|
--profile <name> | Use a specific auth profile |
--json | Output in JSON format |
--help | Show help for the command |
--version | Show CLI version |
Environment Variables
| Variable | Description |
|---|---|
TELNYX_API_KEY | API key (overrides config file) |
TELNYX_PROFILE | Default profile name |
TELNYX_CONFIG_DIR | Custom config directory |