Get knowledge graph
Returns the full knowledge graph for the workspace, including CRM entity nodes, relationship edges, context edges (from ingested text), insight triplet edges (AI-extracted subject-predicate-object relationships), insight nodes, and insight link edges (semantic relationships between insights). Supports an optional limit query parameter to control the maximum number of entity nodes returned (default 1000, max 5000). Set Accept: text/html or ?format=html to receive an interactive visualization.
record.read scope on your API key.Overview
Returns the full knowledge graph for your workspace. The graph combines relationship data from your connected tools with AI-extracted knowledge from ingested context, providing a unified view of entities and their connections.Node Types
Edge Types
Thecontext_edges array contains edges from multiple sources, distinguished by the edge_type field:
Insight Link Edges
insight_link edges represent semantic relationships discovered between insights. They connect two insight nodes (entity insights ei:* or knowledge insights ki:*) and always include a confidence score (0-1) representing semantic similarity.
Labels:
related_to— The two insights are semantically relatedcontradicts— The two insights contain contradictory information
Edge Priority
When both acontext edge and a triplet edge exist between the same pair of nodes, generic context labels (involved_in, context) are suppressed in favor of the richer triplet edge. Non-generic context labels are kept alongside triplet edges.
Interactive Visualization
Request HTML format to receive an interactive graph visualization:Example
Authorizations
API key for authentication (format: "Bearer YOUR_API_KEY")
Query Parameters
Maximum number of entity nodes to return
1 <= x <= 5000Response format. Use html to receive an interactive graph visualization instead of JSON.
json, html Response
Knowledge graph data
Complete knowledge graph for the workspace
CRM entity nodes (people, companies, custom objects) and ghost nodes (entities mentioned in context but not yet resolved to a CRM record)
CRM relationship edges between entity nodes (e.g., person works_at company)
Definitions of relationship types in the workspace
Edges derived from ingested context, AI-extracted triplets, insight-entity links, and insight-to-insight semantic relationships. Each edge has an edge_type indicating its source.
Insight nodes representing AI-extracted knowledge (entity insights and workspace-level knowledge insights)
Per-entity insight summaries, keyed by entity ID
Total number of entity nodes in the workspace (may exceed the returned count due to the limit parameter)
Total number of CRM relationship edges in the workspace
Total number of context edges returned (includes all edge types)