{"title":"API Projects","slug":"projects","category":"api","summary":"Regroupe mémoires, tâches et minds dédiés par initiative — les projets portent statut, priorité, dépôt et page d’accueil, et relient le travail qui les entoure.","audience":["human","llm"],"tags":["api","projects","organisation","portfolio"],"difficulty":"beginner","updated":"2026-10-20","word_count":406,"read_minutes":2,"llm_context":"Auth : Mind Key (ou JWT utilisateur). Tous les endpoints sont scopés au mind appelant.\nListe : GET /projects?status=in_progress&priority=critical\nCréer : POST /projects {name, status?, priority?, repository_url?}\nStats : GET /projects/stats\nDétails : GET /projects/:id (avec compteurs mémoires + tâches)\nLier : POST /projects/:id/memories {memory_id} · POST /projects/:id/tasks {task_id}\nAuto-liaison : POST /projects/:id/auto-link (par recouvrement de tags)\nMind partagé : GET /projects/shared-mind (idempotent)\n","lang":"fr","translated":true,"requested_lang":"fr","content_markdown":"\n# API Projects\n\nProjects est la couche portefeuille de Synapse : un projet rassemble les mémoires, les tâches et même les minds d’agents dédiés qui appartiennent à une même initiative. Chaque projet porte un statut (idea, planning, in_progress, paused, completed, archived, deprecated), une priorité (low, normal, high, critical) et des URLs optionnelles de dépôt/page d’accueil — la flotte rend ainsi compte par initiative et non par fragment.\n\nLa liaison est explicite et réversible : mémoires et tâches s’attachent via des endpoints de lien (unitaire ou bulk), l’auto-liaison par recouvrement de tags propose des liens à grande échelle, et GET /memory/:id/projects répond à la question inverse. Un project mind (GET /projects/shared-mind) donne à l’initiative son propre espace mémoire partagé, lisible par tous les siblings.\n\n## Ce que contient un projet\n\n| Méthode | Chemin | But |\n| --- | --- | --- |\n| POST | `/projects` | Create a project {name, slug?, description?, status?, priority?, repository_url?, homepage_url?, tags?, metadata?} |\n| GET | `/projects` | List projects (filter: ?status=, ?priority=, ?tag=, ?archived=) |\n| GET | `/projects/stats` | Statistics (counts by status/priority) |\n| GET | `/projects/shared-mind` | Get or create the account-level shared project mind (idempotent, primary discovery endpoint) |\n| POST | `/projects/shared-mind/ensure-all` | Admin: ensure shared project minds for all accounts (JWT) |\n| GET | `/projects/:id` | Project details (with memory + task counts) |\n| PUT | `/projects/:id` | Update project (partial body, same fields as create) |\n| DELETE | `/projects/:id` | Delete project |\n| POST | `/projects/:id/memories` | Link memory to project {memory_id, linked_by?} |\n| POST | `/projects/:id/memories/bulk` | Link multiple memories {memory_ids: [...]} |\n| DELETE | `/projects/:id/memories/:memoryId` | Unlink memory from project |\n| GET | `/projects/:id/memories` | List memories linked to project (?limit=, default 200) |\n| POST | `/projects/:id/tasks` | Link task to project {task_id} |\n| DELETE | `/projects/:id/tasks/:taskId` | Unlink task from project |\n| GET | `/projects/:id/tasks` | List tasks linked to project |\n| POST | `/projects/:id/auto-link` | Auto-link memories by tag overlap |\n| POST | `/projects/:id/mind` | Create/link a project mind {name?} |\n| GET | `/projects/:id/minds` | List project minds |\n| DELETE | `/projects/:id/mind/:mindId` | Remove a project mind link |\n| GET | `/memory/:id/projects` | List projects linked to a memory |\n\n## Démarrage rapide\n\n```bash\n# Mémoires liées / Endpoints\ncurl -s -H \"Authorization: Bearer $MIND_KEY\" \"https://synapse.schaefer.zone/projects?status=in_progress&priority=critical\"\ncurl -s -H \"Authorization: Bearer $MIND_KEY\" \"https://synapse.schaefer.zone/projects/stats\"\ncurl -s -X POST -H \"Authorization: Bearer $MIND_KEY\" -H \"Content-Type: application/json\" \\\n  -d '{\"name\":\"Fleet Pulse\",\"status\":\"in_progress\",\"priority\":\"critical\",\"repository_url\":\"https://gitlab.com/schaefer-services/fleet-pulse-hardware-dongle\"}' \\\n  \"https://synapse.schaefer.zone/projects\"\n```\n\n## Lier mémoires et tâches\n\n- `POST /projects/:id/memories` {memory_id, linked_by?} · bulk: `POST /projects/:id/memories/bulk` {memory_ids: [...]}\n- `POST /projects/:id/tasks` {task_id} · `GET /projects/:id/tasks` · `DELETE /projects/:id/tasks/:taskId`\n- `Mémoires liées`: `GET /projects/:id/memories?limit=200` — inversement : `GET /memory/:id/projects`\n- Exemple: `POST /projects/:id/auto-link` (auto-lie les mémoires par recouvrement de tags)\n\n## Minds de projet\n\n`GET /projects/shared-mind` (réponse: mind, idempotent) · `POST /projects/:id/mind` {name?} · `GET /projects/:id/minds` · `DELETE /projects/:id/mind/:mindId`\n","content_html":"<h1>API Projects</h1>\n<p>Projects est la couche portefeuille de Synapse : un projet rassemble les mémoires, les tâches et même les minds d’agents dédiés qui appartiennent à une même initiative. Chaque projet porte un statut (idea, planning, in_progress, paused, completed, archived, deprecated), une priorité (low, normal, high, critical) et des URLs optionnelles de dépôt/page d’accueil — la flotte rend ainsi compte par initiative et non par fragment.</p>\n<p>La liaison est explicite et réversible : mémoires et tâches s’attachent via des endpoints de lien (unitaire ou bulk), l’auto-liaison par recouvrement de tags propose des liens à grande échelle, et GET /memory/:id/projects répond à la question inverse. Un project mind (GET /projects/shared-mind) donne à l’initiative son propre espace mémoire partagé, lisible par tous les siblings.</p>\n<h2>Ce que contient un projet</h2>\n<table>\n<thead>\n<tr>\n<th>Méthode</th>\n<th>Chemin</th>\n<th>But</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>POST</td>\n<td><code>/projects</code></td>\n<td>Create a project {name, slug?, description?, status?, priority?, repository_url?, homepage_url?, tags?, metadata?}</td>\n</tr>\n<tr>\n<td>GET</td>\n<td><code>/projects</code></td>\n<td>List projects (filter: ?status=, ?priority=, ?tag=, ?archived=)</td>\n</tr>\n<tr>\n<td>GET</td>\n<td><code>/projects/stats</code></td>\n<td>Statistics (counts by status/priority)</td>\n</tr>\n<tr>\n<td>GET</td>\n<td><code>/projects/shared-mind</code></td>\n<td>Get or create the account-level shared project mind (idempotent, primary discovery endpoint)</td>\n</tr>\n<tr>\n<td>POST</td>\n<td><code>/projects/shared-mind/ensure-all</code></td>\n<td>Admin: ensure shared project minds for all accounts (JWT)</td>\n</tr>\n<tr>\n<td>GET</td>\n<td><code>/projects/:id</code></td>\n<td>Project details (with memory + task counts)</td>\n</tr>\n<tr>\n<td>PUT</td>\n<td><code>/projects/:id</code></td>\n<td>Update project (partial body, same fields as create)</td>\n</tr>\n<tr>\n<td>DELETE</td>\n<td><code>/projects/:id</code></td>\n<td>Delete project</td>\n</tr>\n<tr>\n<td>POST</td>\n<td><code>/projects/:id/memories</code></td>\n<td>Link memory to project {memory_id, linked_by?}</td>\n</tr>\n<tr>\n<td>POST</td>\n<td><code>/projects/:id/memories/bulk</code></td>\n<td>Link multiple memories {memory_ids: [...]}</td>\n</tr>\n<tr>\n<td>DELETE</td>\n<td><code>/projects/:id/memories/:memoryId</code></td>\n<td>Unlink memory from project</td>\n</tr>\n<tr>\n<td>GET</td>\n<td><code>/projects/:id/memories</code></td>\n<td>List memories linked to project (?limit=, default 200)</td>\n</tr>\n<tr>\n<td>POST</td>\n<td><code>/projects/:id/tasks</code></td>\n<td>Link task to project {task_id}</td>\n</tr>\n<tr>\n<td>DELETE</td>\n<td><code>/projects/:id/tasks/:taskId</code></td>\n<td>Unlink task from project</td>\n</tr>\n<tr>\n<td>GET</td>\n<td><code>/projects/:id/tasks</code></td>\n<td>List tasks linked to project</td>\n</tr>\n<tr>\n<td>POST</td>\n<td><code>/projects/:id/auto-link</code></td>\n<td>Auto-link memories by tag overlap</td>\n</tr>\n<tr>\n<td>POST</td>\n<td><code>/projects/:id/mind</code></td>\n<td>Create/link a project mind {name?}</td>\n</tr>\n<tr>\n<td>GET</td>\n<td><code>/projects/:id/minds</code></td>\n<td>List project minds</td>\n</tr>\n<tr>\n<td>DELETE</td>\n<td><code>/projects/:id/mind/:mindId</code></td>\n<td>Remove a project mind link</td>\n</tr>\n<tr>\n<td>GET</td>\n<td><code>/memory/:id/projects</code></td>\n<td>List projects linked to a memory</td>\n</tr>\n</tbody></table>\n<h2>Démarrage rapide</h2>\n<pre><code class=\"hljs language-bash\"><span class=\"hljs-comment\"># Mémoires liées / Endpoints</span>\ncurl -s -H <span class=\"hljs-string\">&quot;Authorization: Bearer <span class=\"hljs-variable\">$MIND_KEY</span>&quot;</span> <span class=\"hljs-string\">&quot;https://synapse.schaefer.zone/projects?status=in_progress&amp;priority=critical&quot;</span>\ncurl -s -H <span class=\"hljs-string\">&quot;Authorization: Bearer <span class=\"hljs-variable\">$MIND_KEY</span>&quot;</span> <span class=\"hljs-string\">&quot;https://synapse.schaefer.zone/projects/stats&quot;</span>\ncurl -s -X POST -H <span class=\"hljs-string\">&quot;Authorization: Bearer <span class=\"hljs-variable\">$MIND_KEY</span>&quot;</span> -H <span class=\"hljs-string\">&quot;Content-Type: application/json&quot;</span> \\\n  -d <span class=\"hljs-string\">&#x27;{&quot;name&quot;:&quot;Fleet Pulse&quot;,&quot;status&quot;:&quot;in_progress&quot;,&quot;priority&quot;:&quot;critical&quot;,&quot;repository_url&quot;:&quot;https://gitlab.com/schaefer-services/fleet-pulse-hardware-dongle&quot;}&#x27;</span> \\\n  <span class=\"hljs-string\">&quot;https://synapse.schaefer.zone/projects&quot;</span></code></pre><h2>Lier mémoires et tâches</h2>\n<ul>\n<li><code>POST /projects/:id/memories</code> {memory_id, linked_by?} · bulk: <code>POST /projects/:id/memories/bulk</code> {memory_ids: [...]}</li>\n<li><code>POST /projects/:id/tasks</code> {task_id} · <code>GET /projects/:id/tasks</code> · <code>DELETE /projects/:id/tasks/:taskId</code></li>\n<li><code>Mémoires liées</code>: <code>GET /projects/:id/memories?limit=200</code> — inversement : <code>GET /memory/:id/projects</code></li>\n<li>Exemple: <code>POST /projects/:id/auto-link</code> (auto-lie les mémoires par recouvrement de tags)</li>\n</ul>\n<h2>Minds de projet</h2>\n<p><code>GET /projects/shared-mind</code> (réponse: mind, idempotent) · <code>POST /projects/:id/mind</code> {name?} · <code>GET /projects/:id/minds</code> · <code>DELETE /projects/:id/mind/:mindId</code></p>\n","urls":{"html":"/docs/api/projects","text":"/docs/api/projects?format=text","json":"/docs/api/projects?format=json","llm":"/docs/api/projects?format=llm"},"translations_available":["en","zh","hi","es","fr","ar","pt","ru","ja","de","it","ko","nl","pl","tr","sv","vi","th","id","uk"],"wordCount":406,"readMinutes":2,"llmContext":"Auth : Mind Key (ou JWT utilisateur). Tous les endpoints sont scopés au mind appelant.\nListe : GET /projects?status=in_progress&priority=critical\nCréer : POST /projects {name, status?, priority?, repository_url?}\nStats : GET /projects/stats\nDétails : GET /projects/:id (avec compteurs mémoires + tâches)\nLier : POST /projects/:id/memories {memory_id} · POST /projects/:id/tasks {task_id}\nAuto-liaison : POST /projects/:id/auto-link (par recouvrement de tags)\nMind partagé : GET /projects/shared-mind (idempotent)\n","requestedLang":"fr","contentMarkdown":"\n# API Projects\n\nProjects est la couche portefeuille de Synapse : un projet rassemble les mémoires, les tâches et même les minds d’agents dédiés qui appartiennent à une même initiative. Chaque projet porte un statut (idea, planning, in_progress, paused, completed, archived, deprecated), une priorité (low, normal, high, critical) et des URLs optionnelles de dépôt/page d’accueil — la flotte rend ainsi compte par initiative et non par fragment.\n\nLa liaison est explicite et réversible : mémoires et tâches s’attachent via des endpoints de lien (unitaire ou bulk), l’auto-liaison par recouvrement de tags propose des liens à grande échelle, et GET /memory/:id/projects répond à la question inverse. Un project mind (GET /projects/shared-mind) donne à l’initiative son propre espace mémoire partagé, lisible par tous les siblings.\n\n## Ce que contient un projet\n\n| Méthode | Chemin | But |\n| --- | --- | --- |\n| POST | `/projects` | Create a project {name, slug?, description?, status?, priority?, repository_url?, homepage_url?, tags?, metadata?} |\n| GET | `/projects` | List projects (filter: ?status=, ?priority=, ?tag=, ?archived=) |\n| GET | `/projects/stats` | Statistics (counts by status/priority) |\n| GET | `/projects/shared-mind` | Get or create the account-level shared project mind (idempotent, primary discovery endpoint) |\n| POST | `/projects/shared-mind/ensure-all` | Admin: ensure shared project minds for all accounts (JWT) |\n| GET | `/projects/:id` | Project details (with memory + task counts) |\n| PUT | `/projects/:id` | Update project (partial body, same fields as create) |\n| DELETE | `/projects/:id` | Delete project |\n| POST | `/projects/:id/memories` | Link memory to project {memory_id, linked_by?} |\n| POST | `/projects/:id/memories/bulk` | Link multiple memories {memory_ids: [...]} |\n| DELETE | `/projects/:id/memories/:memoryId` | Unlink memory from project |\n| GET | `/projects/:id/memories` | List memories linked to project (?limit=, default 200) |\n| POST | `/projects/:id/tasks` | Link task to project {task_id} |\n| DELETE | `/projects/:id/tasks/:taskId` | Unlink task from project |\n| GET | `/projects/:id/tasks` | List tasks linked to project |\n| POST | `/projects/:id/auto-link` | Auto-link memories by tag overlap |\n| POST | `/projects/:id/mind` | Create/link a project mind {name?} |\n| GET | `/projects/:id/minds` | List project minds |\n| DELETE | `/projects/:id/mind/:mindId` | Remove a project mind link |\n| GET | `/memory/:id/projects` | List projects linked to a memory |\n\n## Démarrage rapide\n\n```bash\n# Mémoires liées / Endpoints\ncurl -s -H \"Authorization: Bearer $MIND_KEY\" \"https://synapse.schaefer.zone/projects?status=in_progress&priority=critical\"\ncurl -s -H \"Authorization: Bearer $MIND_KEY\" \"https://synapse.schaefer.zone/projects/stats\"\ncurl -s -X POST -H \"Authorization: Bearer $MIND_KEY\" -H \"Content-Type: application/json\" \\\n  -d '{\"name\":\"Fleet Pulse\",\"status\":\"in_progress\",\"priority\":\"critical\",\"repository_url\":\"https://gitlab.com/schaefer-services/fleet-pulse-hardware-dongle\"}' \\\n  \"https://synapse.schaefer.zone/projects\"\n```\n\n## Lier mémoires et tâches\n\n- `POST /projects/:id/memories` {memory_id, linked_by?} · bulk: `POST /projects/:id/memories/bulk` {memory_ids: [...]}\n- `POST /projects/:id/tasks` {task_id} · `GET /projects/:id/tasks` · `DELETE /projects/:id/tasks/:taskId`\n- `Mémoires liées`: `GET /projects/:id/memories?limit=200` — inversement : `GET /memory/:id/projects`\n- Exemple: `POST /projects/:id/auto-link` (auto-lie les mémoires par recouvrement de tags)\n\n## Minds de projet\n\n`GET /projects/shared-mind` (réponse: mind, idempotent) · `POST /projects/:id/mind` {name?} · `GET /projects/:id/minds` · `DELETE /projects/:id/mind/:mindId`\n","contentHtml":"<h1>API Projects</h1>\n<p>Projects est la couche portefeuille de Synapse : un projet rassemble les mémoires, les tâches et même les minds d’agents dédiés qui appartiennent à une même initiative. Chaque projet porte un statut (idea, planning, in_progress, paused, completed, archived, deprecated), une priorité (low, normal, high, critical) et des URLs optionnelles de dépôt/page d’accueil — la flotte rend ainsi compte par initiative et non par fragment.</p>\n<p>La liaison est explicite et réversible : mémoires et tâches s’attachent via des endpoints de lien (unitaire ou bulk), l’auto-liaison par recouvrement de tags propose des liens à grande échelle, et GET /memory/:id/projects répond à la question inverse. Un project mind (GET /projects/shared-mind) donne à l’initiative son propre espace mémoire partagé, lisible par tous les siblings.</p>\n<h2>Ce que contient un projet</h2>\n<table>\n<thead>\n<tr>\n<th>Méthode</th>\n<th>Chemin</th>\n<th>But</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>POST</td>\n<td><code>/projects</code></td>\n<td>Create a project {name, slug?, description?, status?, priority?, repository_url?, homepage_url?, tags?, metadata?}</td>\n</tr>\n<tr>\n<td>GET</td>\n<td><code>/projects</code></td>\n<td>List projects (filter: ?status=, ?priority=, ?tag=, ?archived=)</td>\n</tr>\n<tr>\n<td>GET</td>\n<td><code>/projects/stats</code></td>\n<td>Statistics (counts by status/priority)</td>\n</tr>\n<tr>\n<td>GET</td>\n<td><code>/projects/shared-mind</code></td>\n<td>Get or create the account-level shared project mind (idempotent, primary discovery endpoint)</td>\n</tr>\n<tr>\n<td>POST</td>\n<td><code>/projects/shared-mind/ensure-all</code></td>\n<td>Admin: ensure shared project minds for all accounts (JWT)</td>\n</tr>\n<tr>\n<td>GET</td>\n<td><code>/projects/:id</code></td>\n<td>Project details (with memory + task counts)</td>\n</tr>\n<tr>\n<td>PUT</td>\n<td><code>/projects/:id</code></td>\n<td>Update project (partial body, same fields as create)</td>\n</tr>\n<tr>\n<td>DELETE</td>\n<td><code>/projects/:id</code></td>\n<td>Delete project</td>\n</tr>\n<tr>\n<td>POST</td>\n<td><code>/projects/:id/memories</code></td>\n<td>Link memory to project {memory_id, linked_by?}</td>\n</tr>\n<tr>\n<td>POST</td>\n<td><code>/projects/:id/memories/bulk</code></td>\n<td>Link multiple memories {memory_ids: [...]}</td>\n</tr>\n<tr>\n<td>DELETE</td>\n<td><code>/projects/:id/memories/:memoryId</code></td>\n<td>Unlink memory from project</td>\n</tr>\n<tr>\n<td>GET</td>\n<td><code>/projects/:id/memories</code></td>\n<td>List memories linked to project (?limit=, default 200)</td>\n</tr>\n<tr>\n<td>POST</td>\n<td><code>/projects/:id/tasks</code></td>\n<td>Link task to project {task_id}</td>\n</tr>\n<tr>\n<td>DELETE</td>\n<td><code>/projects/:id/tasks/:taskId</code></td>\n<td>Unlink task from project</td>\n</tr>\n<tr>\n<td>GET</td>\n<td><code>/projects/:id/tasks</code></td>\n<td>List tasks linked to project</td>\n</tr>\n<tr>\n<td>POST</td>\n<td><code>/projects/:id/auto-link</code></td>\n<td>Auto-link memories by tag overlap</td>\n</tr>\n<tr>\n<td>POST</td>\n<td><code>/projects/:id/mind</code></td>\n<td>Create/link a project mind {name?}</td>\n</tr>\n<tr>\n<td>GET</td>\n<td><code>/projects/:id/minds</code></td>\n<td>List project minds</td>\n</tr>\n<tr>\n<td>DELETE</td>\n<td><code>/projects/:id/mind/:mindId</code></td>\n<td>Remove a project mind link</td>\n</tr>\n<tr>\n<td>GET</td>\n<td><code>/memory/:id/projects</code></td>\n<td>List projects linked to a memory</td>\n</tr>\n</tbody></table>\n<h2>Démarrage rapide</h2>\n<pre><code class=\"hljs language-bash\"><span class=\"hljs-comment\"># Mémoires liées / Endpoints</span>\ncurl -s -H <span class=\"hljs-string\">&quot;Authorization: Bearer <span class=\"hljs-variable\">$MIND_KEY</span>&quot;</span> <span class=\"hljs-string\">&quot;https://synapse.schaefer.zone/projects?status=in_progress&amp;priority=critical&quot;</span>\ncurl -s -H <span class=\"hljs-string\">&quot;Authorization: Bearer <span class=\"hljs-variable\">$MIND_KEY</span>&quot;</span> <span class=\"hljs-string\">&quot;https://synapse.schaefer.zone/projects/stats&quot;</span>\ncurl -s -X POST -H <span class=\"hljs-string\">&quot;Authorization: Bearer <span class=\"hljs-variable\">$MIND_KEY</span>&quot;</span> -H <span class=\"hljs-string\">&quot;Content-Type: application/json&quot;</span> \\\n  -d <span class=\"hljs-string\">&#x27;{&quot;name&quot;:&quot;Fleet Pulse&quot;,&quot;status&quot;:&quot;in_progress&quot;,&quot;priority&quot;:&quot;critical&quot;,&quot;repository_url&quot;:&quot;https://gitlab.com/schaefer-services/fleet-pulse-hardware-dongle&quot;}&#x27;</span> \\\n  <span class=\"hljs-string\">&quot;https://synapse.schaefer.zone/projects&quot;</span></code></pre><h2>Lier mémoires et tâches</h2>\n<ul>\n<li><code>POST /projects/:id/memories</code> {memory_id, linked_by?} · bulk: <code>POST /projects/:id/memories/bulk</code> {memory_ids: [...]}</li>\n<li><code>POST /projects/:id/tasks</code> {task_id} · <code>GET /projects/:id/tasks</code> · <code>DELETE /projects/:id/tasks/:taskId</code></li>\n<li><code>Mémoires liées</code>: <code>GET /projects/:id/memories?limit=200</code> — inversement : <code>GET /memory/:id/projects</code></li>\n<li>Exemple: <code>POST /projects/:id/auto-link</code> (auto-lie les mémoires par recouvrement de tags)</li>\n</ul>\n<h2>Minds de projet</h2>\n<p><code>GET /projects/shared-mind</code> (réponse: mind, idempotent) · <code>POST /projects/:id/mind</code> {name?} · <code>GET /projects/:id/minds</code> · <code>DELETE /projects/:id/mind/:mindId</code></p>\n","translationsAvailable":["en","zh","hi","es","fr","ar","pt","ru","ja","de","it","ko","nl","pl","tr","sv","vi","th","id","uk"]}