Cubes
Cubes are the core building blocks of CubeStack. Each cube represents a structured data table with typed columns and records.What is a Cube?
A cube is similar to a database table. It has:- Columns — Typed fields that define your data schema
- Records — Rows of data that follow the schema
- Settings — Configuration for access, visibility, and behavior
Column Types
CubeStack supports the following column types:Column Settings
Each column can be configured with:- Required — Whether the field must have a value
- Unique — Whether values must be unique across records
- Public — Whether the field is visible in public API responses
- Validation — Type-specific validation rules (min/max, regex, etc.)
Creating a Cube
- Navigate to your project
- Click New Cube
- Set a name and slug
- Add columns with their types and settings
- Save the cube