Get a fact
GET
Authorization
AuthorizationheaderrequiredBearer YOUR_API_KEY. Create a key in the dashboard.
Path parameters
memoryIdstringrequiredMemory (fact) ID.
Query parameters
scopestringWhich scope to address:
contact:<contactId>,conversation:<conversationId>, or omitted for the project scope.Note the asymmetry with
POST /v1/memoryandPOST /v1/memory/search, which take the scope in the request BODY asscopepluscontactId/conversationId. Every other Memory endpoint takes it here.
Responses
200The fact.
memoryobjectrequiredA stored fact as returned by a read.
scoreappears only on search results.6 properties
idstringrequiredtextstringThe remembered text.
metadataobject1 properties
{key}string
scorenumberCosine similarity to the query, 0 to 1, higher being closer. Present on search results only — a list or a single read has no query to score against.
createdAtstring<date-time>requiredexpiresAtstring<date-time>
400Malformed memory id or `scope`.
codestringrequiredmessagestringrequireddetailsobject
401Unauthorized.
codestringrequiredmessagestringrequireddetailsobject
404No such fact in that scope. A fact stored under `contact` is not found by a project-scoped read — pass the same `?scope=` it was written with.
codestringrequiredmessagestringrequireddetailsobject