LLM-readable documentation index
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}/relations returns the inbound and outbound edges incident to one entity, split by direction. Supports direction, an exact relationType filter, and cursor pagination over edges. A merged-away entity id transparently resolves to its surviving canonical entity.
  • GET /v3/knowledge-graph returns the graph as { nodes, edges }, paginating over edges. The nodes for a page are the distinct endpoint entities of that page's edges (both endpoints of every edge are included). Filter with type[], since, and search; 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.