Skip to main content
Return a workspace’s layered chat memories (L0 atom / L1 scenario / L2 persona / L3 core). Filter by layer query parameter.

Endpoint

Authentication

Authorization: Bearer <jwt> or X-API-Key <sk_...>. Minimum role: viewer.

Path parameters

string
required
Workspace id.

Query parameters

integer
Only return memories of this layer (0–3).

Response

The response is an array; each element is a chat memory:
string
Memory id (cm_...).
string
Owning workspace id.
string
Owner user id.
string
Source session id.
integer
Layer (0 atom / 1 scenario / 2 persona / 3 core).
string
Kind (fact / preference / constraint / event / scenario / persona).
string
Memory content.
string
Visibility (private / team / restricted / agent).
string
Creation time (RFC3339).

Example