Skip to main content
Returns sessions with detailed productivity information — duration, idle time, productive time, plus the user name and Client name in the response. Paginated with up to 1000 sessions per request. This is the endpoint to use for productivity dashboards and time-tracking analytics.

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. See Time parameter conventions.
string
Sessions that were started or finished before this time are included.
int32
default:"1000"
Number of sessions to return per request.Default: 1000. Maximum: 1000.
int32
default:"0"
Page index for pagination — starts at 0. Use this to retrieve the next 1000 sessions after the first request.
Requesting more than 1000 sessions (sessionCount > 1000) returns HTTP 400 Bad Request.
If both start and end are omitted, all sessions in the database are returned (subject to pagination). See Time parameter conventions for boundary clipping rules.

Response (200 OK)

array
Array of session objects with the following per-session fields:
int32
Total number of sessions matching the filter (across all pages — useful for displaying “1–1000 of N” in your UI).

Example

Errors

See Status codes. Common errors:
  • 400 Bad Request — invalid time format, or sessionCount > 1000.
  • 403 Forbidden — Data Connector not registered. See Deactivate.

List sessions (GET)

Same endpoint, GET method — returns basic info only, no productivity, no pagination.

User productivity

Aggregate productivity across users, by hour of day.

Power BI example

The Power BI use case calls this endpoint to populate productivity dashboards.

API reference

Base URL, authentication, status codes, time parameters.