Skip to content
API & MCP

POST /v1/search

Searches the person’s Cerebro by meaning and by words at once. The two lists are fused by rank, so what is close in both comes out on top. No language model is involved: it’s fast and has no per-query cost. A chat group (group) is found by its name and also by its members’ names.

It also searches, by words, what surrounds the Cerebro: documents and links (document), library pages (page), “Ideas & notes” notes (note) and WhatsApp, Slack and Discord conversations (conversation). Everything comes out together, sorted by score. See Documents, pages, notes and conversations.

It also exists as GET /v1/search?q=… for quick tests.

  • Scope: cerebro:read
  • Quota: 1 read

In the JSON body (POST) or in the query string (GET). If you send both, the body wins.

Name Type Required Limits Default
query (in GET, also q) string Yes 1 to 500 characters
types string[] (in GET, comma-separated) No notebook, project, trip, event, person, group, milestone, subproject, task, document, page, note, conversation All
limit integer No 1 to 50 10
includeClosed boolean No Include finished tasks false
Ventana de terminal
curl https://meemoo.tech/api/v1/search \
-H "Authorization: Bearer $MEEMOO_TOKEN" \
-H "Content-Type: application/json" \
-d '{"query": "what did I promise Juan?", "limit": 5}'
# The same with GET, people only
curl "https://meemoo.tech/api/v1/search?q=Juan%20Acme&types=person" \
-H "Authorization: Bearer $MEEMOO_TOKEN"

200 OK

{
"results": [
{
"ref": "task:c4a91e07-5b2d-4f63-8e1a-7d0b3f9c2e64",
"type": "task",
"id": "c4a91e07-5b2d-4f63-8e1a-7d0b3f9c2e64",
"title": "Send proposal to Acme",
"snippet": "I promised Juan the proposal with volume pricing before Friday.",
"score": 1,
"parent": { "ref": "project:0b7e4a52-3c19-4d8f-a6e2-91f4c7d3b815", "title": "Acme Web" },
"url": "https://meemoo.tech/proyectos/0b7e4a52-3c19-4d8f-a6e2-91f4c7d3b815?tab=backlog&ticket=c4a91e07-5b2d-4f63-8e1a-7d0b3f9c2e64"
},
{
"ref": "person:6f1d2c3a-8b4e-4f7a-9c21-5d8e7a1b3c40",
"type": "person",
"id": "6f1d2c3a-8b4e-4f7a-9c21-5d8e7a1b3c40",
"title": "Juan Pérez",
"snippet": "CTO at Acme. Prefers calls before 10 am…",
"score": 0.917,
"parent": null,
"url": "https://meemoo.tech/personas/6f1d2c3a-8b4e-4f7a-9c21-5d8e7a1b3c40"
}
],
"tookMs": 84
}
Field Type What it is
results[].ref string The item’s ref
results[].type string Its type
results[].id string Its uuid
results[].title string Its title
results[].notebookKind string Only on a notebook (notebook): concept, thought or idea
results[].snippet string Up to about 240 characters of its text, around the first matching word. Empty if it has no text
results[].score number How high it ranked, from 0 to 1. It’s relative to this search, not a probability: 1 means first by meaning and by words
results[].parent object or null The project, trip or event of a task, milestone or subproject; on a document, page or note, the item it’s on
results[].url string Where to open it in meemoo
results[].link string or null Only on document and conversation: the outside link (the document’s URL or the message permalink)
results[].at string or null Only on document, page, note and conversation: when it happened
tookMs integer How long the search took

Results are sorted by score, highest first. A search with no matches returns 200 with an empty results.

HTTP code When
400 invalid_request query is missing or longer than 500 characters, a type doesn’t exist or limit is outside 1 to 50
401 unauthorized No credential, or it expired or was revoked
403 insufficient_scope The credential doesn’t have cerebro:read
403 conversations_off You asked only for conversation and the person turned conversations off in their account
429 rate_limited, quota_exceeded More than 120 per minute, or today’s reads ran out

It’s the search tool, with the same parameters. It returns the same JSON as text.