---
title: "Get top activities"
method: GET
path: "/workspaces/{workspace_id}/dashboard/top_activity"
tags: ["dashboard"]
---

# Get top activities

`GET /workspaces/{workspace_id}/dashboard/top_activity`

## Request

- Base URL: `https://localhost:8080/api/v9`
- URL: `https://localhost:8080/api/v9/workspaces/{workspace_id}/dashboard/top_activity`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/toggl/apis/toggl-api/docs/workspaces/:workspace_id/dashboard/top_activity/get.ts> (a function with typed inputs; its response is checked against the schema)

Dashboard's main purpose is to give an overview of what users in the workspace are doing and have been doing.
Return objects are same as with the `/workspaces/{workspace_id}/dashboard/all_activity` request.

## Path parameters

- `workspace_id` integer, required

## Request body `application/x-www-form-urlencoded`

- object
  - `since` integer: Filter activities since this date using UNIX timestamp.

## Response `200`

Successful operation

- DashboardAllActivities[]
  - `description` string
  - `duration` integer
  - `project_id` integer
  - `stop` string, date-time
  - `tid` integer
  - `user_id` integer

## Other responses

- `500`: Internal Server Error

---

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