ApiV3Generated
Knowledge Graph
Overview of the Knowledge Graph API
Hand off to an LLM
Read the cross-document knowledge graph — the canonical entities and the
directed relations between them that the Parse pipeline populates when
linkAcrossDocuments is enabled.
GET /v3/entities/{id}/relationsreturns the inbound and outbound edges incident to one entity, split by direction. Supportsdirection, an exactrelationTypefilter, and cursor pagination over edges. A merged-away entity id transparently resolves to its surviving canonical entity.GET /v3/knowledge-graphreturns the graph as{ nodes, edges }, paginating over edges. Thenodesfor a page are the distinct endpoint entities of that page's edges (both endpoints of every edge are included). Filter withtype[],since, andsearch; an edge is returned only when both of its endpoints survive the entity filters.
Both endpoints take an optional bucket (bkt_...) to scope the read to
a single bucket; omit it for the unscoped account+environment view.