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

# Get Kg Health

`GET /api/v1/internal/kg/health`

## 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/health`
- Auth: none declared

KG health: node counts by type + 3 connectivity defect classes.

§1a orphan (degree-0) count per node_type — nodes with no edges at all.
§1b containment gaps — workstream/bom-line/line_item nodes not reachable via
     an inbound 'contains' edge from a job.
§1c dangling edges — edges with at least one endpoint absent from active nodes.

`since` restricts node analysis to recently-created nodes (useful for spotting
fresh-ingest regressions without noise from historic cruft).

## Query parameters

- `scope` string, required: Graph scope — 'shop:<id>'.
- `since` string, nullable: ISO 8601 UTC timestamp — restrict node analysis to nodes created >= since. Connectivity checks (containment, dangling) are graph-global and unfiltered.

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