---
title: "Get database statistics"
method: GET
path: "/admin/database/stats"
tags: ["Admin"]
---

# Get database statistics

`GET /admin/database/stats`

Retrieves table names and estimated row counts for tables in the 'user_info' namespace. Requires AdminDatabaseStats permissions.

## Response `200`

Successfully retrieved database statistics

- AdminTableRowCount[]
  - `estimated_row_count` integer
  - `table_name` string

## Other responses

- `403` — Forbidden: Insufficient permissions
- `500` — Internal Server Error

---

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