---
title: "Get Kg Schema Internal"
method: GET
path: "/api/v1/internal/kg/schema"
tags: ["v1", "Internal"]
---

# Get Kg Schema Internal

`GET /api/v1/internal/kg/schema`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/internal/kg/schema`
- Auth: none declared

Return the shop's KG TYPE META-GRAPH — distinct node/link types + the
(fromType, linkType, toType) triples that actually occur, with counts.

This is how an agent spots STRUCTURAL gaps in an LLM-extracted KG: e.g.
"is there even a shop→user membership edge type?" (a real gap muther found).
Computed from the LIVE edges joined to node types — no schema assumptions.
Generic opaque strings; read-only; service-auth via X-Internal-Key.

## Query parameters

- `scope` string, required: Graph scope — 'shop:<id>'.

## Headers

- `X-Internal-Key` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
