---
title: "Get Module Graph"
method: GET
path: "/snapshots/{snapshot_id}/module-graph"
tags: ["dashboard"]
---

# Get Module Graph

`GET /snapshots/{snapshot_id}/module-graph`

Collapsed module-level graph — one node per top-level path segment.

## Path parameters

- `snapshot_id` string, required

## Response `200`

Successful Response

- ModuleGraphResponse
  - `nodes` ModuleNode[], required
    - `module_id` string, required
    - `file_count` integer, required
    - `symbol_count` integer, required
    - `avg_pagerank` number, required
    - `doc_coverage_pct` number, required
  - `edges` ModuleEdge[], required
    - `source` string, required
    - `target` string, required
    - `edge_count` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/repowise/apis/repowise-hosted-api.md) · [All operations](https://skmtc.dev/repowise/apis/repowise-hosted-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/repowise/repowise-hosted-api/revisions/1e57283a9737/schema)
