Analytics for current + previous period
Changed onCombined KPI summary and time-series for two ranges (current + previous for deltas). All ranges are computed in the user's timezone (query tz or UTC fallback). Resolution order: query > user settings > default.
Request
- Base URLhttps://api.pwapps.com (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URLhttps://api.pwapps.com/api/v1/user/login
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Narrow analytics to trackers owned by the given teams. Filtered against the caller's permitted set; invalid ids are dropped silently.
Narrow analytics to trackers owned by the given company members. Filtered against the caller's permitted set; invalid ids are dropped silently.
Period preset id. Required unless the user has a stored defaultPeriod.
Required when period=custom (ISO 8601).
Required when period=custom (ISO 8601).
IANA timezone (e.g. Europe/Berlin). UTC fallback.
Subset of fields to include in dataPoints.
Opt-in summary keys. Currently only uniqueUsers (COUNT DISTINCT) actually changes execution; other keys are always populated.
Response
Successful Response
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info