---
title: "Corpus statistics, counts only"
method: GET
path: "/stats"
---

# Corpus statistics, counts only

`GET /stats`

## Request

- Base URL: `https://www.edgechat.ai/api/v1`
- URL: `https://www.edgechat.ai/api/v1/stats`
- Auth: none declared

Articles, links, and other names.

## Query parameters

- `topic` string
- `geo` string
- `by` 'period'
- `fields` string

## Response `200`

OK

- GetStatsResponse: Shape read from a live answer of 2026-10-07; fields may be added, never renamed or removed. Every field is optional: an answer carries the fields of its own branch. Without topic or geo: `corpus`. With one: that node's `node`, counts, and `children`. `articles` here counts distinct articles; /geo and /trees/geo count placements (an article in two periods counts twice there).
  - `corpus` object
    - `articles` integer
    - `links` integer
    - `other_names` integer
    - `topic_nodes` integer
    - `geo_nodes` integer
  - `license` object
    - `name` string
    - `url` string
    - `summary` string
  - `node` object
    - `id` string
    - `label` string
    - `tree` 'topics' | 'geo'
  - `articles` integer
  - `links` integer
  - `other_names` integer
  - `by_period` object
  - `children` object[]
    - `id` string
    - `label` string
    - `articles` integer
    - `links` integer
    - `other_names` integer
    - `by_period` object
  - `periods` object

## Other responses

- `400`: An error: { error: { code, message } }
- `404`: An error: { error: { code, message } }
- `503`: An error: { error: { code, message } }

---

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