List memories
GET/v1/memory_stores/{memory_store_id}/memories
List memories
Parameters
Returns
List memories
package main
import (
"context"
"fmt"
"github.com/anthropics/anthropic-sdk-go"
"github.com/anthropics/anthropic-sdk-go/option"
)
func main() {
client := anthropic.NewClient(
option.WithAPIKey("my-anthropic-api-key"),
)
page, err := client.Beta.MemoryStores.Memories.List(
context.TODO(),
"memory_store_id",
anthropic.BetaMemoryStoreMemoryListParams{},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", page)
}Response 200
{
"data": [
{
"id": "mem_011CZkZ9X2dpNyB6YbtxvB6e",
"content_sha256": "ba7936d94c84d948a2232088f78228f175df6a8353b2d5bc9228eee5794a0024",
"content_size_bytes": 28,
"created_at": "2026-03-15T10:00:00Z",
"memory_store_id": "memstore_01Wf3kQ8tZxB2mVr7HcJ4aNd",
"memory_version_id": "memver_011CZkZBJq5dWxk9fVLNcPht",
"path": "/preferences/formatting.md",
"type": "memory",
"updated_at": "2026-03-15T10:00:00Z",
"content": null
}
],
"next_page": "page_MjAyNS0wNS0xNFQwMDowMDowMFo="
}Returns Examples
Response 200
{
"data": [
{
"id": "mem_011CZkZ9X2dpNyB6YbtxvB6e",
"content_sha256": "ba7936d94c84d948a2232088f78228f175df6a8353b2d5bc9228eee5794a0024",
"content_size_bytes": 28,
"created_at": "2026-03-15T10:00:00Z",
"memory_store_id": "memstore_01Wf3kQ8tZxB2mVr7HcJ4aNd",
"memory_version_id": "memver_011CZkZBJq5dWxk9fVLNcPht",
"path": "/preferences/formatting.md",
"type": "memory",
"updated_at": "2026-03-15T10:00:00Z",
"content": null
}
],
"next_page": "page_MjAyNS0wNS0xNFQwMDowMDowMFo="
}