Create a memory cube — the isolation unit of memory. A cube can carry readable/writable principal lists for fine-grained access control.
Endpoint
Authentication
Authorization: Bearer <jwt> or X-API-Key <sk_...>. Minimum role: contributor.
Path parameters
Request body
Cube name; defaults to “默认记忆立方体” when omitted.
List of readable principal ids.
List of writable principal ids.
Response
Example