knowledge-graph
knowledge-graph

Get Contextual Facts

Get contextually relevant facts categorized by importance.

Returns facts in three categories:

  1. workspace_facts: Facts about the user's own workspace/company
  2. contact_facts: Facts about the specified contact (if provided)
  3. other_facts: Other recent facts from the knowledge graph

This endpoint is optimized for the AI Agent Memory panel.

get/api/knowledge-graph/facts/contextual

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/knowledge-graph/facts/contextual
  • Auth: none declared

Query parameters

contact_namestring nullable

Current contact name to prioritize facts for

limitinteger

Max facts per category

Response

Successful Response

contact_namestring nullable

Name of the contact these facts are about

contact_entity_idinteger nullable

Entity ID of the contact (for adding new facts)

workspace_entity_idinteger nullable

Entity ID of the workspace (for adding new facts)

totalinteger

Total facts returned

Changes

No recorded changes to this operation across all 5 revisions of this API.