---
title: "GET /api/v1/instance/stats"
method: GET
path: "/api/v1/instance/stats"
tags: ["InstanceService"]
---

# GET /api/v1/instance/stats

`GET /api/v1/instance/stats`

GetInstanceStats returns resource usage statistics for the instance. Admin only.

## Response `200`

OK

- InstanceStats — Resource usage statistics for the instance.
  - `database` InstanceStatsDatabaseStats — Database size statistics.
    - `driver` string — driver is one of "sqlite", "mysql", "postgres".
    - `sizeBytes` string — size_bytes is the database size in bytes; -1 if unavailable.
  - `localStorageBytes` string — Recursive size of the data directory in bytes. -1 if unavailable.
  - `generatedTime` string, date-time — Server-side timestamp when the snapshot was generated.

## Other responses

- `default` — Default error response

## Changes

> 63 revisions in range; 51 could not be searched.

- **2025-12-15** `d740073f088f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/usememos/apis/untitled-api/changes/api/v1/instance/stats/get.md)

---

[API](https://skmtc.dev/usememos/apis/untitled-api.md) · [All operations](https://skmtc.dev/usememos/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usememos/untitled-api/revisions/9f2688df7c2e/schema)
