---
title: "List activity"
method: GET
path: "/v2/organizations/{organization_id}/insights/activity"
tags: ["insights"]
---

# List activity

`GET /v2/organizations/{organization_id}/insights/activity`

## Request

- Base URL: `https://api.hubstaff.com`
- URL: `https://api.hubstaff.com/v2/organizations/{organization_id}/insights/activity`
- Auth: OAuth 2
  - Authorization code: `https://account.hubstaff.com/authorizations/new`
  - Token URL: `https://account.hubstaff.com/access_tokens` scopes: `hubstaff:read`, `hubstaff:write`
- TypeScript: <https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/docs/v2/organizations/:organization_id/insights/activity/get.ts> (a function with typed inputs; its response is checked against the schema)

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.

## Path parameters

- `organization_id` integer, required

## Query parameters

- `date[start]` string, date, required
- `date[stop]` string, date, required
- `user_ids` integer[]
- `project_ids` integer[]
- `team_ids` integer[]
- `remote_vs_office` boolean
- `time_zone` string
- `cursor` string
- `page_limit` integer

## Response `200`

A list of activity rows

- object
  - `hubstaff_public_v2_entities_insights_activities` HubstaffPublicV2EntitiesInsightsActivity[]
    - `location` string: Member's dominant tracked location that day (remote | on_site | unknown); only present with remote_vs_office
    - `date` string, date, required: Organization-timezone date
    - `user_id` integer, required: User ID
    - `project_id` integer, required: Project ID
    - `overall` integer, required: Active seconds (activity numerator)
    - `input_tracked` integer, required: Tracked seconds with input monitoring (denominator)

## Other responses

- `400`: Invalid parameters
- `401`: Unauthorized
- `403`: API access is only for organizations on an active plan
- `404`: Could not find record
- `429`: Rate limit exceeded

## Changes

- **2026-11-06** `c6b90e4e4bdc`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/changes/v2/organizations/:organization_id/insights/activity/get.md)

---

[API](https://skmtc.dev/hubstaff/apis/hubstaff-v2-api.md) - [All operations](https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/revisions/c6b90e4e4bdc?raw)
