GET
/
memory

Authorizations

X-API-Key
string
header
required

Your duohub API key. Type: str

Query Parameters

memoryID
string
required

Unique identifier for the knowledge graph memory to query

query
string
required

The question or query to search for in the knowledge graph

assisted
boolean
default:
false

When true, uses AI to assist in retrieving and formatting the response. When false, returns raw memory matches.

facts
boolean
default:
false

When true, returns three supporting facts from the knowledge graph along with the response

top_k
integer
default:
5

The number of top memories to return

Response

200 - application/json
payload
object[]
required

The retrieved memory or AI-assisted response

facts
object[] | null

Three supporting facts when facts parameter is true

sources
object[]