---
title: "Dependency map for a curriculum"
method: GET
path: "/curriculums/{curriculumId}/dependency-map"
tags: ["Curriculum"]
---

# Dependency map for a curriculum

`GET /curriculums/{curriculumId}/dependency-map`

Returns the dependency relationships between lesson groupings within a curriculum.

Dependencies represent prerequisite relationships between lesson groupings (units, sections, modules).
A dependency from source → target means the target is a prerequisite — it should be taught before the source.

Use this endpoint when you need to:
- Visualize the dependency graph for a curriculum
- Understand prerequisite relationships between units or sections
- Build a dependency-aware course planner or sequencing tool

## Path parameters

- `curriculumId` 'im360', required — Unique identifier for the resource in Knowledge Graph

## Query parameters

- `limit` integer
- `cursor` string

## Response `200`

Successfully retrieved paginated dependency map

- DependencyMapResponse
  - `dependencies` Dependency[], required — Dependency relationships between lesson groupings, grouped by source
    - `source` string, required — Unique identifier for the resource in Knowledge Graph
    - `sourceName` string — Name or title of the resource
    - `sourceCurriculumLabel` string — Curriculum label of the source lesson grouping (e.g., "Unit", "Section")
    - `hasDependency` DependencyTarget[], required — Lesson groupings that this source has a dependency on (prerequisites)
      - `identifier` string, required — Unique identifier for the resource in Knowledge Graph
      - `name` string — Name or title of the resource
      - `curriculumLabel` string — Curriculum label of the target lesson grouping (e.g., "Unit", "Section")
  - `pagination` Pagination, required — Cursor-based pagination metadata
    - `limit` integer, required — Maximum number of results to return per page
    - `nextCursor` string, nullable — Cursor for fetching the next page of results in your next request (`null` if there are no more results)
    - `hasMore` boolean, required — Whether there are more results after this page

## Other responses

- `400` — Bad request - Invalid query parameters
- `422` — Unprocessable Entity - Invalid curriculumId value
- `500` — Internal server error

---

[API](https://skmtc.dev/learningcommons/apis/learning-commons-knowledge-graph-rest-api.md) · [All operations](https://skmtc.dev/learningcommons/apis/learning-commons-knowledge-graph-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/learningcommons/learning-commons-knowledge-graph-rest-api/revisions/87a44fbb081f/schema)
