Skip to main content
POST
/
v2
/
collections
/
search
cURL
curl "https://api.mem.ai/v2/collections/search" \
     --header "Content-Type: application/json" \
     --header "Authorization: Bearer $MEM_API_KEY" \
     --data '{
         "query": "recipes"
     }'
{
  "request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
  "results": [
    {
      "created_at": "2025-03-18T11:00:00Z",
      "description": "Saved recipes from around the web",
      "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 collections.

Response

200 - application/json

OK

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