Skip to main content

API Reference

All API routes are located at apps/app/app/api/ and are served from the Next.js app.

Data endpoints

These endpoints fetch data from external services and return it with caching.
EndpointMethodServiceCache TTL
/api/analyticsGETOpenPanel60s
/api/revenueGETRevenueCat300s
/api/healthGETBetterStack60s
/api/sentryGETSentry120s
/api/seoGETGoogle Search Console300s
/api/shippingGETGitHub + Linear + Vercel120s
/api/ideasGETLinear120s
/api/open-collectiveGETOpen Collective300s
/api/app-storeGETApp Store Connect300s

Management endpoints

EndpointMethodsDescription
/api/settingsGET, POSTWidget layout and project order
/api/alerts/sendPOSTSend email alerts via Resend
/api/database/*GET, POSTDatabase config, testing, migration, import/export
/api/backupPOSTProactive cache refresh for all services