---
title: "Aggregate counts across all tenants (operator)"
method: GET
path: "/stats"
tags: ["Tenancy"]
---

# Aggregate counts across all tenants (operator)

`GET /stats`

## Request

- Base URL: `https://api.customdomain.ai/v1`
- URL: `https://api.customdomain.ai/v1/stats`
- Auth: HTTP bearer

How many tenants, accepted members and pending invites the control plane holds. An operator surface for the owner dashboard, gated by the management key: no tenant API key can reach it, and it carries no tenant data. `members` counts accepted members only (owners and teammates who signed up); an invite that was sent and never accepted counts under `pending_invites`, so the two add up to the members table.

## Response `200`

Counts

- object
  - `tenants` integer, required
  - `members` integer, required: Accepted members only.
  - `pending_invites` integer, required: Invites sent and not yet accepted.

## Other responses

- `401`: Error envelope: {code, title, details}.

---

[API](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api.md) · [All operations](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api/llms.txt) · [OpenAPI document](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api/revisions/34d89cb7a7cd?raw)
