v56

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01142337440.5 KB
MemoryService
Memory Entries

Get a memory entry by ID

Retrieves a memory entry by ID from a memory layer. Returns the detail view, including the content body.

get/v1/workspaces/{workspaceId}/memory_layers/{memoryLayerId}/entries/{id}

Path parameters

workspaceIdstring required
Example:workspace_01HXKD2E5NQM3T9AYWCF133E3Q
memoryLayerIdstring required
Example:memlyr_01HXKD2E5NQM3T9AYWCFFFBMJH

Memory layer ID. Accepts canonical memlyr_… form or external_id:<value> form.

idstring required
Example:mementry_01HXKD2E5NQM3T9AYWCF5E52Z0

Response

OK

contentstring required

The resolved body of the entry. For entries created or updated via an upload_id, this is the ingested content, not the original upload handle. May be empty; an entry with only a key and description is valid (e.g., a stub skill being drafted, or an entry where the frontmatter alone is the payload).

Example response

{
  "metadata": {
    "accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
    "workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
    "profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
  },
  "info": {
    "memoryLayer": {
      "accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
      "workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
      "profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
    },
    "createdBy": {
      "metadata": {
        "accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
        "profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
      }
    }
  }
}