Create a space
space_id is not a settable field. Sending one is rejected with 422.
Response 201 Created
space_id is the name you chose. There is no separate generated id. The
name you pass on create is the identifier every other endpoint takes, so pick it
deliberately. Every memory operation requires it.
List spaces
200 OK
Get space details
200 OK
Delete a space
204 No Content.
Space members
Spaces can optionally have named members within your organization.The membership endpoints are control-plane calls: they need a dashboard session
with the owner or admin role, not an API key. An API key gets
401 session_required;
a developer or viewer session gets 403 insufficient_role.
The org-wide state exists for spaces that pre-date membership: creating a space
through the API or dashboard automatically writes a member row for the creator, so
a new space is member-only from the moment it exists.
Python SDK
list_spaces, create_space, and delete_space are all wrapped (with
async_ variants). Membership management is dashboard/session-only, so it is
deliberately not in the API-key SDK.
Error responses
See the full error reference.
Next steps
Memories API
Store and manage memories.
Errors
The complete error code reference.