GET
/
memory

Authorizations

X-API-Key
string
headerrequired

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

Response

200 - application/json
payload
string
required
token_count
integer
required
facts
object[] | null