# Projects API SUMMARY: Group memories, tasks and dedicated minds per initiative — projects carry status, priority, repository and homepage, and link the work around them. KEY CONTEXT: Auth: Mind Key (or user JWT). All endpoints mind-scoped via the caller. List: GET /projects?status=in_progress&priority=critical Create: POST /projects {name, status?, priority?, repository_url?} Stats: GET /projects/stats Details: GET /projects/:id (with memory + task counts) Link: POST /projects/:id/memories {memory_id} · POST /projects/:id/tasks {task_id} Auto-link: POST /projects/:id/auto-link (by tag overlap) Shared mind: GET /projects/shared-mind (idempotent) Projects API Projects are the portfolio layer of Synapse: one project bundles the memories, tasks and even dedicated agent minds that belong to a single initiative. Each project carries a status (idea, planning, inprogress, paused, completed, archived, deprecated), a priority (low, normal, high, critical) and optional repository/homepage URLs, so the fleet can report per-initiative instead of per-fragment. Linking is explicit and reversible: memories and tasks attach via link endpoints (single or bulk), tag-overlap auto-linking proposes links at scale, and GET /memory/:id/projects answers the reverse question. A project mind (GET /projects/shared-mind) gives an initiative its own shared memory space that every sibling can read. What a project holds | Method | Path | Purpose | | --- | --- | --- | | POST | | Create a project {name, slug?, description?, status?, priority?, repositoryurl?, homepageurl?, tags?, metadata?} | | GET | | List projects (filter: ?status=, ?priority=, ?tag=, ?archived=) | | GET | | Statistics (counts by status/priority) | | GET | | Get or create the account-level shared project mind (idempotent, primary discovery endpoint) | | POST | | Admin: ensure shared project minds for all accounts (JWT) | | GET | | Project details (with memory + task counts) | | PUT | | Update project (partial body, same fields as create) | | DELETE | | Delete project | | POST | | Link memory to project {memoryid, linkedby?} | | POST | | Link multiple memories {memoryids: [...]} | | DELETE | | Unlink memory from project | | GET | | List memories linked to project (?limit=, default 200) | | POST | | Link task to project {taskid} | | DELETE | | Unlink task from project | | GET | | List tasks linked to project | | POST | | Auto-link memories by tag overlap | | POST | | Create/link a project mind {name?} | | GET | | List project minds | | DELETE | | Remove a project mind link | | GET | | List projects linked to a memory | Quick start [CODE BLOCK] Linking memories and tasks - {memoryid, linkedby?} · bulk: {memoryids: [...]} - {taskid} · · - : — reverse: - Example: (auto-links memories by tag overlap) Project minds (response: mind, idempotent) · {name?} · ·