GET · Get projects

List projects in the caller's org with memory counts.

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 }'
FieldTypeNotes
namestringRenames the project
descriptionstringnull clears
metadataobjectMerged (null inside clears keys)
archivedbooltrue stamps archived_at = NOW(); false clears

DELETE /api/projects/:id

204 on success. CASCADE-deletes every memory in the namespace. Irreversible.

Last updated 2026-05-24edit