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

# Get Graph

`GET /graph/{name}`

Get a graph by name.

This endpoint retrieves a graph by its name if the user has access to it.

Args:
    name: Name of the graph to retrieve
    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:
    Graph: The requested graph object

## Path parameters

- `name` string, required

## Query parameters

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

## Headers

- `authorization` string

## Response `200`

Successful Response

- Graph — Represents a knowledge graph
  - `id` string
  - `name` string, required
  - `entities` Entity[]
    - `id` string
    - `label` string, required
    - `type` string, required
    - `properties` object
    - `document_ids` string[]
    - `chunk_sources` object
  - `relationships` Relationship[]
    - `id` string
    - `source_id` string, required
    - `target_id` string, required
    - `type` string, required
    - `document_ids` string[]
    - `chunk_sources` object
  - `metadata` object
  - `system_metadata` object
  - `document_ids` string[]
  - `filters` object, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `folder_name` string, nullable
  - `end_user_id` string, nullable
  - `app_id` string, nullable

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