insights
List activity
Returns active and input-tracked seconds per date, user, and project. Requires the Insights add-on and organization owner or manager access. Rate limited to 120 requests per hour, separately from the global API limit.
get/v2/organizations/{organization_id}/insights/activity
Request
- Base URLhttps://api.hubstaff.com
- AuthOAuth 2Authorization codehttps://account.hubstaff.com/authorizations/newToken URLhttps://account.hubstaff.com/access_tokensScopeshubstaff:read, hubstaff:write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
organization_idinteger required
Query parameters
date[start]string date required
Start date (ISO 8601)
date[stop]string date required
Stop date (ISO 8601, Inclusive)
user_idsinteger[]
List of user IDs
project_idsinteger[]
List of project IDs
team_idsinteger[]
List of team IDs
remote_vs_officeboolean
Add a per-row location field (remote | on_site | unknown)
time_zonestring
Timezone for date bucketing (defaults to org timezone)
cursorstring
Opaque pagination cursor from the previous response
page_limitinteger
Page size
Response
A list of activity rows
Changes
No recorded changes to this operation across all 1 revision of this API.