---
title: "Get a fact"
method: GET
path: "/v1/memory/{memoryId}"
tags: ["Memory"]
---

# Get a fact

`GET /v1/memory/{memoryId}`

## Request

- Base URL: `https://api.zavu.dev`
- URL: `https://api.zavu.dev/v1/memory/{memoryId}`
- Auth: HTTP bearer

## Path parameters

- `memoryId` string, required

## Query parameters

- `scope` string: Scope as a query-string value: `contact:<contactId>`, `conversation:<conversationId>`, the literal `project`, or omitted for project scope. Only the SHAPE of the id is validated, never its existence — the partition already carries your project, so an id that matches nothing simply addresses an empty scope rather than returning 404.

## Response `200`

The fact.

- object
  - `memory` Memory, required: A stored fact as returned by a read. `score` appears only on search results.
    - `id` string, required
    - `text` string: The remembered text.
    - `metadata` object
    - `score` number: Cosine 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.
    - `createdAt` string, date-time, required
    - `expiresAt` string, date-time

## Other responses

- `400`: Malformed memory id or `scope`.
- `401`: Unauthorized.
- `404`: No 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.

## Changes

> 80 revisions in range; 1 not diffed.

- **2026-08-26** `6e8c555e1104`: 1 info
  - removed the non-success response with the status `403`
- **2026-08-26** `83caf7165722`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zavudev/apis/zavu-unified-messaging-layer-api/changes/v1/memory/:memoryId/get.md)

---

[API](https://skmtc.dev/zavudev/apis/zavu-unified-messaging-layer-api.md) - [All operations](https://skmtc.dev/zavudev/apis/zavu-unified-messaging-layer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zavudev/apis/zavu-unified-messaging-layer-api/revisions/75bc777b0ffb?raw)
