Skip to main content
POST
/
v2
/
notes
/
search
cURL
curl "https://api.mem.ai/v2/notes/search" \
     --header "Content-Type: application/json" \
     --header "Authorization: Bearer $MEM_API_KEY" \
     --data '{
         "query": "sales"
     }'
{
  "request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
  "results": [
    {
      "collection_ids": [
        "59508b41-8770-4855-aa37-302b1e09aee7"
      ],
      "content": "# Recipe Notes\n\n- Lemon pasta\n- Chili oil dumplings\n",
      "created_at": "2025-03-18T11:00:00Z",
      "id": "018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
      "title": "Recipe Notes",
      "updated_at": "2025-04-22T16:12:34Z"
    }
  ],
  "total": 1
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
query
string | null

Optional query used to filter notes.

filter_by_collection_ids
string<uuid>[] | null

Optional list of collection IDs; when provided, only notes in any of the specified collections are returned.

Response

200 - application/json

OK

request_id
string
required
results
NoteSearchItemResponseSchema · object[]
required
total
integer
required