Contributor Analytics
Analytics
Contributor Analytics
Get detailed per-developer insights from AI memory
GET
Contributor Analytics
Overview
Retrieve comprehensive contributor profiles built from Mem0 AI memory, including developer patterns, strengths, and historical activity. This endpoint is designed for team leaders to understand their team’s expertise and contribution patterns.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”)integer
default:"1"
Page number for pagination (1-indexed)
integer
default:"20"
Number of contributors per page (1-100)
Response
string
Repository full name (owner/repo)
integer
Total number of contributors with AI memory
integer
Current page number
integer
Items per page
integer
Total number of pages
array
Array of contributor profiles
string
GitHub username
string
AI-generated profile summary of the developer’s contribution style
array
Array of identified developer patterns (coding habits, preferences, common approaches)
array
Array of developer strengths (areas of expertise, technical skills)
integer
Total number of PRs submitted by this contributor
integer
Total number of commits by this contributor
integer
Most recent PR number from this contributor
Example Request
Example Response
Memory Types
The contributor data is built from three types of AI memories:contributor_profile
High-level summary of the developer’s contribution style, generated from analyzing their PR history.developer_pattern
Specific coding patterns and habits identified across multiple PRs:- Architectural preferences
- Code organization style
- Testing approaches
- Common techniques
developer_strength
Technical areas where the developer excels:- Technology expertise
- Problem-solving domains
- Architectural skills
Error Responses
Repository Not Connected
403 Forbidden
Memory Layer Unavailable
200 OK (graceful degradation)