> ## Documentation Index
> Fetch the complete documentation index at: https://docs.maximem.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Maximem Synap is a managed memory layer for AI agents: it ingests conversations and documents, extracts structured memory, and returns scoped context to the agent at retrieval time.
> The Python and JavaScript/TypeScript SDKs are the supported way to use Synap. Write integration code with SDK calls, not raw HTTP requests.
> Start with the Quickstart: https://docs.maximem.ai/getting-started/quickstart.md. Every SDK method is documented in the SDK reference: https://docs.maximem.ai/sdk-reference/overview.md.
> For requests about adding Vity memory to OpenClaw, Hermes, an MCP client, or a browser, start with the Vity Quickstart: https://docs.maximem.ai/vity/quickstart.md.

# memories.get

> Retrieve a specific memory by its ID.

```python Python theme={null}
await sdk.memories.get(memory_id)
```

```typescript TypeScript theme={null}
await sdk.memories.get(memoryId: string)
```

Retrieve a single memory by its identifier. Returns the structured `Memory` object including content, confidence, and source-document metadata.

### Parameters

**memory\_id** `UUID` *required*

The memory ID. Typically obtained from [`memories.status`](https://docs.maximem.ai/sdk-reference/memories/status) (`memory_ids`) or from a recall result.

### Returns

A `Memory` object.

**memory\_id** `UUID`

Unique memory identifier.

**memory\_type** `string`

Memory type: `fact`, `preference`, `episode`, `emotion`, or `temporal_event`.

**content** `string`

The extracted memory content.

**confidence** `number`

Confidence score of the extraction, between `0.0` and `1.0`.

**category** `string`

High-level category assigned by the extraction pipeline.

**subcategory** `string`

More specific subcategory under `category`.

**created\_at** `datetime`

Timestamp of when this memory was created.

**updated\_at** `datetime`

Timestamp of the last update. `None` if never updated.

**source\_document\_id** `string`

Identifier of the document this memory was extracted from.

### Example

```python theme={null}
from maximem_synap import MaximemSynapSDK
from uuid import UUID

sdk = MaximemSynapSDK(api_key="synap_your_key_here")
await sdk.initialize()

memory = await sdk.memories.get(UUID("a1b2c3d4-e5f6-7890-abcd-ef0123456789"))
print(memory.memory_type)   # "preference"
print(memory.content)       # "Prefers light roast coffee, especially pour-over"
print(memory.confidence)    # 0.92
```

### Raises

* `AuthenticationError`: when the API key is missing or invalid.
* `ContextNotFoundError`: when the `memory_id` does not exist or is outside the caller's scope (HTTP 404).

### See also

* [memories.update](https://docs.maximem.ai/sdk-reference/memories/update.md)
* [memories.delete](https://docs.maximem.ai/sdk-reference/memories/delete.md)
* [memories.status](https://docs.maximem.ai/sdk-reference/memories/status.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.