HTTP API

Sites

List, create, and patch sites. Domain is the join key for ingest.

GET /api/sites

Every site on the team. { id, domain, retention_days, … }.

POST /api/sites

body
{ "domain": "example.com" }

PATCH /api/sites/{id}

Update retention or display name. Changing domain after you have shipped the tracker will 404 ingest until you update data-domain.

Something off? Open an issue · Edit on GitHub