---
source: https://qlik.dev/toolkits/qlik-api/examples/
last_updated: 2026-01-19T14:21:00Z
---

# qlik-api code examples

qlik-api is a package that provides a JavaScript API for interacting with Qlik Sense REST APIs and the
Qlik Associative Engine.
It can be used in both Node.js and browser contexts.

Browse the examples for common tasks.

For a complete overview of the package, see the [qlik-api documentation](https://qlik.dev/toolkits/qlik-api).

> **Tip:** New to qlik-api?
> Start with [Create app](#creating-and-opening-analytics-applications) to understand the basics of initializing and
> creating an analytics app.

## Creating and opening analytics applications

- [Create an analytics app.](create-app)

- [Use non-persistent apps for working with temporary data sets.](create-session-app)

- [Access the metadata of an app without opening it with data.](open-app-no-data)

## Analytics application metadata

- [Get a list of sheets.](app-sheet-list)

## Working with analytics data

- [Update your use of createCube from Capability API to qlik-api.](create-cube)

- [Get the current selection object with ease using qlik-api.](get-current-selections)

## Platform operations

- [Fetch a list of spaces.](fetch-spaces)
