---
title: "Generate Codebase Map"
method: POST
path: "/projects/{project_id}/codebase-map"
---

# Generate Codebase Map

`POST /projects/{project_id}/codebase-map`

## Request

- Base URL: `https://usemeridian.us` (the document declares no server; this is the origin it was published from)
- URL: `https://usemeridian.us/projects/{project_id}/codebase-map`
- Auth: none declared

5813affe — render a package-level codebase map (graphviz) from the graph
the dashboard already fetched, and return it inline as a base64 PNG.

Body: ``{"packages": [...], "edges": [...], "hotspots": bool}``. Graphviz is
an optional system dependency — when ``dot`` isn't installed this returns a
503 with an actionable install hint instead of failing opaquely.

## Path parameters

- `project_id` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usemeridian/apis/meridian.md) · [All operations](https://skmtc.dev/usemeridian/apis/meridian/llms.txt) · [OpenAPI document](https://skmtc.dev/usemeridian/apis/meridian/revisions/f37a894bd374?raw)
