---
title: "GET /api/notes/{note}/graph"
method: GET
path: "/api/notes/{note}/graph"
tags: ["note-controller"]
---

# GET /api/notes/{note}/graph

`GET /api/notes/{note}/graph`

## Request

- Base URL: `` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/notes/{note}/graph`
- Auth: none declared

## Path parameters

- `note` integer, required

## Query parameters

- `tokenLimit` integer, required

## Response `200`

OK

- FocusContextResult
  - `focusNote` FocusContextFocusNote
    - `notebook` string
    - `title` string
    - `folderPath` string
    - `depth` integer
    - `outgoingLinks` string[]
    - `inboundReferences` string[]
    - `sampleSiblings` string[]
    - `createdAt` string, date-time
    - `content` string
    - `contentTruncated` boolean
  - `relatedNotes` FocusContextNote[]
    - `notebook` string
    - `title` string
    - `folderPath` string
    - `depth` integer
    - `retrievalPath` string[]
    - `createdAt` string, date-time
    - `content` string
    - `contentTruncated` boolean

## Changes

- **2026-08-21** `1969b4afefb7`: 1 warning
  - removed the optional property `relatedNotes/items/edgeType` from the response with the `200` status

[Operation history](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api/changes/api/notes/:note/graph/get.md)

---

[API](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api.md) - [All operations](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api/revisions/193c5e89085a?raw)
