Listar memorias
GET/v1/memory_stores/{memory_store_id}/memories
Listar memorias
Parameters
Returns
Listar memorias
import os
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ.get(
"ANTHROPIC_API_KEY"
), # This is the default and can be omitted
)
page = client.beta.memory_stores.memories.list(
memory_store_id="memory_store_id",
)
page = page.data[0]
print(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="
}