MemoryService
Memory Entries
List memory entries
Lists all entries in a memory layer
get/v1/workspaces/{workspaceId}/memory_layers/{memoryLayerId}/entries
Path parameters
workspaceIdstring required
Example:workspace_01HXKD2E5NQM3T9AYWCF133E3Q
memoryLayerIdstring required
Example:memlyr_01HXKD2E5NQM3T9AYWCFFFBMJH
Memory layer ID. Accepts canonical memlyr_… form or external_id:<value> form.
Query parameters
limitinteger
Maximum number of results to return
cursorstring
Pagination cursor from previous response
prefixstring
Filter by key prefix (e.g., "skills/postmortem/" to list all entries under that hierarchy). Matches against the entry's key, not its name.
querystring
Free-form search query
labelsstring
Filters by metadata labels. Comma-separated key=value pairs, e.g. "env=prod,team=ai". A resource matches only if every pair matches exactly (AND semantics).
sortOrderstring
Sort order for results (asc or desc by creation time)
includeInfoboolean
When set to true you may use more of your alloted API rate-limit
Response
OK
Example response
{
"items": [
{
"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"
}
}
}
}
]
}