Skip to main content
The Graph page (route /knowledge-graph, Graph in the General section of the sidebar; the top bar calls it Knowledge Graph, and /business redirects here) draws your workspace’s memory as a map: what Cognee extracted, sorted into domains and entity types, and which datasets it came from. It keeps itself current as data lands, so there is no Refresh button.
Graph page

The domain map of three datasets: domains on top, sub-domains below, and Premium sub-domains shown locked

Levels

The map is organised top-down, so a large workspace reads as “what is this memory about?” before it shows single records. The level switch at the top of the map moves between four levels: Zoom with the scroll wheel or a pinch, or click a level in the switch. One click goes exactly one level down: clicking a domain opens it on its sub-domains, a sub-domain on its types, and a type on its entities. Clicking an entity on the map centres it. Picking anything also opens its panel on the right. Cognee places every entity type into a domain and sub-domain on its own. Types that connect to many others sit in Core; a type that fits nowhere goes to General. Once placed, a type keeps its place as data is added, so the map does not reshuffle between visits. New types are placed shortly after new data lands; placing them is a small language-model call billed from workspace credits.

Minimap and isolating an entity

Once you zoom in, a minimap keeps your place; click it to pan there. With an entity selected, it highlights what the entity is connected to, including connections that are off screen. Show all N connected isolates the entity with its connections; Back to where I was (or Back in the bar under the level switch) returns to the full map.

Datasets

The Datasets button at the top of the left column chooses which datasets the map shows. It reads All N datasets or N of M datasets, with the first few datasets’ logos.
  • Open it to tick datasets on or off, search them with Search datasets, or use Select all / Select none. Each row shows the dataset’s source and its entity count.
  • The header counts how many entities are shared: found in more than one dataset.
  • Hover a row to light up that dataset’s entities on the map.
  • Esc clears the search, and a second Esc closes the list.

Find an entity or type

The search field under Datasets (Find entity, type…) lights up matching entities and types on the map as you type, with a count such as 12 entities · 2 types. Enter flies to the best match; an entity the map has not loaded yet is put on the map first. Esc clears the field. To ask a question in plain language, use Search instead.

Panels

Picking something opens its panel on the right. Every panel starts with a breadcrumb back up the levels and a row of the datasets its entities came from (hover a logo for the dataset’s name).
  • Domain or sub-domain: a summary, then what it holds, one row each with its entity count. Click a row to go there.
  • Entity type: a summary, then Entities with the count and the first three lines of names; +N more loads the rest. Click an entity to open it.
  • Entity: its type, a summary, and its connections, read from the datasets that are ticked. Click the type to open it.
Press Esc or the close button to close a panel. When the graph has more connections than the map can draw, a notice says “This graph has more connections than the map draws: some lines are left out.”

Premium ontology

Every workspace gets the map above with Cognee’s default ontology. The premium ontology (sold as Premium Ontology, $99 / month) finds more structure in your data: dedicated domains and sub-domains, sharper entity types, and the ontology editor.

On Free

Without Premium the map shows where more structure is waiting, without giving it away:
  • Premium items on the map are locked; their names are blurred. Picking one opens a short panel with Unlock premium ontology.
  • A type’s panel has a With the enhanced ontology block: one real example of an entity that would get a sharper type, and how many more would, with Unlock.
  • An entity’s panel says “What your records say about it comes with the premium ontology.”
  • Search shows +N matches with the enhanced ontology when the premium ontology would find more.
  • The ontology editor in the left column is blurred, with Unlock premium ontology.
Any Unlock opens the Unlock the premium ontology window: what you get, how many sharper types Cognee found in your data and for how many entities, and the price. From there:
  • Unlock for $99/month opens Stripe Checkout. Only a workspace owner can subscribe.
  • Preview it on your map shows your own map with the premium ontology for a few seconds, under a Preview bar that has its own unlock button. Esc ends it early. Each dataset’s preview can be shown once a day; after that the window says when the next one opens.
  • Not now closes it.
After checkout the page says “Activating premium for this workspace…” until Stripe confirms. If that takes unusually long, it says to reload in a few minutes.

On Premium

With Premium the map shows the enhanced ontology: the extra domains and sub-domains, and your entities sorted into sharper types.
  • A type the enhanced ontology reorganised opens as itself, with a gold note such as Reorganised by the enhanced ontology into 3 sharper types, and what it became.
  • A type’s panel adds What its entities show, and its In Free, these entities were … line shows where its entities came from.
  • An entity’s panel adds a Summary from your records and Edit this entity.
There is nothing to start by hand: when you open this page, Cognee builds the enhanced ontology for any dataset that is due, one dataset at a time. While a build runs, a notice at the top of the map names the dataset and the queue, for example “Finding more structure in default_dataset for the enhanced ontology… 15 more datasets are waiting.” The map updates when each build finishes. See Auto-ontology for how builds are billed.

Ontology editor

On Premium, the left column holds the ontology editor (Shape your ontology in plain words). Describe a change in the Change to the ontology field, for example Split Event into Customer meeting and Internal meeting. With a type or entity picked, the field asks What should change about …? and suggests changes for it.
  1. Click Propose change (or press Cmd/Ctrl+Enter). Cognee reads the request and lists each change with what it touches, or why it cannot be applied. Nothing changes yet.
  2. Click Apply to apply the changes it can make (Apply 2 of 3 when some are refused), or Discard.
Applied changes are listed under the field. Edit this entity in an entity’s panel works the same way for one entity: ask to rename it, change its type, merge it with another entity, or fix a connection. See Refine it with the ontology chat editor for the kinds of change and how they survive rebuilds.

Empty and error states

The left column is hidden on narrow screens (under 900px wide); use a wider window to choose datasets, search or edit the ontology.

The graph does not appear

  1. Check the Datasets button: the dataset you expect may be ticked off.
  2. Check the dataset’s status on Datasets. Entities appear only once processing has built the graph; while it shows Pending or Processing, wait, and if it shows Failed or stalls, see My dataset never becomes Ready.
  3. Data added with POST /api/v1/add needs a cognify call before it shows up.

API

The page reads the same data your code can: GET /api/v1/knowledge-map for the workspace map, and GET /api/v1/datasets/{dataset_id}/knowledge-map for one dataset. The ontology editor’s endpoints are listed under Auto-ontology API. For the raw nodes and edges, use the visualize endpoint; see also Graph Visualization.

Reasoning over relationships

The map is for exploring. To have Cognee answer questions that follow relationships across entities, ask on Search, or call recall from your agent. Graph-based search types traverse the same entities and relations you see here. Raw Cypher queries are not available on Cloud; to query the graph structure directly, use SPARQL.
To rebuild a dataset’s graph after changing its extraction model, prompt, or uploaded ontology, use Rebuild graph on the dataset detail page.