---
title: "Schema overview"
method: GET
path: "/v1/stats"
tags: ["Schema"]
---

# Schema overview

`GET /v1/stats`

## Request

- Base URL: `https://api.rossdata.dev`
- URL: `https://api.rossdata.dev/v1/stats`
- Auth: none declared

One-call overview: counts by type, modules, top tables/columns, coupling.

## Response `200`

OK

- Stats
  - `schema` string
  - `modules` string[]
  - `counts` object
    - `table` integer
    - `view` integer
    - `procedure` integer
    - `function` integer
  - `totalColumns` integer
  - `distinctColumnNames` integer
  - `auditTwinPairs` integer
  - `insights` object
  - `topModules` array[]: [module, objectCount] pairs, most objects first
    - unknown[]
      - unknown

---

[API](https://skmtc.dev/rossdata/apis/rossdata-dev-api.md) · [All operations](https://skmtc.dev/rossdata/apis/rossdata-dev-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rossdata/apis/rossdata-dev-api/revisions/8c796f2e258c?raw)
