curl -X GET 'https://api.memsync.ai/profile' \
-H 'X-API-Key: YOUR_API_KEY'
{
"user_id": "user_123abc",
"bio": {
"summary": "A passionate software engineer and AI enthusiast based in San Francisco. Currently working at a tech startup focused on machine learning applications in healthcare. Enjoys hiking, reading about emerging technologies, and spending time with family. Has a strong interest in sustainable technology and frequently travels for both work and leisure. Values continuous learning and meaningful relationships.",
"generated_at": "2024-01-15T16:30:00Z",
"confidence": 0.92,
"word_count": 67
},
"categories": {
"career": {
"title": "Software Engineer & AI Enthusiast",
"summary": "Works at a tech startup focused on ML applications in healthcare",
"key_skills": ["Python", "Machine Learning", "Healthcare Technology"],
"memory_count": 45,
"last_updated": "2024-01-15T14:20:00Z"
},
"interests": {
"primary_interests": ["Technology", "Hiking", "Reading", "Sustainability"],
"emerging_interests": ["Medical Imaging", "Green Technology"],
"memory_count": 32,
"last_updated": "2024-01-15T13:45:00Z"
},
"relationships": {
"close_connections": ["Sarah Johnson", "Dr. Martinez", "Alex Chen"],
"professional_network": ["Team members", "Healthcare professionals"],
"memory_count": 28,
"last_updated": "2024-01-15T15:10:00Z"
}
},
"insights": [
{
"insight_id": "insight_456def",
"title": "Strong Learning Orientation",
"description": "Shows consistent pattern of seeking new knowledge and skills, particularly in AI and healthcare domains",
"category": "learning",
"confidence": 0.88,
"generated_at": "2024-01-15T16:00:00Z",
"memory_count": 12
}
],
"traits": [
{
"trait": "Curiosity",
"strength": 0.91,
"evidence_count": 15,
"category": "learning"
},
{
"trait": "Collaboration",
"strength": 0.85,
"evidence_count": 23,
"category": "relationships"
}
],
"stats": {
"total_memories": 142,
"by_category": {
"career": 45,
"interests": 32,
"relationships": 28,
"learning": 25,
"travel": 12
},
"by_type": {
"semantic": 89,
"episodic": 53
},
"date_range": {
"first_memory": "2023-11-01T09:00:00Z",
"last_memory": "2024-01-15T16:30:00Z"
},
"avg_importance": 0.72,
"top_participants": ["Sarah Johnson", "Dr. Martinez", "Alex Chen"],
"top_locations": ["San Francisco", "Stanford Medical Center", "Office"]
},
"privacy_settings": {
"bio_public": false,
"categories_public": ["interests", "career"],
"insights_enabled": true,
"trait_analysis_enabled": true
},
"last_updated": "2024-01-15T16:30:00Z"
}
Retrieve the user’s complete profile including auto-generated bio, category profiles, and insights
curl -X GET 'https://api.memsync.ai/profile' \
-H 'X-API-Key: YOUR_API_KEY'
{
"user_id": "user_123abc",
"bio": {
"summary": "A passionate software engineer and AI enthusiast based in San Francisco. Currently working at a tech startup focused on machine learning applications in healthcare. Enjoys hiking, reading about emerging technologies, and spending time with family. Has a strong interest in sustainable technology and frequently travels for both work and leisure. Values continuous learning and meaningful relationships.",
"generated_at": "2024-01-15T16:30:00Z",
"confidence": 0.92,
"word_count": 67
},
"categories": {
"career": {
"title": "Software Engineer & AI Enthusiast",
"summary": "Works at a tech startup focused on ML applications in healthcare",
"key_skills": ["Python", "Machine Learning", "Healthcare Technology"],
"memory_count": 45,
"last_updated": "2024-01-15T14:20:00Z"
},
"interests": {
"primary_interests": ["Technology", "Hiking", "Reading", "Sustainability"],
"emerging_interests": ["Medical Imaging", "Green Technology"],
"memory_count": 32,
"last_updated": "2024-01-15T13:45:00Z"
},
"relationships": {
"close_connections": ["Sarah Johnson", "Dr. Martinez", "Alex Chen"],
"professional_network": ["Team members", "Healthcare professionals"],
"memory_count": 28,
"last_updated": "2024-01-15T15:10:00Z"
}
},
"insights": [
{
"insight_id": "insight_456def",
"title": "Strong Learning Orientation",
"description": "Shows consistent pattern of seeking new knowledge and skills, particularly in AI and healthcare domains",
"category": "learning",
"confidence": 0.88,
"generated_at": "2024-01-15T16:00:00Z",
"memory_count": 12
}
],
"traits": [
{
"trait": "Curiosity",
"strength": 0.91,
"evidence_count": 15,
"category": "learning"
},
{
"trait": "Collaboration",
"strength": 0.85,
"evidence_count": 23,
"category": "relationships"
}
],
"stats": {
"total_memories": 142,
"by_category": {
"career": 45,
"interests": 32,
"relationships": 28,
"learning": 25,
"travel": 12
},
"by_type": {
"semantic": 89,
"episodic": 53
},
"date_range": {
"first_memory": "2023-11-01T09:00:00Z",
"last_memory": "2024-01-15T16:30:00Z"
},
"avg_importance": 0.72,
"top_participants": ["Sarah Johnson", "Dr. Martinez", "Alex Chen"],
"top_locations": ["San Francisco", "Stanford Medical Center", "Office"]
},
"privacy_settings": {
"bio_public": false,
"categories_public": ["interests", "career"],
"insights_enabled": true,
"trait_analysis_enabled": true
},
"last_updated": "2024-01-15T16:30:00Z"
}
curl -X GET 'https://api.memsync.ai/profile' \
-H 'X-API-Key: YOUR_API_KEY'
bio
, categories
, insights
, stats
, traits
Default: bio,categories,stats
identity
, career
, interests
, relationships
, health
, finance
, learning
, travel
, productivity
, private
Show Category Profiles
Show Insight Properties
Show Statistics
{
"user_id": "user_123abc",
"bio": {
"summary": "A passionate software engineer and AI enthusiast based in San Francisco. Currently working at a tech startup focused on machine learning applications in healthcare. Enjoys hiking, reading about emerging technologies, and spending time with family. Has a strong interest in sustainable technology and frequently travels for both work and leisure. Values continuous learning and meaningful relationships.",
"generated_at": "2024-01-15T16:30:00Z",
"confidence": 0.92,
"word_count": 67
},
"categories": {
"career": {
"title": "Software Engineer & AI Enthusiast",
"summary": "Works at a tech startup focused on ML applications in healthcare",
"key_skills": ["Python", "Machine Learning", "Healthcare Technology"],
"memory_count": 45,
"last_updated": "2024-01-15T14:20:00Z"
},
"interests": {
"primary_interests": ["Technology", "Hiking", "Reading", "Sustainability"],
"emerging_interests": ["Medical Imaging", "Green Technology"],
"memory_count": 32,
"last_updated": "2024-01-15T13:45:00Z"
},
"relationships": {
"close_connections": ["Sarah Johnson", "Dr. Martinez", "Alex Chen"],
"professional_network": ["Team members", "Healthcare professionals"],
"memory_count": 28,
"last_updated": "2024-01-15T15:10:00Z"
}
},
"insights": [
{
"insight_id": "insight_456def",
"title": "Strong Learning Orientation",
"description": "Shows consistent pattern of seeking new knowledge and skills, particularly in AI and healthcare domains",
"category": "learning",
"confidence": 0.88,
"generated_at": "2024-01-15T16:00:00Z",
"memory_count": 12
}
],
"traits": [
{
"trait": "Curiosity",
"strength": 0.91,
"evidence_count": 15,
"category": "learning"
},
{
"trait": "Collaboration",
"strength": 0.85,
"evidence_count": 23,
"category": "relationships"
}
],
"stats": {
"total_memories": 142,
"by_category": {
"career": 45,
"interests": 32,
"relationships": 28,
"learning": 25,
"travel": 12
},
"by_type": {
"semantic": 89,
"episodic": 53
},
"date_range": {
"first_memory": "2023-11-01T09:00:00Z",
"last_memory": "2024-01-15T16:30:00Z"
},
"avg_importance": 0.72,
"top_participants": ["Sarah Johnson", "Dr. Martinez", "Alex Chen"],
"top_locations": ["San Francisco", "Stanford Medical Center", "Office"]
},
"privacy_settings": {
"bio_public": false,
"categories_public": ["interests", "career"],
"insights_enabled": true,
"trait_analysis_enabled": true
},
"last_updated": "2024-01-15T16:30:00Z"
}
{
"error": "Invalid or expired token",
"code": "UNAUTHORIZED"
}
{
"error": "Profile not yet generated",
"code": "PROFILE_NOT_FOUND",
"suggestion": "Store some memories first to generate a profile"
}
{
"error": "Too many profile requests",
"code": "RATE_LIMIT_EXCEEDED",
"retry_after": 60
}
refresh=true