Skip to main content
GET /openapi/memorylake/api/v1/projects
Returns a paginated list of projects created by the current authenticated user with optional filtering by name.

Query Parameters

page
integer
default:"1"
Page number (1-based)
size
integer
default:"20"
Page size (max 100)
name_fuzzy
string
Fuzzy filter by project name (partial match)
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v1/projects?page=1&size=20' \
  -H 'Authorization: Bearer sk_xxxxxx'

Response

data
object
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "proj-a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6",
        "name": "My Project",
        "description": "Project description",
        "statistics": {
          "total_history_document_retrieve_tokens": 12800,
          "total_history_document_tokens": 50000,
          "total_history_memory_retrieve_tokens": 4500,
          "total_history_memory_tokens": 20000,
          "total_document_tokens": 60000,
          "total_memory_tokens": 8000,
          "document_retrieve_count": 42,
          "memory_retrieve_count": 18
        },
        "created_at": "2024-01-15T10:30:00Z",
        "updated_at": "2024-01-20T14:45:00Z"
      }
    ],
    "total": 1,
    "page": 1,
    "size": 20,
    "total_pages": 1
  }
}