---
title: "Get Task Graph Neighbors"
method: GET
path: "/tasks/{task_id}/graph-neighbors"
---

# Get Task Graph Neighbors

`GET /tasks/{task_id}/graph-neighbors`

Return immediate dependency neighbours for a single task.

Powers the dashboard Deps tab: upstream tasks the requested one waits
on (its ``depends_on`` list) and downstream tasks that declare it as a
dependency.  Depth is intentionally fixed at 1 - the panel renders two
flat lists, not a transitive graph.

## Path parameters

- `task_id` string, required

## Response `200`

Successful Response

- object

## Other responses

- `404` — Task not found
- `422` — Validation Error

---

[API](https://skmtc.net/sipyourdrink-ltd/apis/bernstein-task-server.md) · [All operations](https://skmtc.net/sipyourdrink-ltd/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sipyourdrink-ltd/bernstein-task-server/versions/86f514b4e920/schema)
