Appearance
CLI
Ask questions, manage audiences, and explore projects — all from your terminal.
The OriginalVoices CLI (ov) gives you direct access to Digital Twins without writing any integration code.
Installation
bash
npm install -g @originalvoices/cliRequires Node.js 18+.
Authentication
Get your API key from platform.originalvoices.ai, then log in:
bash
ov auth loginYou'll be prompted to enter your key. Alternatively, pass it directly:
bash
ov auth login --key ov_live_your_key_hereThe key is stored in ~/.ov/config.json with restricted file permissions.
You can also set the OV_API_KEY environment variable — it takes priority over the config file:
bash
export OV_API_KEY=ov_live_your_key_hereCheck auth status
bash
ov auth statusLog out
bash
ov auth logoutAsking Questions
The ov ask command supports three modes: open-ended questions, multiple choice, and project-scoped questions.
Open-ended (default)
bash
ov ask "What frustrates you about project management tools?" \
--audience "US, 25-45, tech professionals"Ask multiple questions at once:
bash
ov ask "What do you look for in a running shoe?" "How much do you typically spend?" \
--audience "UK, 18-30, fitness enthusiasts"Sample size
Control how many Digital Twins respond with --sample-size:
bash
ov ask "What matters most when choosing a bank?" \
--audience "US, 30-50, homeowners" \
--sample-size highOptions: low, medium (default), high, very_high
Multiple choice
bash
ov ask "Which feature matters most?" \
--audience "US, 25-45, tech professionals" \
--type choices \
--choices "Price,Ease of use,Integrations,Support"Allow multiple selections:
bash
ov ask "Which features do you use?" \
--audience "US, 25-45, tech professionals" \
--type choices \
--choices "Dashboard,Reports,API,Webhooks" \
--multiple-choiceProject mode
Query Digital Twins within a specific project:
bash
ov ask "How often do you use navigation apps?" \
--project your-project-idFilter to a subset of respondents:
bash
ov ask "What would make you switch apps?" \
--project your-project-id \
--filter "people who use navigation apps daily"Managing Audiences
Save audience definitions to reuse across questions.
List audiences
bash
ov audiences listCreate an audience
bash
ov audiences create \
--title "US Tech Professionals" \
--prompt "US, 25-45, tech professionals working remotely"Use a saved audience
bash
ov ask "What's your biggest productivity blocker?" \
--audience-id your-audience-idUpdate an audience
bash
ov audiences update your-audience-id --title "US Remote Tech Workers"Delete an audience
bash
ov audiences delete your-audience-idExploring Projects
bash
ov projects listJSON Output
Add --json to any command for machine-readable output. Useful for scripting and piping with jq:
bash
ov ask "What matters most when choosing a bank?" \
--audience "US, 30-50, homeowners" \
--json | jq '.answers'bash
ov audiences list --jsonCommand Reference
| Command | Description |
|---|---|
ov auth login | Authenticate with your API key |
ov auth status | Show current auth status |
ov auth logout | Clear stored credentials |
ov ask <questions...> | Ask questions to Digital Twins |
ov audiences list | List saved audiences |
ov audiences create | Create a saved audience |
ov audiences update <id> | Update an audience title |
ov audiences delete <id> | Delete an audience |
ov projects list | List available projects |
Next Steps
- Question Guidelines — what types of questions work best
- API Quickstart — integrate via the Node.js SDK
- API Reference — full endpoint documentation