# List the content libraries

List the content libraries by using the [GetContentLibraries method](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/EngineJSONAPI/Content/service-doc-getcontentlibraries.htm).

List the content files in a content library by using the [GetLibraryContent method](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/EngineJSONAPI/Content/service-doc-getlibrarycontent.htm).

Information noteThese methods can be used with Qlik Sense Enterprise and Qlik Sense Desktop.

## Global content library

In Qlik Sense Desktop, the content files are retrieved from:

%userprofile%\Documents\Qlik\Sense\Content\Default

In Qlik Sense Enterprise, the content files are retrieved from the Qlik Sense repository.

## App specific content library

The embedded files are returned.

## Examples

Example 1:

[](https://help.qlik.com/en-US/sense-developer/Subsystems/EngineAPI/Content/Sense_EngineAPI/GettingSystemInformation/list-content-libraries.htm)

#### The goal is to list the content libraries for an app in Qlik Sense Enterprise. The first step is to list the content libraries. The second step is to list the content files in the app specific content library.

In this example, the app identifier is 8383E273-9AF8-465F-B30C-8274263823A1.

1. List the content libraries in the app using the [GetContentLibraries method](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/EngineJSONAPI/Content/service-doc-getcontentlibraries.htm).

The client sends:

```
{
  "jsonrpc": "2.0",
  "id": 3,
  "method": "GetContentLibraries",
  "handle": 1,
  "params": []
}
```

The engine returns:

```
{
  "jsonrpc": "2.0",
  "id": 3,
  "result": {
    "qList": {
      "qItems": [
        {
          "qName": "Default"
        },
        {
          "qName": "8383E273-9AF8-465F-B30C-8274263823A1",
          "qAppSpecific": true
        }
      ]
    }
  }
}
```

The global library is named Default. The app specific library is named after the identifier of the app and the property qAppSpecific is set to true for the app specific content library.

2. List the content files that are specific to the app, using the [GetLibraryContent method](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/EngineJSONAPI/Content/service-doc-getlibrarycontent.htm)

The name of the content library is 8383E273-9AF8-465F-B30C-8274263823A1.

The client sends:

```
{
  "jsonrpc": "2.0",
  "id": 5,
  "method": "GetLibraryContent",
  "handle": 1,
  "params": [
    "8383E273-9AF8-465F-B30C-8274263823A1"
  ]
}
```

The engine returns:

```
{
  "jsonrpc": "2.0",
  "id": 5,
  "result": {
    "qList": {
      "qItems": [
        {
          "qUrlDef": "/appcontent/8383e273-9af8-465f-b30c-8274263823a1/default/flower.png",
          "qUrl": "/appcontent/8383e273-9af8-465f-b30c-8274263823a1/default/flower.png"
        },
        {
          "qUrlDef": "/appcontent/8383e273-9af8-465f-b30c-8274263823a1/default/HelloWorld.docx",
          "qUrl": "/appcontent/8383e273-9af8-465f-b30c-8274263823a1/default/HelloWorld.docx"
        },
        {
          "qUrlDef": "/appcontent/8383e273-9af8-465f-b30c-8274263823a1/default/readme.txt",
          "qUrl": "/appcontent/8383e273-9af8-465f-b30c-8274263823a1/default/readme.txt"
        }
      ]
    }
  }
}
```

The list of the content files is displayed.

Example 2:

[](https://help.qlik.com/en-US/sense-developer/Subsystems/EngineAPI/Content/Sense_EngineAPI/GettingSystemInformation/list-content-libraries.htm)

#### The goal is to list the content libraries for an app in Qlik Sense Desktop. The first step is to list the content libraries. We then list the content files in the app-specific content library. Finally, we list the content files in the global content library.

1. List the content libraries in the app using the [GetContentLibraries method](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/EngineJSONAPI/Content/service-doc-getcontentlibraries.htm).

The client sends:

{ "jsonrpc": "2.0", "id": 3, "method": "GetContentLibraries", "handle": 1, "params": [] }

The engine returns:

{ "jsonrpc": "2.0", "id": 3, "result": { "qList": { "qItems": [ { "qName": "default" }, { "qName": "appcontent", "qAppSpecific": true } ] } } }

The global library is named default. The app specific library is named appcontent and the property qAppSpecific is set to true for the app specific content library.

2. List the content files that are specific to the app, using the [GetLibraryContent method](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/EngineJSONAPI/Content/service-doc-getlibrarycontent.htm)

The name of the content library is appcontent.

The client sends:

{ "jsonrpc": "2.0", "id": 4, "method": "GetLibraryContent", "handle": 1, "params": [ "appcontent" ] }

The engine returns:

{ "jsonrpc": "2.0", "id": 4, "result": { "qList": { "qItems": [ { "qUrlDef": "/media/default/readme.txt", "qUrl": "/media/758e644e8be3e284c40a71a8bbb21aad/default/readme.txt" }, { "qUrlDef": "/media/default/Jpeg.jpg", "qUrl": "/media/758e644e8be3e284c40a71a8bbb21aad/default/Jpeg.jpg" }, { "qUrlDef": "/media/default/HelloWorld.docx", "qUrl": "/media/758e644e8be3e284c40a71a8bbb21aad/default/HelloWorld.docx" } ] } } }

The list of the embedded content files is displayed.

3. List the content files from the global content library, using the [GetLibraryContent method](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/EngineJSONAPI/Content/service-doc-getlibrarycontent.htm)

The name of the content library is default.

The client sends:

{ "jsonrpc": "2.0", "id": 5, "method": "GetLibraryContent", "handle": 1, "params": [ "default" ] }

The engine returns:

{ "jsonrpc": "2.0", "id": 5, "result": { "qList": { "qItems": [ { "qUrlDef": "/content/default/Qlik\_default\_feathers.png", "qUrl": "/content/default/Qlik\_default\_feathers.png" }, { "qUrlDef": "/content/default/Qlik\_default\_flower.png", "qUrl": "/content/default/Qlik\_default\_flower.png" }, { "qUrlDef": "/content/default/Qlik\_default\_green.png", "qUrl": "/content/default/Qlik\_default\_green.png" }, { "qUrlDef": "/content/default/Qlik\_default\_leaf.png", "qUrl": "/content/default/Qlik\_default\_leaf.png" }, { "qUrlDef": "/content/default/Qlik\_default\_orange.png", "qUrl": "/content/default/Qlik\_default\_orange.png" }, { "qUrlDef": "/content/default/Qlik\_default\_plant.png", "qUrl": "/content/default/Qlik\_default\_plant.png" }, { "qUrlDef": "/content/default/Qlik\_default\_qlikCircles.png", "qUrl": "/content/default/Qlik\_default\_qlikCircles.png" } ] } } }

The list of the content files that are common to all apps on the disk is displayed. These files are not embedded in the qvf file.