Skip to main content
Spaces are isolated containers for organizing memories. Each space has its own set of memories, files, and configuration.

Create a space

Response structure

The response contains a space object with the following fields:
  • id - Unique space identifier
  • name - Space name
  • description - Space description
  • created_at - Creation timestamp
  • updated_at - Last update timestamp

List spaces

Retrieve a space

Update a space

Delete a space

Deleting a space permanently removes all memories, files, and data associated with it. This action cannot be undone.

Get space statistics

Common patterns

Create space if not exists

Batch operations

Best practices

Create separate spaces for different use cases or users:
Give spaces clear, descriptive names that indicate their purpose.
Regularly delete spaces that are no longer needed to manage costs.

Error handling

Next steps

Memories

Add memories to your space

Files

Upload files to your space