Spaces
A Space is an isolated content silo within an organization. Spaces are completely independent — content, assets, users, and configuration in one space are not accessible from another.
What spaces contain
Space├── Environments (dev, staging, production)├── Members (users with space-level roles)└── API KeysUse cases
- Multiple storefronts — One space per brand or region
- Separation of concerns — Isolate your B2C and B2B content
- Access control — Give agency teams access to only the spaces they manage
Space roles
| Role | Capabilities |
|---|---|
admin | Full access to the space |
editor | Create, edit, and publish content |
author | Create and edit content (cannot publish) |
Default space
A Default Space is created automatically with the default organization. It contains a single main environment and the default set of built-in content models.
Switching spaces
Use the space switcher in the sidebar to move between spaces within the current organization. The entire UI re-mounts when switching spaces to ensure no stale state carries over.
API context
Requests scope to a space using the X-Alokai CMS-Space header. If omitted or the space isn’t found, the middleware falls back to the first available space.