activity

Return period-over-period trend series for the productivity score, focused time, in-tab activity level, and the productivity-class focused-time mix, bucketed by day (default) or week in the optional tz (else UTC), for a member (user) or across one or more groups (groups), else the whole organization. Also returns totals for the selected window and the immediately-preceding equal-length window for period-over-period deltas. Re-aggregates existing page-session spans (no new capture). Restricted to organization admins/managers and gated by the activity-tracking flag.

get/api/activity/reports/trends/

Query parameters

organizationstring uuid required

UUID of the organization to scope the report to.

userstring uuid

Optional member UUID to scope the report to one user.

groupsstring[]

Optional group UUIDs to scope the report; repeated (?groups=a&groups=b) or comma-separated (?groups=a,b).

startstring date-time

Optional ISO-8601 start of the report window (inclusive).

endstring date-time

Optional ISO-8601 end of the report window (exclusive).

granularity'day' | 'week'

Bucket granularity for the trend series: day (default) or week.

tzstring

Optional IANA timezone for day boundaries (e.g. America/New_York); defaults to UTC.

Changes

No recorded changes to this endpoint across all 1 revision of this API.