Endpoint Examples
Get Memory
Retrieve assisted or non-assisted memory from the knowledge graph
GET
/
memory
Authorizations
X-API-Key
string
headerrequiredYour duohub API key. Type: str
Query Parameters
memoryID
string
requiredUnique identifier for the knowledge graph memory to query
query
string
requiredThe question or query to search for in the knowledge graph
assisted
boolean
default: falseWhen true, uses AI to assist in retrieving and formatting the response. When false, returns raw memory matches.
facts
boolean
default: falseWhen true, returns three supporting facts from the knowledge graph along with the response
Response
200 - application/json
payload
string
requiredtoken_count
integer
requiredfacts
object[] | null