---
title: "Workspace statistics"
method: GET
path: "/workspaces/{workspace_id}/statistics"
tags: ["workspaces"]
---

# Workspace statistics

`GET /workspaces/{workspace_id}/statistics`

## Request

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

Returns workspace admins list, members count and groups count

## Response `200`

Successful operation.

- ModelsStatistics
  - `admins` ModelsUserData[]
    - `name` string
    - `user_id` integer
  - `groups_count` integer
  - `members_count` integer

## Other responses

- `403`: User does not have access to this resource.
- `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)
