Your analytics,
from the terminal.
reveata reads websites, stats, realtime visitors, goals and visitor profiles, and sends goals and payments from your scripts or backend. It works with the same data and tokens as the REST API.
Node 22 or newer. Tables by default, raw JSON with --json.
reveata stats overview --site example.com --period last_7d reveata stats breakdown --site example.com --dimension channel --metrics visitors,revenue --sort revenue reveata sites list --json | jq '.[].domain'
Install and sign in
Install it with npm install -g @reveata/cli. Anything the CLI does, you can also do with the REST API and the same token.
1. Install
Published at launchInstalls the reveata command globally.
npm install -g @reveata/cli reveata --help
2. Sign in
Create an account token (dt_pat_…) with the permissions you need, or use a website’s site key (dt_site_…). The token is checked, saved with the server address and never printed again.
reveata login --api-url https://reveata.com reveata whoami
Every command
70 commands in 14 groups. Each group has a page in the docs with every option and example, and CLI permissions and roles shows what each command needs.
Sign in and account →
reveata loginreveata logoutreveata whoamireveata account getreveata account update
Websites →
reveata sites listreveata sites getreveata sites create <domain>reveata sites updatereveata sites settingsreveata sites attribution
Analytics →
reveata stats overviewreveata stats timeseriesreveata stats breakdownreveata stats new-vs-returningreveata mentions list
Realtime →
reveata realtime
Goals →
reveata goals listreveata goals completionsreveata goals update <goalName>reveata goals reset <goalName>
Funnels →
reveata funnels listreveata funnels results <funnelId>reveata funnels create <name>reveata funnels update <funnelId>reveata funnels delete <funnelId>
Visitors →
reveata visitors listreveata visitors get <visitorId>reveata visitors journey <visitorId>
Events →
reveata events send <goalName>
Payments and revenue →
reveata integrations listreveata integrations test <integrationId>reveata payments sendreveata payments listreveata customers summaryreveata revenue subscriptions
Crawler requests →
reveata bots reportreveata bots rulesreveata bots forward [logfile]
Team and access →
reveata tokens listreveata tokens createreveata tokens update <tokenId>reveata tokens revoke <tokenId>reveata team listreveata team invite <email>reveata team role <userId>reveata team remove <userId>reveata team revoke-invite <inviteId>reveata keys listreveata keys create <name>reveata keys roll <keyId>reveata keys revoke <keyId>
Alerts →
reveata alerts listreveata alerts get <alertId>reveata alerts create <type>reveata alerts update <alertId>reveata alerts delete <alertId>reveata alerts test <alertId>reveata alerts history [alertId]
Segments and notes →
reveata segments listreveata segments create <name>reveata segments delete <segmentId>reveata notes listreveata notes add <YYYY-MM-DD> <text>reveata notes update <noteId>reveata notes delete <noteId>
Config and completion →
reveata config showreveata config set-site <id|domain>reveata config clear-sitereveata completion <bash|zsh|fish>
Other ways to reach your data
API reference
Every REST endpoint the CLI calls, with parameters, responses and code samples.
Open the API reference →MCP server
Let ChatGPT, Claude, Cursor or another MCP client answer questions about it.
Connect an assistant →API introduction
Base URL, tokens and permissions, errors, pagination and rate limits.
Read the introduction →Script your analytics
Pipe stats into a report, record payments from your backend or check revenue without opening the dashboard.