Skip to content
Reveata CLI

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 launch

Installs 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
Config file, environment and JSON output →

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 login
  • reveata logout
  • reveata whoami
  • reveata account get
  • reveata account update

Websites →

  • reveata sites list
  • reveata sites get
  • reveata sites create <domain>
  • reveata sites update
  • reveata sites settings
  • reveata sites attribution

Analytics →

  • reveata stats overview
  • reveata stats timeseries
  • reveata stats breakdown
  • reveata stats new-vs-returning
  • reveata mentions list

Realtime →

  • reveata realtime

Goals →

  • reveata goals list
  • reveata goals completions
  • reveata goals update <goalName>
  • reveata goals reset <goalName>

Funnels →

  • reveata funnels list
  • reveata funnels results <funnelId>
  • reveata funnels create <name>
  • reveata funnels update <funnelId>
  • reveata funnels delete <funnelId>

Visitors →

  • reveata visitors list
  • reveata visitors get <visitorId>
  • reveata visitors journey <visitorId>

Events →

  • reveata events send <goalName>

Payments and revenue →

  • reveata integrations list
  • reveata integrations test <integrationId>
  • reveata payments send
  • reveata payments list
  • reveata customers summary
  • reveata revenue subscriptions

Crawler requests →

  • reveata bots report
  • reveata bots rules
  • reveata bots forward [logfile]

Team and access →

  • reveata tokens list
  • reveata tokens create
  • reveata tokens update <tokenId>
  • reveata tokens revoke <tokenId>
  • reveata team list
  • reveata team invite <email>
  • reveata team role <userId>
  • reveata team remove <userId>
  • reveata team revoke-invite <inviteId>
  • reveata keys list
  • reveata keys create <name>
  • reveata keys roll <keyId>
  • reveata keys revoke <keyId>

Alerts →

  • reveata alerts list
  • reveata 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 list
  • reveata segments create <name>
  • reveata segments delete <segmentId>
  • reveata notes list
  • reveata notes add <YYYY-MM-DD> <text>
  • reveata notes update <noteId>
  • reveata notes delete <noteId>

Config and completion →

  • reveata config show
  • reveata config set-site <id|domain>
  • reveata config clear-site
  • reveata completion <bash|zsh|fish>

Other ways to reach your data

Script your analytics

Pipe stats into a report, record payments from your backend or check revenue without opening the dashboard.