Statistics API v1
Aggregate-only, monthly-bucketed question statistics. Next.js on Vercel + Neon Postgres.
Endpoints
POST /v1/answers/batch— batched idempotent ingest (HMAC signed)GET /v1/apps/:appID/question-stats— windowed export, paginated (HMAC signed)GET /v1/apps/:appID/snapshot.csv— CDN-cacheable social-proof snapshot (key only)POST /v1/admin/apps/:appID/grounding— one-time grounding import (admin token)GET /v1/health— liveness
Auth: per-app appKey/appSecret with HMAC request signing (X-App-Key, X-Timestamp, X-Nonce, X-Signature). No per-user data is stored.