knowledge-graph

Kg Stats

Get knowledge graph statistics (entity and relation counts by type).

获取知识图谱统计信息(各类型实体与关系数量)。

Cached: the underlying query is two full GROUP BY COUNT(*) scans over kg_entities/kg_relations and the result only changes when the KG is re-imported, so a ~1h cache is plenty and keeps the dashboard off the hot path.

get/api/kg/stats

Request

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

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.