List Memories
Memory
List Memories
Retrieve AI memories for a repository
GET
List Memories
Overview
List all Mem0 AI memories for a specific repository. Memories capture project context, developer patterns, coding standards, and architectural decisions learned from analyzing PRs.Authentication
Requires a valid JWT token in theAuthorization header:
Query Parameters
string
required
Repository to query in
owner/repo format (e.g., “acme/api-server”)string
Filter by memory type. Valid values:
project_rule: Project-specific guidelines and standardscontributor_profile: Developer contribution summariesdeveloper_pattern: Individual coding patterns and habitsdeveloper_strength: Technical areas of expertisearchitecture: System architecture and design decisionsproject_map: Codebase structure and module descriptions
Response
array
Array of memory objects
string
Unique memory ID
string
Memory content (text description)
object
Additional metadata about the memory
string
Type of memory (project_rule, contributor_profile, etc.)
string
Associated GitHub username (for developer-specific memories)
integer
PR number where this memory was learned
integer
Number of PRs analyzed (for contributor profiles)
integer
Total commits (for contributor profiles)
integer
Total number of memories returned
Example Request
Example Response
Memory Types
project_rule
Project-specific coding standards, architectural guidelines, and best practices that all contributors should follow. Example:contributor_profile
High-level summary of a developer’s contribution style and expertise, generated from analyzing their PR history. Example:developer_pattern
Specific coding patterns, habits, and preferences identified for individual developers. Example:developer_strength
Technical areas where a developer demonstrates expertise. Example:architecture
High-level system architecture decisions and design patterns used in the codebase. Example:project_map
Codebase structure, module descriptions, and file organization patterns. Example:Error Responses
Repository Not Connected
403 Forbidden