palbaseDocs

API reference

Palbase Analytics

Palbase's analytics module: what a project's apps send — product events (captures, identifies, aliases, screens, page views), performance samples, request traces, console history — and what the project's server reads back: summaries, event lists, funnels, retention tables, requests, performance percentiles, console records. One shared, multi-tenant service: every project's rows are in shared tables of a replicated ClickHouse, and a row policy lets a read see only the project it names.

Two doors. A client app sends with the publishable key, and a signed-in user's token makes what it sends theirs. The project's server reads and changes its settings with its secret key (apikey, role service_role).

What an app sends is limited per project per second (all kinds together), and kept as long as the project's retention says (90 days for events, samples and traces, 14 for console records, unless changed). Places (country, region, city) are resolved with DB-IP's IP to City Lite database: IP geolocation by DB-IP (https://db-ip.com), CC BY 4.0.

The contract itself: /openapi/analytics.openapi.json

Audiences

Ingest

Events

Console

Performance

Requests

Settings

Traces

People