POST /api/projects
Create a new project (called a namespace internally) inside the caller's org. Every memory belongs to exactly one project.
curl -X POST https://www.mnueron.com/api/projects \
-H "Authorization: Bearer $MNUERON_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "client-acme",
"description": "Memories scoped to the Acme engagement.",
"metadata": { "color": "purple" }
}'
Body
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | yes | Up to 200 chars. UNIQUE per org |
description | string | no | |
metadata | object | no | Free-form JSON |
Response
201 Created
{
"id": "01HQ…",
"name": "client-acme",
"description": "Memories scoped to the Acme engagement.",
"metadata": { "color": "purple" },
"memory_count": 0,
"archived_at": null,
"created_at": 1737070000000,
"updated_at": 1737070000000
}
Errors
| Status | Reason |
|---|---|
400 | name required |
409 | project name already in use |