Skip to main content
Returns time spent in each application broken down by hour and session — useful for “which apps did the user spend the most time in this morning?” style analytics. Each result is a (sessionId, hour, application → duration) triple.

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.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, statistics for all sessions in the database are returned. See Time parameter conventions for full rules and boundary clipping behavior.

Response (200 OK)

The response is an array of (session, hour) blocks. Each block has a data array — one entry per application — plus sessionId and timeOfDay fields.
array
Array of per-application time records for this (session, hour):
int32
The ID of the session this block belongs to.
date-time
The hour of the day (ISO 8601 with hour granularity).
The application name Idle appears alongside real application names — it represents the time the user was inactive during the hour. Filter it out client-side if you only want active-app time.

Example

Errors

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

URL statistics

Same shape, but for URLs instead of applications.

User productivity

Aggregate active time per user per hour — complements per-application data.

List sessions with productivity

Get sessions with overall duration and productivity time.

API reference

Base URL, authentication, status codes.