GET /openapi/memorylake/api/v2/projects/{id}/memories
Returns a paginated list of all memories stored in the project. Use user_id to filter memories belonging to a specific user.
Path Parameters
Query Parameters
Filter by content keyword (substring match)
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v2/projects/proj-a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6/memories?page=1&size=20&user_id=user-abc123' \
-H 'Authorization: Bearer sk_xxxxxx'
Response
Show Paginated memory list
Array of memory objects
Whether the memory has been forgotten
{
"success": true,
"data": {
"items": [
{
"id": "mem-123",
"content": "User prefers Hangzhou cuisine restaurants",
"expired": false,
"user_id": "user-abc123",
"created_at": "2024-01-15T10:00:00Z",
"updated_at": "2024-01-15T10:00:00Z"
}
],
"total": 1,
"page": 1,
"size": 20,
"total_pages": 1
}
}