---
title: "Admin Stats"
method: GET
path: "/admin/stats"
---

# Admin Stats

`GET /admin/stats`

## Request

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

Report the access stats of every channel of the fleet.

The query only reads, so it runs on ``run_read_in_thread``.
``require_admin`` keeps its own dispatch on ``run_in_thread``, and
that dispatch adds one statement before the query.

## Query parameters

- `range` string

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xhostd/apis/xhostd-public.md) · [All operations](https://skmtc.dev/xhostd/apis/xhostd-public/llms.txt) · [OpenAPI document](https://skmtc.dev/xhostd/apis/xhostd-public/revisions/bf439c4d1789?raw)
