---
title: "Retrieve annual user activity summary for a workspace"
method: GET
path: "/workspaces/{workspace_id}/reports/userActivity/annualSummary"
tags: ["Reporting"]
---

# Retrieve annual user activity summary for a workspace

`GET /workspaces/{workspace_id}/reports/userActivity/annualSummary`

Query annual user activity (automator events) for a workspace. Returns user activity counts for a 12-month period starting from the specified month and year.

## Path parameters

- `workspace_id` string, required

## Query parameters

- `year` integer
- `month` integer
- `limit` integer
- `cursor` string

## Response `200`

Annual user activity summary for the specified workspace

- WorkspaceAnnualUserActivity — Annual user activity summary for a workspace with monthly breakdown
  - `workspace_id` string — Id of the associated workspace for this summary
  - `interval_start` integer — Starting time of the interval in epoch milliseconds
  - `interval_end` integer — Ending time of the interval in epoch milliseconds
  - `users` UserActivitySummary[] — List of users with their activity counts
    - `user_id` string — The user's ID
    - `email` string — The user's email address
    - `name` string — The user's full name
    - `activity_count` integer — Total number of automator events (edits) by this user in the time range
    - `last_activity_time` integer — Timestamp of the user's most recent activity in epoch milliseconds
  - `cursor` string — Cursor for fetching the next page of results. Null if no more results.

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `default` — Unexpected error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
