Get Kg Metrics
knowledge-graph
Get Kg Metrics
Provenance metrics for the KG v0.2.0 pipeline — grouped by layer.
Returns:
- edge_count_by_layer: → int
- deterministic_edge_ratio, cognitive_edge_ratio, fallback_edge_ratio: float 0-1
- node_count_by_type: histogram by KG NODE_TYPES
- edges_total / nodes_total
Health targets (spec c48a5c33 Analysis section):
- deterministic_edge_ratio ≥ 0.70
- fallback_edge_ratio ≤ 0.15
- cognitive_edge_ratio 0.15 – 0.30 in mature boards
GET
Get Kg Metrics
Path Parameters
Response
Successful Response
Last modified on May 17, 2026