Docs

Last updated July 19, 2026

Quick start

curl -fsSL https://autopayradar.com/install.sh | sh

The recommended path is browser system wiring. The optional command installs the verified connector, registers autostart, starts it on 127.0.0.1:41414, and opens the local dashboard.

The API — try it yourself

The local connector serves three GET endpoints on loopback. With it running, these work from any terminal on your machine, and only there:

curl http://127.0.0.1:41414/health

{"status":"ready","engineVersion":"20.0.17","pna":true}

curl http://127.0.0.1:41414/status

Detected agents with the date range of their logs, last scan time, and any scan error (with the exact fix command).

curl "http://127.0.0.1:41414/usage?shape=daily"

Normalized aggregates: per-day rows with per-agent children and per-model breakdowns — token counts, model IDs, timestamps, API-equivalent cost. shape=monthly|session for the other views. Add &fresh=1 to force a rescan — throttled to one per 5 seconds; a throttled response serves cache and says so with "throttled": true. Rescans otherwise run every 60 s, single-flight (concurrent callers share one engine run).

Security model, verifiable

Where your numbers come from

  1. If a log records costUSD, the local connector trusts that number verbatim.
  2. Otherwise, known models are computed with its pinned pricing table.
  3. Models that postdate that table keep the engine's number but are marked ~ estimated.
  4. Raw values are summed before display; USD is then rounded once to two decimals using half-even rounding.
  5. The machine running the local connector owns the timezone and calendar-day boundaries.

CLI reference

The port defaults to 41414. Local-development and headless modes are also supported.

Where your data lives

Zero-install paths

Verify what you run

SHA-256 checksums for connector artifacts are published at /downloads/checksums.json; the version manifest lives in the version manifest. Source: github.com/abhijay-sudo/usage-radar. The repository's connector suite runs 24 tests, including the global golden, origin/host rejections, staged updater, and single-flight throttle.

Uninstall

node ~/.usage-radar-connector/bin/usage-radar-connector.cjs uninstall

Removes everything, touches nothing else, and never changes your agent logs.