---
title: "Read a project's wiki table of contents"
method: GET
path: "/projects/{projectId}/wiki"
tags: ["Projects"]
---

# Read a project's wiki table of contents

`GET /projects/{projectId}/wiki`

## Request

- Base URL: `https://api.atako.ai`
- URL: `https://api.atako.ai/projects/{projectId}/wiki`
- Auth: HTTP bearer

The sidebar's view: titles and nesting, with how many times each page was rewritten. Ask for `withContent=true` only when you actually want every page's Markdown — the summary stays light by default.

## Path parameters

- `projectId` string, uuid, required

## Query parameters

- `withContent` 'true' | 'false'

## Response `200`

- object
  - `pages` ProjectWikiNode[], required
    - `id` string, uuid, required
    - `title` string, required
    - `path` string, required
    - `position` integer, required: Rank among its siblings.
    - `revisionCount` integer, required
    - `content` string
    - `children` ProjectWikiNode[], required

## Other responses

- `400`: Malformed project/card/page/revision id, invalid JSON body, or validation error.
- `401`: Missing, malformed, or invalid bearer token / API key, or revoked session (SESSION_REVOKED).
- `404`: Not found, or the caller is not authorized to access this resource.

---

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