Skip to content

Get Kg Stats

GET
/api/v1/knowledge-graph/stats

Return knowledge graph statistics for the authenticated tenant.

Returns entity_count, community_count, avg_community_size, and last_indexed_at (MAX updated_at from kg_communities). All counts are zero and last_indexed_at is null when the tenant has no data.

Authorizations

Responses

200

Successful Response

Response model for GET /api/v1/knowledge-graph/stats.

object
avg_community_size
required
number
community_count
required
integer
entity_count
required
integer
last_indexed_at
required
Any of:
string format: date-time