---
title: "Knowledge-graph neighbours"
method: GET
path: "/v1/graph/{name}"
tags: ["Graph"]
---

# Knowledge-graph neighbours

`GET /v1/graph/{name}`

## Request

- Base URL: `https://api.rossdata.dev`
- URL: `https://api.rossdata.dev/v1/graph/{name}`
- Auth: none declared

Connected programs, tables, views, procedures.

## Path parameters

- `name` string, required

## Query parameters

- `limit` integer

## Response `200`

OK

- GraphResult
  - `node` object
    - `label` string
    - `type` string
    - `module` string, nullable
    - `connections` integer: Total degree of this node
  - `neighborCount` integer
  - `neighbors` object[]
    - `label` string
    - `type` string
    - `module` string, nullable
    - `relation` string
    - `direction` 'in' | 'out'
  - `links` object

## Other responses

- `404`: No graph node with that name

---

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