Plausible API tool
Plausible API CLI for stats reads and carefully gated event writes (events require explicit apply + confirmation).
If you use Plausible and you want analytics data in a script (instead of the dashboard), this tool helps.
It can read stats, and (optionally) send events.
The important rule: events are writes. So they’re gated harder than reads.
What you can do with it
- Pull stats and export results (read-only).
- Send events only with explicit confirmation (
--apply --yes). - Refuse likely PII in event properties (fail closed).
Quickstart
plausible-api-tool auth check
Status
- Release: v0.1.0
- Status label: Stable
- Verification date: shown in the Trust box at the top of the page.
Start here
If you’re new, start with the docs and the safety model first.