Spaces API
Create and manage Memory Spaces - the isolation boundary for memories within your organization.Create a Space
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Display name |
description | string | No | What this space is for |
space_id is server-generated - you don’t choose it. Save it; every memory operation requires it.
List Spaces
Get Space Details
Delete a Space
204 No Content - the space and all its memories are permanently deleted.
⚠️ This cannot be undone.
Space Members (Organization Sharing)
Spaces can optionally have named members within your organization:Error Responses
| Status | Code | Cause |
|---|---|---|
| 400 | bad_request | Missing name |
| 401 | unauthorized | Missing/invalid API key |
| 403 | forbidden | Space not owned by your org |
| 404 | not_found | Space doesn’t exist |
| 429 | rate_limited | Quota or rate limit exceeded |
Python SDK
The SDK currently exposes read access to spaces:Next Steps
Memories API
Store and manage memories
Error Reference
Complete error code reference