---
title: "Get a global subgraph with full data"
method: GET
path: "/api/global_subgraphs/{id}"
tags: ["subgraph"]
---

# Get a global subgraph with full data

`GET /api/global_subgraphs/{id}`

Returns the blueprint for a globally-registered subgraph, used by the frontend to materialize the subgraph node.

## Path parameters

- `id` string, required

## Response `200`

Full subgraph data

- GlobalSubgraphData — Full data for a global subgraph blueprint
  - `source` string, required — Source type ("templates" or "custom_node")
  - `name` string, required — Display name of the subgraph blueprint
  - `info` object, required — Additional information about the subgraph
    - `node_pack` string, required — The node pack/module providing this subgraph
  - `data` string, required — The full subgraph JSON data as a string

## Other responses

- `404` — Subgraph not found
- `500` — Internal server error

## Changes

- **2026-05-22** `09a5075587c8` — 1 info
  - added the non-success response with the status `500`
- **2026-04-24** `a66055fa384e` — 1 breaking, 3 info
  - removed the media type `application/json` for the response with the status `404`
  - api tag `subgraph` added
  - api tag `workflow` removed
  - removed the non-success response with the status `500`

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/global_subgraphs/:id/get.md)

---

[API](https://skmtc.dev/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.dev/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/revisions/c4db9e1283df/schema)
