Skip to main content
Memory Stores

Get a Memory

Get a Memory entry from a Forward Memory Store.

Returns a Memory by ID. The response includes content.

Path

GET /api/v1/forward/memory_stores/{memory_store_id}/memories/{memory_id}

Headers

HeaderRequiredDescription
AuthorizationYesBearer <PAT or admin SAT>

Path parameters

ParameterTypeRequiredDescription
memory_store_idstringYesMemory Store ID (memstore_...).
memory_idstringYesMemory ID (mem_...).

Example request

curl -X GET "https://api.qoder.com/api/v1/forward/memory_stores/memstore_00mc7mukn7lkxr454tjd/memories/mem_00mc7mvag5u68kkfvxhy" \
  -H "Authorization: Bearer $QODER_ACCESS_TOKEN"

Example response

HTTP 200 OK
{
  "id": "mem_00mc7mvag5u68kkfvxhy",
  "type": "memory",
  "memory_store_id": "memstore_00mc7mukn7lkxr454tjd",
  "path": "decisions/arch-choice.md",
  "content": "# Architecture decision\n\nUse a microservices architecture.",
  "content_size_bytes": 99,
  "content_sha256": "1712de0d497a5aeef2beeccf4fbb7d5a16944975438d0c25447b9c1fba13099a",
  "metadata": {"owner": "backend-team"},
  "created_at": "2026-08-14T10:00:00Z",
  "updated_at": "2026-08-14T10:00:00Z"
}

Response

Returns a Memory object, including content.

Notes

Memories in an archived Memory Store remain readable.

Errors

HTTPTypeTrigger
400invalid_request_errorA path parameter is invalid.
401authentication_errorThe authentication token is missing or invalid.
403permission_errorThe caller cannot access the resource.
404not_found_errorThe Memory Store or Memory does not exist, or is not visible across users.
500/502/503api_errorForward or a dependent service failed.
Get a Memory - Qoder