POST /v1/memories
Writes to the Cerebro (in MCP it’s remember). It answers 202 right away with the memory’s id; ordering,
deduplication and connections happen in the queue, within seconds. With ?wait=true it waits up to 10 seconds and
returns the result if it’s ready.
- Scope:
cerebro:write - Quota: 1 write
Parameters
Section titled “Parameters”| Name | Where | Type | Required | Limits and rules | Default |
|---|---|---|---|---|---|
wait |
query | true |
No | Wait up to 10 s for the result | Doesn’t wait |
Idempotency-Key |
header | string | No | Up to 200 characters. Same as idempotencyKey |
|
content |
body | string | Yes | Up to 20,000 characters, Markdown | |
title |
body | string | No | Up to 200 characters | The first line of content, up to 80 characters |
kind |
body | string | No | auto, notebook, person, group, project, trip, event, task, note, subproject, milestone, version |
auto |
notebookKind |
body | string | No | Only with kind notebook or auto: concept (a topic or piece of knowledge to define or study), thought (a reflection or opinion of the person) or idea (something that could be done or built) |
thought |
about |
body | string (ref) | No | Only with kind auto. Adds content to that item |
|
in |
body | string (ref) | With task, note, subproject, milestone and version |
task: a project:, trip:, event: or milestone: (it goes straight into that milestone). note: a project:. subproject: a project:, trip: or event:. milestone: a project:, trip:, event: or subproject:. version: a project:. Not allowed with other kinds |
|
due |
body | string | No | YYYY-MM-DD. task: its date. milestone: its end date. version: its release date |
|
dueTime |
body | string | No | Only with task. HH:MM (24 h). Ignored without due |
|
startDate |
body | string | No | Only with milestone: its start date, YYYY-MM-DD. due can’t be before it |
|
milestone |
body | string | No | Only with task: the milestone it goes in, a milestone:… or a title (an existing one with that title is used; otherwise it’s created). Up to 300 characters |
|
subproject |
body | string | No | With milestone, or with task together with milestone by title: the sub project, a subproject:… or a name (used or created). Up to 200 characters |
|
version |
body | string | No | With task or milestone in a project: the version, a version:… or its number, like 1.2 (used or created). Up to 80 characters |
|
dependencies |
body | string[] (refs) | No | With task: the tasks it depends on, up to 20 task:… of the same project, trip or event. The result repeats them in placed.dependencies |
|
links |
body | { ref, verb? }[] |
No | Up to 8. verb optional, from the vocabulary |
|
source |
body | { app?, url?, occurredAt? } |
No | app up to 60 characters; url with http:// or https://, up to 500; occurredAt ISO 8601 |
|
idempotencyKey |
body | string | No | Up to 200 characters. If present, it wins over the header |
The refs in about, in and links must exist and be yours; otherwise the response is 404.
What each kind does
Section titled “What each kind does”kind |
What it does |
|---|---|
auto |
With about, adds content to that item (appended). Without about, saves a notebook of kind thought (or the one in notebookKind) |
notebook, project, trip, event |
A notebook is created with its notebookKind (thought if missing). If there’s already one of the same type with the same name (ignoring case and accents), it adds a page to it instead of duplicating it (appended). Otherwise it creates it (created) |
person |
Creates the person or merges with the existing one by name, alias or email (merged). The name is title (or the first line) |
group |
Creates a chat group with content as its notes (created). If there’s already one with that name or alias (ignoring case and accents), it adds a page to it (merged). Its members aren’t sent: they arrive on their own from the chat. Never use person for a group |
task |
Creates a task in the project, trip or event in in. With due, it’s planned for that day |
note |
Creates a quick note in the project in in. Its ref in the result is the project’s |
subproject |
Creates a sub project in the project, trip or event in in. The name is title and content its scope. If there’s already one with that name, it uses it (merged) |
milestone |
Creates a milestone in the project, trip, event or sub project in in, with startDate and due as its dates and content as its description. With subproject and version it goes there. If there’s already one with that title, it uses it (merged) |
version |
Creates a version of the project in in: title is its number (1.2), due its release date and content its description. Its ref is version:… (it isn’t a Cerebro item: no links). If that number exists, it uses it (merged) |
Where each thing hangs
Section titled “Where each thing hangs”As in the app’s Roadmap: a task goes in a milestone, a milestone in a sub project, and a version of a project groups tasks and milestones. A task can be created and placed in one go:
{ "kind": "task", "in": "project:0b7e4a52-3c19-4d8f-a6e2-91f4c7d3b815", "title": "Electronic invoice", "content": "Stamp every charge.", "milestone": "Invoicing", "subproject": "Tax", "version": "1.2"}By name, what exists is used and what’s missing is created. The response says where it went (result.placed) and
what was created along with it (result.alsoCreated). A task hangs from a sub project through its milestone:
subproject without milestone by title answers 400. A trip or an event has no versions.
When saving, meemoo adds a footer line with the agent that saved it, the source app, the date and the URL. Then the
new item goes into the Cerebro’s queue to connect itself to what it mentions. More in
How your writes are organized.
Examples
Section titled “Examples”A decision, with its source:
curl "https://meemoo.tech/api/v1/memories?wait=true" \ -H "Authorization: Bearer $MEEMOO_TOKEN" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: slack-C024BE91L-1731600000.000100" \ -d '{ "kind": "notebook", "notebookKind": "thought", "title": "Payments with Stripe", "content": "We decided to use Stripe to bill Acme. Juan approved it on Thursday'\''s call.", "links": [ { "ref": "project:0b7e4a52-3c19-4d8f-a6e2-91f4c7d3b815" }, { "ref": "person:6f1d2c3a-8b4e-4f7a-9c21-5d8e7a1b3c40" } ], "source": { "app": "Slack", "url": "https://acme.slack.com/archives/C024BE91L/p1731600000000100" } }'const res = await fetch("https://meemoo.tech/api/v1/memories?wait=true", { method: "POST", headers: { Authorization: `Bearer ${process.env.MEEMOO_TOKEN}`, "Content-Type": "application/json", "Idempotency-Key": "slack-C024BE91L-1731600000.000100", }, body: JSON.stringify({ kind: "notebook", notebookKind: "thought", title: "Payments with Stripe", content: "We decided to use Stripe to bill Acme. Juan approved it on Thursday's call.", links: [ { ref: "project:0b7e4a52-3c19-4d8f-a6e2-91f4c7d3b815" }, { ref: "person:6f1d2c3a-8b4e-4f7a-9c21-5d8e7a1b3c40" }, ], source: { app: "Slack", url: "https://acme.slack.com/archives/C024BE91L/p1731600000000100" }, }),});const memory = await res.json(); // 200 if it finished, 202 if it's still queuedimport osimport requests
res = requests.post( "https://meemoo.tech/api/v1/memories", params={"wait": "true"}, headers={ "Authorization": f"Bearer {os.environ['MEEMOO_TOKEN']}", "Idempotency-Key": "slack-C024BE91L-1731600000.000100", }, json={ "kind": "notebook", "notebookKind": "thought", "title": "Payments with Stripe", "content": "We decided to use Stripe to bill Acme. Juan approved it on Thursday's call.", "links": [ {"ref": "project:0b7e4a52-3c19-4d8f-a6e2-91f4c7d3b815"}, {"ref": "person:6f1d2c3a-8b4e-4f7a-9c21-5d8e7a1b3c40"}, ], "source": {"app": "Slack", "url": "https://acme.slack.com/archives/C024BE91L/p1731600000000100"}, },)memory = res.json() # 200 if it finished, 202 if it's still queuedOther example bodies:
// Add a fact to an existing person{ "content": "Prefers calls before 10 am.", "about": "person:6f1d2c3a-8b4e-4f7a-9c21-5d8e7a1b3c40", "source": { "app": "Gmail" } }
// A task with a date and time, connected to Juan{ "kind": "task", "title": "Call Juan", "content": "Confirm the proposal.", "in": "project:0b7e4a52-3c19-4d8f-a6e2-91f4c7d3b815", "due": "2026-12-01", "dueTime": "09:30", "links": [{ "ref": "person:6f1d2c3a-8b4e-4f7a-9c21-5d8e7a1b3c40" }] }
// A new person (labeled lines fill in their profile){ "kind": "person", "title": "Laura Gómez", "content": "Company: Acme\nRole: CFO\nlaura@acme.com" }Response
Section titled “Response”202 Accepted if it’s still in the queue (without wait, or if it didn’t finish within 10 s):
{ "id": "5b3e9c12-7d4a-4f81-a2c6-0e9d8b7f1a35", "status": "queued", "createdAt": "2026-11-14T15:02:11.000Z", "statusUrl": "https://meemoo.tech/api/v1/memories/5b3e9c12-7d4a-4f81-a2c6-0e9d8b7f1a35"}200 OK if it already finished (with wait=true):
{ "id": "5b3e9c12-7d4a-4f81-a2c6-0e9d8b7f1a35", "status": "done", "createdAt": "2026-11-14T15:02:11.000Z", "result": { "action": "created", "ref": "notebook:7a1c3e5f-2b4d-4c6e-8f0a-1b2c3d4e5f60", "title": "Payments with Stripe", "links": 2, "url": "https://meemoo.tech/cuadernos/7a1c3e5f-2b4d-4c6e-8f0a-1b2c3d4e5f60" }, "statusUrl": "https://meemoo.tech/api/v1/memories/5b3e9c12-7d4a-4f81-a2c6-0e9d8b7f1a35"}| Field | Type | What it is |
|---|---|---|
id |
string | The memory’s id. Use it to check its status at GET /v1/memories/{id} |
status |
string | queued, processing, done or failed |
createdAt |
string | When it arrived |
error |
string | Only if status is failed: what happened |
result.action |
string | created (new), appended (added to an existing item) or merged (merged into an existing person, or a sub project, milestone or version with that name that already existed and was reused) |
result.ref, result.title, result.url |
string | The item where it ended up |
result.links |
integer | How many connections from links were created |
result.noteId |
string | Only with kind note: the note’s id. Read it with GET /v1/items/note:<noteId> |
result.placed |
object | Task or milestone: where it went (milestone, subproject, version, as refs) |
result.alsoCreated |
string[] | What was created along with it (a new milestone, sub project or version). If the person undoes it, that goes too, if nothing else uses it |
undoneAt |
string | Only if the person undid it in meemoo |
statusUrl |
string | Where to check its status |
Idempotency
Section titled “Idempotency”Send a key with Idempotency-Key (or idempotencyKey in the body) and sending the same thing twice won’t duplicate it:
the second time you get the same memory, with the same id. Keys are per account. Use something stable from the
source, such as the message or event id.
Connections with links
Section titled “Connections with links”Each link connects the new item to another one (out, from the new item to the other). verb is optional:
- A verb that doesn’t exist in the vocabulary returns 400.
- A verb that exists but doesn’t join those two types is saved without a verb, and the Cerebro assigns the right one later.
- Without a verb, the Cerebro also assigns one later.
meemoo stores the connection in the direction the verb reads: a new task with { "ref": "person:…", "verb": "requested" } becomes “the person requested the task” (person → task). You don’t have to think about direction; if
you’re unsure about the verb, leave it out.
With kind note, links aren’t used.
In the Assistant’s chat
Section titled “In the Assistant’s chat”Every memory that finishes well leaves a block in the meemoo Assistant’s chat, so the person sees what changed without opening their account: “Claude created” (with the agent’s name) with what’s new and “Claude changed” with what something was added to. Each item carries its link and Undo, the same one as in Connections → API.
What the same agent saves in a row is grouped into one block while that block is the last thing in the chat and less than 15 minutes have passed (up to 50 memories per block). Memories that fail leave no block.
Errors
Section titled “Errors”| HTTP | code |
When |
|---|---|---|
| 400 | invalid_request |
content is missing or longer than 20,000 characters; unknown kind; about with a kind other than auto; task, note, subproject, milestone or version without in; in of the wrong type; milestone, subproject or version with a kind that doesn’t take them (or repeating what in already says); subproject on a task without milestone by title; version in a trip or an event; startDate with a kind other than milestone; due before startDate; due or dueTime with another kind or malformed; more than 8 links; links on a version or on shared items; unknown verb; malformed source; a malformed ref |
| 401 | unauthorized |
No credential, or it expired or was revoked |
| 403 | insufficient_scope |
The credential doesn’t have cerebro:write (for example, a read-only token) |
| 403 | forbidden |
about or in belongs to a project, trip or event shared with the person as view only |
| 404 | not_found |
A ref in about, in, links, milestone or subproject doesn’t exist or isn’t yours |
| 429 | rate_limited, quota_exceeded |
More than 120 per minute, or today’s writes ran out |
In MCP
Section titled “In MCP”It’s the remember tool, with the same body fields. It always waits up to 10 s, like
?wait=true. It only shows up if the credential has cerebro:write.