band sample run
Download and run a sample application
Synopsis
Clones the sample app, wires up Bandwidth credentials from your active band profile, starts an ngrok tunnel, and launches the app.
Samples that need their own configuration read it from the environment, the same way BW_CLIENT_ID and BW_CLIENT_SECRET work. Run the command without them to see which variables a given sample expects.
Pass --call-to to automatically dial a number once the app is ready.
band sample run <name> [flags]
Examples
band sample run live-assistant --language python
OPENAI_API_KEY=sk-... TRANSFER_TO=+19195550100 band sample run live-assistant --language python
OPENAI_API_KEY=sk-... TRANSFER_TO=+19195550100 band sample run live-assistant --language python --call-to +19195550101
Options
--call-to string Phone number to call after the app is ready (E.164)
-h, --help help for run
-l, --language string Language variant to run (required)
--port int Local port (default: from catalog)
Options inherited from parent commands
--account-id string Bandwidth account ID (overrides config)
--environment string API environment: prod, test (overrides config)
--format string Output format: json or table (default "json")
--plain Simplified flat JSON output (recommended for scripts and agents)
SEE ALSO
- band sample - Run Bandwidth sample applications