You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A/B & social experiments (/v1/experiments/*): Variant exposure/click/conversion tracking, lift calculation, and two-proportion Z-test statistical significance (pValue, significant95).
Community & VOC feedback (/v1/voc/*): Single/batch feedback ingestion, sentiment/category/status triage, search, and rollups.
External channel ingestion (/v1/channels/*): Standardized connectors, idempotent daily & snapshot ingestion, JSON/CSV bulk import, and HMAC-SHA256 signed webhooks (x-pulse-signature) for App Store, GitHub, X, relay nodes, and custom sources.
Agent-first MCP server (/v1/mcp & pnpm mcp): Built-in Model Context Protocol server powered by @modelcontextprotocol/sdk over both Streamable HTTP (/v1/mcp) and local stdio (server/mcp/stdio.ts), exposing 35 scope-guarded tools across analytics, growth, ingestion, and administration.
Complete bilingual OpenAPI 3.0.3 spec:/v1/openapi.json?lang=en|zh covers all auth, analytics, growth, channel, experiment, VOC, share, and MCP endpoints.
Automated verification suite: 80 unit/API/security tests (vitest) and 105 opaque-box E2E tests (including Playwright Chromium UI & live MCP transport checks).
Security
Streaming body-size enforcement in readJsonBody() to abort oversized chunked requests early (413).
Explicit Origin: null rejection in originGuard and CORS middleware; brute-force rate limiting on /v1/collect and /v1/collect/batch invalid keys.
Stripped non-UTM query parameters from stored events.url to prevent accidental token/PII persistence.
Trusted-proxy gating (PULSE_TRUST_PROXY=1) for both client IP extraction (X-Forwarded-For priority) and CDN GeoIP headers, with bounded FIFO rate-limit buckets.
Prevented revoked bootstrap keys from resurrecting on GET /v1/health, redacted shareId for read-only keys, hardened CSP headers and .dockerignore, and rejected prototype-pollution CSV headers.