---
title: "App Stats"
method: GET
path: "/me/apps/{app_id}/stats"
---

# App Stats

`GET /me/apps/{app_id}/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/me/apps/{app_id}/stats`
- Auth: none declared

Report the access stats of every channel of one app.

The route makes two dispatches, and both only read, so both run on
``run_read_in_thread``. The first checks the access and reads the
channel ids in two statements. The second builds the payload.

## Path parameters

- `app_id` string, uuid, required

## 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)
