MemoryService
Memory Layers
Get a memory layer by ID
Retrieves a memory layer by ID from the workspace
get/v1/workspaces/{workspaceId}/memory_layers/{id}
Path parameters
workspaceIdstring required
Example:workspace_01HXKD2E5NQM3T9AYWCF133E3Q
idstring required
Example:memlyr_01HXKD2E5NQM3T9AYWCFFFBMJH
Memory layer ID. Accepts canonical memlyr_… form or external_id:<value> form.
Response
OK
Example response
{
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
},
"spec": {
"agentId": "agent_01HXKD2E5NQM3T9AYWCFMGWT9Y"
},
"info": {
"createdBy": {
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
}
},
"agent": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
}
}
}