Skip to main content
Returns total active time (in minutes) for each user during each hour of each day. This is the canonical endpoint for user productivity dashboards — it aggregates across sessions and produces a clean (date, hour, user) → minutes shape ready for time-series visualizations.

Authentication

string
required
Your Active API Key from the Management Tool.

Query parameters

string
Sessions that were started or finished after this time are included in the productivity calculation.Accepted formats: 2021-04-01, 2021-04-01T12:00, 2021-04-01T12:00:00.
string
Sessions that were started or finished before this time are included.
If both start and end are omitted, productivity for all sessions in the database is returned. See Time parameter conventions for full rules and boundary clipping.

Response (200 OK)

date-time
The date (date portion is significant; time portion encodes UTC offset).
double
Total number of minutes the user was active during this hour of the day.
string
The user name.
int32
The hour of the day (023).

Example

For productivity heatmaps, group results by (userName, timeOfDay) across all dates in your range — the resulting matrix shows when each user is most active throughout the day. This is exactly the shape Power BI uses for the User Productivity report — see the Power BI example.

Errors

See Status codes. Common errors:
  • 400 Bad Request — invalid start or end format.
  • 403 Forbidden — Data Connector not registered.

List users

Get the full user list (use for filtering or display).

List sessions with productivity

Session-level productivity — duration, idle, productive time.

Application statistics

Per-application breakdown of where active time went.

Power BI example

The Power BI User Productivity report uses this endpoint.