Skip to main content

Quickstart

Follow these steps to create your first cube and make your first API request.

Prerequisites

Step 1: Create a Workspace

Log in to the CubeStack admin panel and create a new workspace. Workspaces help you organize related projects.

Step 2: Create a Cube

Inside your workspace, create a new cube. A cube is a structured data table with typed columns.
  1. Click New Cube
  2. Give it a name (e.g., blog-posts)
  3. Add columns — for example:
    • title (Text)
    • content (Rich Text)
    • published (Boolean)
    • cover_image (Image)

Step 3: Add Records

Add a few records through the admin interface to populate your cube with data.

Step 4: Fetch Data

Use the API to retrieve your records:
curl -X GET "https://api.cubestack.app/api/v1/{your-project}/blog-posts" \
  -H "X-Api-Key: your-api-key"
You’ll receive a JSON response with your records:
{
  "data": [
    {
      "id": 1,
      "title": "Hello World",
      "content": "My first post",
      "published": true
    }
  ],
  "total": 1,
  "page": 1,
  "pageSize": 25
}

Next Steps