---
url: /process-functions/cube-getname.md
description: >-
  Returns the name of a cube within the specified model, this function is used
  to retrieve the name of a cube.
---

# cube.getName

Returns the name of a cube within the specified model, this function is used to retrieve the name of a cube.

```js
cube.getName(cube_id)
```

#### Parameters

* `cube_id` - Id of a cube.

#### Example

```js
let cube_name = cube.getName("123");
```
