user_id to filter memories belonging to a specific user.
Permission required:
project:mem_read · instanceDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v2/projects/proj-e7b262987be4589fabc60257ec2a2230/memories?page=1&size=20&user_id=user-abc123' \
-H 'Authorization: Bearer sk_xxxxxx'
{
"success": true,
"data": {
"items": [
{
"id": "fact-b6729ff5905991da96a5eced75b95fa1",
"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
}
}
Returns a paginated list of memories in a project
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v2/projects/proj-e7b262987be4589fabc60257ec2a2230/memories?page=1&size=20&user_id=user-abc123' \
-H 'Authorization: Bearer sk_xxxxxx'
{
"success": true,
"data": {
"items": [
{
"id": "fact-b6729ff5905991da96a5eced75b95fa1",
"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
}
}
GET /openapi/memorylake/api/v2/projects/{id}/memories
user_id to filter memories belonging to a specific user.
project:mem_read · instancecurl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v2/projects/proj-e7b262987be4589fabc60257ec2a2230/memories?page=1&size=20&user_id=user-abc123' \
-H 'Authorization: Bearer sk_xxxxxx'
Show Paginated memory list
{
"success": true,
"data": {
"items": [
{
"id": "fact-b6729ff5905991da96a5eced75b95fa1",
"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
}
}