Skip to main content

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:
TypeDescription
textShort text string
numberNumeric value (integer or decimal)
booleanTrue/false toggle
dateDate value
datetimeDate and time value
selectSingle or multi-select from predefined options
imageImage upload with CDN delivery
richtextRich text content with formatting
urlURL/link value
emailEmail address
jsonRaw JSON data

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

  1. Navigate to your project
  2. Click New Cube
  3. Set a name and slug
  4. Add columns with their types and settings
  5. Save the cube
The API endpoint is automatically generated based on the cube slug.