← Files GoodMemARCHIVED FILE

skills/goodmem-sdk/references/java/memories/content.md

1 KB · Oct 5, 2026 · 18:24 UTC

↓ Download file

<!-- sdk-ref package=ai.pairsys:goodmem-java registry=maven version=0.2.2 -->

# memories.content

Download memory content

Returns the original binary payload for a memory. The response uses the memory's stored content type when available. Returns 404 when the memory does not have inline content; clients can check originalContentRef from the metadata endpoint to locate external content. Requires READ_MEMORY on the requested memory; authority may be granted through DIRECT_MEMBERS_OF its containing space.

```java
byte[] content(String id)
```

```java
byte[] content(ai.pairsys.goodmem.client.models.MemoryId id)
```

Domain-ID typed overload. Forwards to the String-typed sibling via `toString()` on the promoted argument.

```java
byte[] content(java.util.UUID id)
```

UUID-typed overload. Forwards to the String-typed sibling via `toString()` on the promoted argument.

[memories](../memories.md) · [Java](../../java.md)

Related types — open only those used by your request:

- [MemoryId](../models/MemoryId.md)

SHA-256: 6dcf0d24167103fa44dedbd7ff56aa71da0780c1abaf7032be97cc0ff9f958d4