v1
KG Debug
KG Debug

Get Kg Node Source

Return the jeevy source DB row that backs a KG node — the "DB record" peek.

Resolves canonical_id (a KG node UUID) -> canonical_key -> source table + PK -> SELECT * from that table, for projection QA (compare source DB against projected facts). PK-keyed node types (job/task/workstream/line_item/user/ personnel): found=True + a redacted row. Name-keyed or composite-keyed types (part, bom-line, organization, vendor, ...): found=False + a reason, not a 500.

Denylisted columns (security_gates.redact_row -> capture_denylist) are stripped before the row is returned — mirrors internal.py's get_kg_node_source_internal, behind user-auth.

get/api/v1/kg/debug/node/{canonical_id}/source

Request

  • Base URL
    https://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

canonical_id, string required

Response

Successful Response

KgNodeSourceResponse required

Standard response envelope for GET /kg/debug/node/{canonical_id}/source.

data, KgNodeSourceData required

Source-DB row backing a KG node (kgTypes.ts GraphNodeSource).

found=False is a graceful-empty case (unknown node, or a name/composite-keyed node_type with no single source-row PK) — reason explains which. Secrets are redacted server-side (security_gates.redact_row) before row is set, so it is safe to render verbatim.

Changes

No recorded changes to this operation across all 56 revisions of this API.