---
title: "Get Cube"
method: GET
path: "/tesseract/cubes/{cube_name}"
tags: ["TesseractModule"]
---

# Get Cube

`GET /tesseract/cubes/{cube_name}`

Return the public schema for the single specified cube.

## Path parameters

- `cube_name` string, required

## Query parameters

- `locale` string, nullable
- `token` string, nullable

## Headers

- `authorization` string, nullable
- `x-tesseract-jwt` string, nullable

## Response `200`

Successful Response

- TesseractCube
  - `name` string, required
  - `caption` string, required
  - `annotations` object, required
  - `dimensions` TesseractDimension[], required
    - `name` string, required
    - `caption` string, required
    - `type` 'standard' | 'time' | 'geo', required — Kind of data a dimension is storing.
    - `annotations` object, required
    - `hierarchies` TesseractHierarchy[], required
      - `name` string, required
      - `caption` string, required
      - `annotations` object, required
      - `levels` TesseractLevel[], required
        - `name` string, required
        - `caption` string, required
        - `depth` integer, required
        - `count` integer, required
        - `annotations` object, required
        - `properties` TesseractProperty[], required
          - `name` string, required
          - `caption` string, required
          - `type` 'bool' | 'date' | 'time' | 'dttm' | 'stmp' | 'f32' | 'f64' | 'i8' | 'i16' | 'i32' | 'i64' | 'i128' | 'u8' | 'u16' | 'u32' | 'u64' | 'u128' | 'str', required — Types of the data the user can expect to find in the associated column.
          - `annotations` object, required
    - `default_hierarchy` string, required
  - `measures` TesseractMeasure[], required
    - `name` string, required
    - `caption` string, required
    - `aggregator` string, required
    - `annotations` object, required
    - `attached` TesseractMeasure[], required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/datausa/apis/fastapi.md) · [All operations](https://skmtc.dev/datausa/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datausa/fastapi/revisions/6d014a4f1cd1/schema)
