Skip to main content
GET
https://api.memcontext.in
/
api
/
memories
List memories
curl --request GET \
  --url https://api.memcontext.in/api/memories \
  --header 'X-API-Key: <api-key>'
{
  "memories": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "content": "<string>",
      "source": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "category": "<string>",
      "project": "<string>",
      "version": 123,
      "validFrom": "2023-11-07T05:31:56Z",
      "validUntil": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123,
  "hasMore": true
}

Authorizations

X-API-Key
string
header
required

API key created from the MemContext dashboard. Keys are prefixed with mc_.

Query Parameters

limit
integer
default:20

Number of memories to return.

Required range: 1 <= x <= 100
offset
integer
default:0

Pagination offset.

Required range: x >= 0
category
string

Comma-separated category filter. Values: preference, fact, decision, context.

project
string

Comma-separated project filter. Use __null__ for memories without a project.

Text search across memory content (case-insensitive substring match).

Maximum string length: 200

Response

200 - application/json

Paginated memory list.

memories
object[]
required
total
integer
required

Total number of memories matching the filters.

hasMore
boolean
required

Whether more results exist beyond the current page.