---
title: "Aggregate stats per workspace for the authenticated user"
method: GET
path: "/api/workspaces/stats"
tags: ["workspaces"]
---

# Aggregate stats per workspace for the authenticated user

`GET /api/workspaces/stats`

## Request

- Base URL: `https://api.hillstar.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.hillstar.ai/api/workspaces/stats`
- Auth: none declared

## Response `200`

OK

- WorkspaceStatsResponse[], nullable
  - `last_activity` string, date-time, required
  - `member_count` integer, required
  - `project_count` integer, required
  - `recent_projects` RecentProjectInfo[], required
    - `last_activity` string, date-time, required
    - `project_id` integer, required
    - `project_name` string, required
  - `role` string, required
  - `workspace_id` integer, required
  - `workspace_name` string, required

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/hillstar/apis/rfpai-api-go.md) - [All operations](https://skmtc.dev/hillstar/apis/rfpai-api-go/llms.txt) - [OpenAPI document](https://skmtc.dev/hillstar/apis/rfpai-api-go/revisions/b2532dc47fc6?raw)
