---
title: "Browse the Notion resource tree"
method: GET
path: "/v1/integrations/notion/tree"
tags: ["integrations"]
---

# Browse the Notion resource tree

`GET /v1/integrations/notion/tree`

List the children of ``parent_id`` (or the roots), or flat search matches, with each node's sync state.

## Query parameters

- `installation_id` string, uuid, required — Notion installation ID
- `parent_id` string, nullable — Browse this node's children; omit for the roots
- `query` string, nullable — Flat-search resources by title

## Response `200`

One level of the Notion resource tree

- NotionTreeResponse — Notion resource tree level response.
  - `data` NotionTreeView, required — One level of the Notion resource tree: the children of ``parent_id`` (or the roots), fetched lazily. Everything shared with the integration is ingested; this is a read-only view of that shared resource tree.
    - `installation_id` string, required — Notion installation ID
    - `parent_id` string, nullable — The browsed node, or null when listing the roots
    - `items` NotionTreeItem[] — Children of the browsed node (or flat search matches)
      - `id` string, required — Notion resource ID
      - `name` string, required — Notion resource title
      - `resource_type` 'notion_page' | 'notion_database', required — Whether the resource is a page or a database
      - `has_children` boolean, required — Whether this resource has children to expand into
      - `status` 'pending' | 'processing' | 'completed' | 'failed' — Ingestion status of this resource (pending until it has been ingested)
    - `total` integer — Number of items returned

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mixedbread/apis/mxbai-omni.md) · [All operations](https://skmtc.net/mixedbread/apis/mxbai-omni/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixedbread/mxbai-omni/versions/2eece97b5ae5/schema)
