---
title: "Get Task Graph"
method: GET
path: "/tasks/graph"
---

# Get Task Graph

`GET /tasks/graph`

Return the task dependency graph as JSON (nodes + edges + critical path).

Builds a DAG from all current tasks and returns:
- ``nodes``: list of {id, role, status, estimated_minutes, title}
- ``edges``: list of {from, to, type, semantic_type}
- ``critical_path``: ordered list of task IDs on the longest chain
- ``critical_path_minutes``: total estimated minutes on the critical path
- ``parallel_width``: max tasks that can run concurrently
- ``bottlenecks``: task IDs that block the most downstream work

## Response `200`

Successful Response

- unknown

## Other responses

- `403` — Tenant scope access denied
- `404` — Resource not found or tenant mismatch

---

[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)
