---
title: "Get graph neighbourhood for a document"
method: GET
path: "/v1/linking/graph/documents/{id}"
tags: ["Linking"]
---

# Get graph neighbourhood for a document

`GET /v1/linking/graph/documents/{id}`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/linking/graph/documents/{id}`
- Auth: HTTP bearer

Returns the subgraph of entities and linked documents for a specific document.

## Path parameters

- `id` string, uuid, required

## Response `200`

Document-centric subgraph.

- object
  - `nodes` object[]
  - `edges` object[]

## Other responses

- `401`: Missing or invalid API key.
- `404`: The requested resource was not found.
- `429`: Daily rate limit exceeded.

---

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