Skip to main content
Returns time spent on each URL broken down by hour and session — useful for “which sites did the user visit during work hours?” style analytics. Same structural shape as Application statistics, but the key field contains a URL instead of an application name.

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.

Response (200 OK)

array
Array of per-URL time records for this (session, hour):
int32
The ID of the session this block belongs to.
date-time
The hour of the day.

Example

URL monitoring must be enabled on the Client for it to record URL data — see user activity recording parameters. Sessions without URL monitoring enabled won’t return URL records here.

Errors

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

Application statistics

Same shape, but for applications instead of URLs.

User productivity

Aggregate active time per user per hour.

List sessions with productivity

Session-level duration and productivity.

API reference

Base URL, authentication, status codes.