---
title: "A tree whole (topic, or geo while the geography tree is live)"
method: GET
path: "/trees/{tree}"
---

# A tree whole (topic, or geo while the geography tree is live)

`GET /trees/{tree}`

## Request

- Base URL: `https://www.edgechat.ai/api/v1`
- URL: `https://www.edgechat.ai/api/v1/trees/{tree}`
- Auth: none declared

## Path parameters

- `tree` 'topic' | 'geo', required

## Query parameters

- `fields` string

## Response `200`

The tree, compact JSON.

- Tree
  - `tree` 'topic' | 'geo'
  - `format` 1
  - `revision` unknown
  - `articles` integer
  - `nodes` array[]: [id, label, parent index, own articles]; an id beginning with a dot continues its parent's id.
    - unknown[]
      - unknown

## Other responses

- `304`: Unchanged (If-None-Match).
- `404`: No such tree.

---

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