MemorySync
Documentation

Introduction

MemorySync is a memory API service. It stores text memories, queries them semantically, and surrounds that core with authentication, project scoping, integrations, billing, SSO, SCIM, and OAuth flows.

What MemorySync includes

MemorySync covers memory operations, auth, projects, API keys, billing, SSO, SCIM, OAuth, webhooks, integrations, web crawler, analytics, and more.

  • The dashboard and docs site run as a separate application.
  • The service stack includes a relational database, a vector store, a cache layer, and background job workers.
  • All endpoints return JSON and follow standard HTTP conventions.

What every request is scoped by

PieceHow it is setWhy it matters
AuthenticationAuthorization: Bearer ... or X-API-KeyRoutes depend on auth and scope helpers before business logic runs.
ProjectX-Project-ID header or a project-locked API keyProject-scoped endpoints require a project to be resolved before the request runs.
End userJWT user id or X-End-User-ID for API-key callersThe memory routes resolve the effective owner server-side.
Memory bodytext or alias content, plus optional metadataThe request schema validates text and normalizes content into text.

Core memory routes

RouteWhat it does
POST /memory/addCreate one or more stored memories through the extraction pipeline.
POST /memory/queryRun semantic retrieval for the authenticated user or resolved end user.
POST /memory/summarizeSummarize a list of memory ids.
DELETE /memory/forgetDelete selected memories.
POST /memory/composeBuild a prompt by retrieving memories into a token budget.
POST /memory/search/routedRoute a query through the structured query router.
GET /memory/graph, /clusters, /decisions, /intelligenceRead richer derived views built on stored memories.

Where to start reading

If you want to…Read this next
Understand headers, tokens, and API keysAuthentication Setup
Send one real add/query requestQuickstart (5 min)
See the mounted route groupsAPI Overview
See how the backend is wiredArchitecture Overview
Inspect the verified feature surfaceKey Features