Sync API

The Sync API enables optional synchronization of research data and memory context across devices while maintaining local-first architecture and privacy control.

Sync Server Endpoints

Base URL: http://localhost:4001 (configurable)

Research-Aware Synchronization

GET /sync/projects

Retrieve synchronized research projects with memory context.

curl -X GET http://localhost:4001/sync/projects?includeMemory=true

Response:

{
  "projects": [
    {
      "id": "ai-comparison-study-2024",
      "title": "Multi-Model AI Comparative Analysis",
      "conversations": ["research-session-1", "research-session-2"],
      "knowledgeBase": ["doc-1", "doc-2"],
      "memoryContext": {
        "globalInsights": ["insight-1", "insight-2"],
        "crossConversationLinks": [...]
      },
      "lastSynced": "2024-03-15T10:30:00.000Z"
    }
  ],
  "syncMetadata": {
    "serverVersion": "1.2.0",
    "lastFullSync": "2024-03-15T09:00:00.000Z"
  }
}

POST /sync/conversations

Synchronize conversation data with memory preservation.

Request Body:

Response:

POST /sync/knowledge-base

Synchronize RAG documents and knowledge integration.

Sync Client API

Research Project Synchronization

Selective Memory Synchronization

Conflict Resolution for Research Data

Last updated