Memory Details
High Relevance
Medium
Low
Quick Actions
One-click operations for common memory tasks
Store Memory
Record observations, actions, or sensor data with semantic indexing
Semantic Search
Find relevant memories using natural language queries
Start Mission
Begin tracking a new mission with waypoints and decisions
Record Anomaly
Log unexpected events with severity and sensor data
View Graph
Explore entity relationships and knowledge connections
Get Stats
View memory statistics, tier counts, and system health
POST
/api/record
Store a new memory with automatic embedding generation
curl -X POST http://localhost:3030/api/record \
-H "Content-Type: application/json" \
-H "X-API-Key: shodh-dev-key-change-in-production" \
-d '{
"user_id": "robot_01",
"experience": {
"content": "Detected obstacle at X=5.2",
"experience_type": "observation"
}
}'
POST
/api/retrieve
Semantic search across memories using natural language
curl -X POST http://localhost:3030/api/retrieve \
-H "Content-Type: application/json" \
-H "X-API-Key: shodh-dev-key-change-in-production" \
-d '{
"user_id": "robot_01",
"query": "obstacles near position 5",
"limit": 10
}'
POST
/api/memories
List all memories for a user with pagination
curl -X POST http://localhost:3030/api/memories \
-H "Content-Type: application/json" \
-H "X-API-Key: shodh-dev-key-change-in-production" \
-d '{"user_id": "robot_01"}'
POST
/api/mission/start
Start tracking a new mission with metadata
curl -X POST http://localhost:3030/api/mission/start \
-H "Content-Type: application/json" \
-H "X-API-Key: shodh-dev-key-change-in-production" \
-d '{
"user_id": "robot_01",
"mission_name": "patrol_sector_7",
"mission_type": "patrol"
}'
POST
/api/anomaly
Record an anomaly with severity and sensor data
curl -X POST http://localhost:3030/api/anomaly \
-H "Content-Type: application/json" \
-H "X-API-Key: shodh-dev-key-change-in-production" \
-d '{
"user_id": "robot_01",
"description": "Unexpected heat signature",
"severity": "high",
"sensor_data": {"temp": 85.2}
}'
DELETE
/api/memory/{id}
Delete a specific memory by ID
curl -X DELETE http://localhost:3030/api/memory/{memory_id} \
-H "X-API-Key: shodh-dev-key-change-in-production" \
-H "X-User-Id: robot_01"
GET
/api/stats/{user_id}
Get memory statistics for a user
curl http://localhost:3030/api/stats/robot_01 \ -H "X-API-Key: shodh-dev-key-change-in-production"
GET
/health
Health check endpoint (no auth required)
curl http://localhost:3030/health