palbaseDocs

Palbase Analytics · API

GET/analytics/perf/client

Read performance percentiles

The window's samples, grouped by their type and name and by one more dimension (the name alone, the app version, the platform, the OS version): p50, p75, p95, p99 and how many samples, the most sampled first.

Called by your server, with the project's secret key.

Query

window_secondsinteger · optionalHow far back to look, in seconds (an hour unless said; never past the project's retention).
trace_type"network" | "app_start" | "custom" | "screen" | "web_vital" · optionalOnly this type.
namestring · optionalOnly this measure.
group_by"name" | "app_version" | "platform" | "os_version" · optionalThe dimension (name unless said).
limitinteger · optionalRows per page (100 unless said).
cursorstring · optionalThe next_cursor of the page before: reads the page after it.
curl
curl -X GET "https://<your-ref>.palbase.studio/analytics/perf/client" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200A page of groups

400The request is malformed, or what it sends breaks a limit (the error names which: the SDKs' codes)

401No key, or not a key of this project, or a token that is not valid (the edge's answer)

403Not the project's secret key

429The project is sending analytics faster than its per-second limit (rate_limited), or its quota for the period is used up (quota_exceeded); Retry-After says when to try again

503The platform could not take or answer this now; nothing was kept, and retrying is safe (Retry-After)

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation ListPerfGroups of analytics's contract.