CLI
The Channel3 CLI lets you call any API endpoint from your terminal. Source code lives at github.com/channel3-ai/channel3-cli.
Installation
Authentication
Set your API key via environment variable, or pass it with --api-key on any command.
You can also set CHANNEL3_LANGUAGE, CHANNEL3_COUNTRY, and CHANNEL3_CURRENCY to apply default locale settings to every call.
To set these permanently, add the export lines to your ~/.zshrc (or ~/.bashrc) and run source ~/.zshrc to apply them to your current shell.
Usage
Commands follow a resource-based structure:
For example, to search for products:
Pass --help to any command for full flag documentation.
Passing files
Use the @ prefix to send a file as an argument — useful for image search:
Output formats
Change the output format with --format (json, jsonl, yaml, pretty, raw, explore), or extract fields with --transform using GJSON syntax: