Items
The items added for one end user, newest first, paged - ids, text, metadata, about and expiry, as add was given them.
POST /v1/memory/itemsLists what you added for one end user, newest first, the way you sent it. This is Mem0's get_all: use it for a
"what we know about you" screen, or to check an import. To read one item whole, use item.
Items that were forgotten or have expired are not listed, and nor are events from connectors. Makes no model
call.
The first page, sent without before, opens with items that were accepted (add answered 202) and have not
landed yet, marked landed: false, so an add is listed at once. Then come the landed items, newest first,
landed: true. Waiting items are listed on the first page only, beside the limit landed ones.
Headers
AuthorizationstringBearer tm_…. A read key is enough.
X-Twin-AccountstringThe end user whose items to return. See End users.
X-Request-IdstringYour id for this request, echoed on the response.
Body
limitintegerHow many items, 1 to 200. Default 50.
beforestringThe next the previous page answered with, for the page after it.
Response
foundintegerHow many items this page holds.
itemsobject[]nextstringPresent when there are older items. Send it as before for the next page.
Errors
400bad requestX-Twin-Account is missing or not a usable id.
401unauthorizedThe bearer is not a key this service issued.
404not foundno memory for end user 'user_42' yet.
422invalidA limit outside 1 to 200.
503unavailableAt capacity, or this end user is being rebuilt. Retry after Retry-After seconds.
curl https://api.twinmemory.dev/v1/memory/items \
-H "Authorization: Bearer $TWIN_MEMORY_API_KEY" \
-H "X-Twin-Account: user_42" \
-H "Content-Type: application/json" \
-d '{ "limit": 50 }'{
"found": 1,
"items": [
{
"id": "pref-diet",
"kind": "note",
"text": "Alice is vegan and allergic to peanuts.",
"at": "2026-10-01T09:30:00+00:00",
"author": { "id": "user_42", "name": "Alice Chen" },
"session": "onboarding",
"about": ["topic:diet"],
"metadata": { "source": "signup_form" },
"expires": null,
"event_id": "ev_620270db0bff9328",
"landed": true
}
]
}