LLM Pulse CLI: query AI visibility data from the terminal

The LLM Pulse CLI provides command-line access to your AI visibility data. Use it for scripting, automation, and integrating LLM Pulse into your development workflows. Available on Scale plans and above.

With the LLM Pulse CLI, you can:

  • Pull your visibility, citation, and competitor data from the command line
  • Script recurring reports and pipe results into your own tools
  • Wire AI visibility checks into CI pipelines and automations
  • Work with your data without opening the dashboard

What it does

  • Access all LLM Pulse API data from your terminal without opening the web interface
  • Script automated reports and data exports on a schedule
  • Integrate AI visibility checks into CI/CD pipelines or monitoring scripts
  • Query metrics, dimensions, prompts, mentions, and citations programmatically
  • Output data in multiple formats: JSON (default), table view, or CSV

How to use it

  1. Install via npm: npm install -g llmpulse-cli
  2. Authenticate with your API key: llmpulse auth --key llmpulse_your_key
  3. List your projects: llmpulse projects list
  4. Get visibility metrics: llmpulse metrics --project-id ID --range 30
  5. Export prompt data: llmpulse prompts --project-id ID --format csv
  6. Run llmpulse --help for the full command reference

Common use cases

  • Automated monitoring: run a cron job that checks visibility metrics daily and alerts on drops
  • Data exports: schedule weekly CSV exports of prompt performance for reporting
  • CI/CD integration: check if AI visibility metrics meet a threshold before deploying content changes
  • Quick lookups: check a specific metric without switching to the browser

Tips & notes

  • Requires an API key ( Scale plans and above )
  • Uses the same REST API endpoints under the hood, same rate limits (300 requests/minute)
  • The CLI authenticates by storing your API key locally after the initial auth command
  • All API endpoints available in the REST API are accessible through the CLI
  • Combine with tools like jq for JSON processing or pipe to other scripts for custom workflows
  • The same API key works for CLI, REST API, MCP, and Looker Studio connector

Was this article helpful?

If something is still unclear or you spotted an issue, let us know and we will improve this guide.

Get in touch

Start tracking your AI visibility

See how your brand appears across ChatGPT, Perplexity, Gemini, and Google AI. Start your 14-day free trial in minutes.

Start Free Trial
14-day free trial
Cancel anytime

Not ready to buy yet? Schedule a demo and discover LLM Pulse with our founders