GET /api/projects
List every project (namespace) in the caller's org. Ordered by most recently active.
curl https://www.mnueron.com/api/projects \
-H "Authorization: Bearer $MNUERON_API_TOKEN"
Response
{
"projects": [
{
"id": "01HQ…",
"name": "default",
"description": null,
"metadata": {},
"memory_count": 412,
"archived_at": null,
"created_at": 1735000000000,
"updated_at": 1737070000000
},
{
"id": "01HR…",
"name": "client-acme",
"description": "Memories scoped to the Acme engagement.",
"metadata": { "color": "purple" },
"memory_count": 18,
"archived_at": null,
"created_at": 1737070000000,
"updated_at": 1737071000000
}
]
}
GET /api/projects/:id
Fetch one project.
Same shape as the list-rows above. 404 when not found in this org.
PATCH /api/projects/:id
Rename / update / archive a project.
curl -X PATCH https://www.mnueron.com/api/projects/01HR… \
-H "Authorization: Bearer $MNUERON_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "archived": true }'
| Field | Type | Notes |
|---|---|---|
name | string | Renames the project |
description | string | null clears |
metadata | object | Merged (null inside clears keys) |
archived | bool | true stamps archived_at = NOW(); false clears |
DELETE /api/projects/:id
204 on success. CASCADE-deletes every memory in the namespace. Irreversible.