Spoar

API reference

Every route of the v2 API, generated from apps/api/openapi.json and grouped by tag.

Ingest

Send events from browsers and servers

Sign-in

GitHub sign-in through Better Auth and the current session

Projects

Projects, their visibility and keys

Tokens

API tokens for scripts and CI

Reads

Aggregate reads for one project

Visitor-level reads

Events, visitors and sessions at the detail level

All projects

The same reads across every readable project

Speed

Core Web Vitals and the Real Experience Score

Issues

Error tracking, issues and error rules

Annotations

Dated labels on a project's time series

Dev widget

The admin dev widget: bootstrap, live visitors and sessions, logs, overview

Alerts

Alert targets, deliveries and their status

SQL

The read-only SQL console and saved queries

Jobs

Scheduled jobs and operations metrics

System

Health and documentation

On this page