Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.qoder.com/llms.txt

Use this file to discover all available pages before exploring further.

GET /v1/memory_stores/{memory_store_id}/memories Retrieves all memory entries under the specified Memory Store with cursor pagination.

Path parameters

ParameterTypeRequiredDescription
memory_store_idstringYesMemory Store ID with the memstore_ prefix

Headers

HeaderRequiredDescription
AuthorizationYesBearer $QODER_PAT

Query parameters

ParameterTypeRequiredDescription
limitintegerNoMaximum number of records per page
after_idstringNoCursor pagination: return records after this ID

Example request

curl -X GET "https://openapi.qoder.sh/api/v1/cloud/memory_stores/memstore_xxx/memories" \
  -H "Authorization: Bearer $QODER_PAT"

# Paginate
curl -X GET "https://openapi.qoder.sh/api/v1/cloud/memory_stores/memstore_xxx/memories?limit=20&after_id=mem_xxx" \
  -H "Authorization: Bearer $QODER_PAT"

Example response

HTTP 200 OK Returns a paginated list object.
{
  "data": [
    {
      "id": "mem_019e3bb965a671fca51bde1cf8d87de0",
      "type": "memory",
      "store_id": "memstore_019e3bb93b7074f9a5130d39ddcca90f",
      "path": "test/note.md",
      "size": 11,
      "content_sha256": "64ec88ca00b268e5ba1a35678a1b5316d212f4f366b2477232534a8aeca37f3c",
      "version": 1,
      "metadata": {},
      "created_at": "2026-05-18T15:34:26.494349Z",
      "updated_at": "2026-05-18T15:34:26.494349Z"
    }
  ],
  "first_id": "mem_019e3bb965a671fca51bde1cf8d87de0",
  "last_id": "mem_019e3bb965a671fca51bde1cf8d87de0",
  "has_more": false
}

Response fields

FieldTypeDescription
dataarrayArray of MemoryEntry objects (without content)
first_idstringID of the first record on the current page
last_idstringID of the last record on the current page
has_morebooleanWhether more pages are available

Per-record fields in the list

FieldTypeDescription
idstringUnique identifier
typestringAlways "memory"
store_idstringOwning Memory Store ID
pathstringRelative path
sizeint64Content size in bytes
content_sha256stringContent SHA-256 hash
versionint64Current version number
metadataobjectCustom metadata
created_atstringCreation time
updated_atstringLast update time

Errors

HTTPTypeTrigger
401TOKEN_INVALIDMissing or invalid authentication token
404not_found_errorMemory Store does not exist

Notes

  • The list endpoint does not return the content field; it returns metadata only.
  • Use the get-entry endpoint to retrieve content.
  • Pagination follows the same limit + after_id pattern as other list endpoints.
See Errors for the full error envelope.