---
title: "Get Team Stats"
method: GET
path: "/api/admin/dashboard/stats"
tags: ["Admin Dashboard"]
---

# Get Team Stats

`GET /api/admin/dashboard/stats`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/admin/dashboard/stats`
- Auth: HTTP bearer

Get authorized team or organization usage statistics.

## Query parameters

- `scope` 'team' | 'organization'
- `team_id` string, nullable

## Response `200`

Successful Response

- TeamUsageStats
  - `total_documents` integer, required
  - `total_workflows` integer, required
  - `total_executions` integer, required
  - `tokens_used_today` integer, required
  - `tokens_used_this_week` integer, required
  - `active_members` integer, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-09** `6fe617c112ef`: 3 info
  - added the new optional `query` request parameter `scope`
  - added the new optional `query` request parameter `team_id`
  - added the non-success response with the status `422`
- **2026-08-29** `7a7c8e2b5afc`: 2 warning, 1 info
  - deleted the `query` request parameter `scope`
  - deleted the `query` request parameter `team_id`
  - removed the non-success response with the status `422`
- **2026-08-26** `c5a6fbe2731c`: 3 info
  - added the new optional `query` request parameter `scope`
  - added the new optional `query` request parameter `team_id`
  - added the non-success response with the status `422`

[Operation history](https://skmtc.dev/qomplement/apis/qomplement-api/changes/api/admin/dashboard/stats/get.md)

---

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