---
title: "Get Graph Visualization"
method: GET
path: "/graph/{name}/visualization"
tags: ["Graph"]
---

# Get Graph Visualization

`GET /graph/{name}/visualization`

Get graph visualization data.

This endpoint retrieves the nodes and links data needed for graph visualization.
It works with both local and API-based graph services.

Args:
    name: Name of the graph to visualize
    auth: Authentication context
    folder_name: Optional folder to scope the operation to
    end_user_id: Optional end-user ID to scope the operation to

Returns:
    Dict: Visualization data containing nodes and links arrays

## Path parameters

- `name` string, required

## Query parameters

- `folder_name` union
  - string
  - string[]
- `end_user_id` string, nullable

## Headers

- `authorization` string

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/morphik-org/apis/fastapi.md) · [All operations](https://skmtc.dev/morphik-org/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/morphik-org/fastapi/revisions/9ade02dd7b1d/schema)
