CLI

Integrations & API

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.

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

Related articles