List collections
GET /memory/collections
Returns all collections the caller can access in the current workspace.
Response
Create collection
POST /memory/collections
Permission: Owner or admin only.
Body
Unique ID within the workspace. Lowercase, alphanumeric, underscore, hyphen.
Human-readable display name.
Collection type. One of:
team, knowledge, hive.If true, all workspace members can read memories in this collection.
Arbitrary metadata attached to the collection.
Collection kinds
| Kind | Use case | Who can read | Who can write |
|---|---|---|---|
personal | Per-user private memories | Owner only | Owner only |
team | Shared team-scoped memories | All members | All members |
knowledge | Reference documents, policies | All members | Owner/admin only |
hive | Cross-collection shared facts appearing in every search | All members | Owner/admin only |