Skip to main content

Spaces API

Create and manage Memory Spaces - the isolation boundary for memories within your organization.

Create a Space

Request Body:
ParameterTypeRequiredDescription
namestringYesDisplay name
descriptionstringNoWhat this space is for
Response (200 OK):
space_id is server-generated - you don’t choose it. Save it; every memory operation requires it.

List Spaces

Response (200 OK):

Get Space Details

Response (200 OK):

Delete a Space

Response: 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:
A space with no member rows at all is treated as org-wide - reachable by anyone in the organization. Adding a member row switches the space into enforced, member-only access.

Error Responses

StatusCodeCause
400bad_requestMissing name
401unauthorizedMissing/invalid API key
403forbiddenSpace not owned by your org
404not_foundSpace doesn’t exist
429rate_limitedQuota or rate limit exceeded
See the full error reference.

Python SDK

The SDK currently exposes read access to spaces:
Space creation/deletion is currently API-only (or via the dashboard) - not yet wrapped by the Python client.

Next Steps

Memories API

Store and manage memories

Error Reference

Complete error code reference