Qlik Cloud v2
Provides integration with the Qlik Cloud Analytics REST API for working with users, spaces, apps, catalog items, and app reloads in a Qlik Cloud tenant. Use it to look up users and items, manage spaces and space assignments, create, copy, publish, and delete apps, and submit, monitor, and cancel app reloads.
Revision History
0.0.0.4 - Initial release.
Connection
This Connection identifies the Qlik Cloud tenant and stores the API key used by every Qlik Cloud method.
| Property | Type | Description |
|---|---|---|
TenantUrl |
String | The exact HTTPS origin of your Qlik Cloud tenant, for example https://your-tenant.eu.qlikcloud.com. A trailing / is allowed. Do not include an API path, query, or credentials. |
ApiKey |
Masked | A Qlik Cloud API key, sent as a Bearer token. Replace it when it expires or is revoked. |
Setup Notes
- The Qlik Cloud Node is available on Cloud and compatible local Runtime clusters.
- The user who generates the API key needs the
Manage API keyspermission, which a Tenant Admin can grant. Generate the key from the user's profile settings in Qlik Cloud. See Qlik's Generate your first API key instructions. - An API key belongs to the user who created it, so every request runs with that user's roles and space permissions. Use a user that can access the spaces, apps, and users you intend to work with. Available operations can also depend on your tenant's licensing.
- API keys are not renewed automatically. If Qlik rejects the key, generate a new one and replace it in the Connection.
- Test Connection retrieves the API key user's own user record. A successful test confirms the tenant and key, but does not confirm the permissions needed for other operations.
Methods
Each method exposes templates for a fixed set of Qlik Cloud REST API operations. Select a template to populate the stable OperationId and the operation-specific Options and Items fields. Each template is named after its HTTP method and path, for example GET /api/v1/users, and its description shows Qlik's summary of the operation.
Options supplies path and query values for the whole invocation. Write methods use Items for request bodies, with one Qlik request per row.
Retrieve
Reads users, catalog items, spaces, space assignments, apps, and reloads. The Node pages through collection results automatically and emits one row for each record.
Available templates:
GET /api/v1/users- Lists users. Accepts optionalfilter,sort,fields, andtotalResultsvalues.GET /api/v1/users/{userId}- Gets a user by ID. Accepts an optionalfieldsvalue.GET /api/v1/users/me- Gets the user who owns the API key.GET /api/v1/users/actions/count- Counts the users in the tenant.GET /api/v1/items- Lists catalog items. Accepts optional search values such asname,query,resourceType,spaceId,ownerId, andsort.GET /api/v1/items/{itemId}- Gets a catalog item.GET /api/v1/spaces- Lists spaces. Accepts optionalname,type,ownerId,roles,action,sort, and environment filters.GET /api/v1/spaces/{spaceId}- Gets a space.GET /api/v1/spaces/types- Lists the space types available in the tenant.GET /api/v1/spaces/{spaceId}/assignments- Lists the assignments for a space. Accepts optionalassigneeIdandtypefilters.GET /api/v1/spaces/{spaceId}/assignments/{assignmentId}- Gets a space assignment.GET /api/v1/apps/{appId}- Gets an app.GET /api/v1/reloads- Lists the reloads for an app. RequiresappIdand accepts optionalfilter,sort,log, andpartialvalues.GET /api/v1/reloads/{reloadId}- Gets a reload record, including its status.
| Parameter | Type | Description |
|---|---|---|
Connection |
Connection | Qlik Cloud Connection details. |
OperationId |
String | Stable operation identifier populated by the selected template. |
Options |
Object | Path and query values for the selected operation, such as the required userId, itemId, spaceId, assignmentId, appId, or reloadId, and any optional filters shown by the template. |
| Return | Type | Description |
|---|---|---|
Response |
Array | One row per record returned by Qlik, or a single row for a single-record lookup or count. |
Create
Creates spaces, space assignments, and apps, copies and publishes apps, and submits app reloads, one request for each row in Items.
Available templates:
POST /api/v1/spaces- Creates a space. Rows containnameandtype, and can includedescription.POST /api/v1/spaces/{spaceId}/assignments- Assigns a user or group to a space. Rows containtype,assigneeId, androles.POST /api/v1/apps- Creates an app.POST /api/v1/apps/{appId}/copy- Copies an app.POST /api/v1/apps/{appId}/publish- Publishes an app to a managed space. Rows must contain the targetspaceId.POST /api/v1/reloads- Submits a reload for an app. Rows containappId, and can includepartialandweight.
| Parameter | Type | Description |
|---|---|---|
Connection |
Connection | Qlik Cloud Connection details. |
OperationId |
String | Stable operation identifier populated by the selected template. |
Options |
Object | Path values for the selected operation, such as the spaceId for an assignment or the source appId to copy or publish. |
Items |
Array | One create request per row, using the fields shown by the selected template. |
| Return | Type | Description |
|---|---|---|
Response |
Array | One row per input item, containing the created resource and Flowgear result metadata. |
Update
Updates spaces, space assignments, and apps, republishes apps, and moves apps between spaces, using each row in Items as one request.
Available templates:
PUT /api/v1/spaces/{spaceId}- Updates a space'sname,ownerId, ordescription.PUT /api/v1/spaces/{spaceId}/assignments/{assignmentId}- Updates therolesfor a space assignment.PUT /api/v1/apps/{appId}- Updates an app'snameordescription. Each row must contain at least one field.PUT /api/v1/apps/{appId}/publish- Republishes a published app to a managed space. Rows must contain thetargetIdof the published app to replace.PUT /api/v1/apps/{appId}/space- Moves an app to a space. Rows must contain the targetspaceId.
| Parameter | Type | Description |
|---|---|---|
Connection |
Connection | Qlik Cloud Connection details. |
OperationId |
String | Stable operation identifier populated by the selected template. |
Options |
Object | The required path values that identify the target, such as spaceId, assignmentId, or appId. |
Items |
Array | One update request per row, using the fields shown by the selected template. |
| Return | Type | Description |
|---|---|---|
Response |
Array | One row per input item, containing the updated resource and Flowgear result metadata. |
Delete
Deletes spaces, space assignments, and apps, or removes an app from its space.
Available templates:
DELETE /api/v1/spaces/{spaceId}- Deletes a space.DELETE /api/v1/spaces/{spaceId}/assignments/{assignmentId}- Deletes a space assignment.DELETE /api/v1/apps/{appId}- Deletes an app.DELETE /api/v1/apps/{appId}/space- Removes an app from its space.
| Parameter | Type | Description |
|---|---|---|
Connection |
Connection | Qlik Cloud Connection details. |
OperationId |
String | Stable operation identifier populated by the selected template. |
Options |
Object | The path values that identify the target, such as spaceId, assignmentId, or appId. Used as defaults when Items is connected. |
Items |
Array | Optional. One delete request per row, each containing only path values such as spaceId or appId. Row values override Options. |
| Return | Type | Description |
|---|---|---|
Response |
Array | One row per request, containing Flowgear result metadata and any error details returned by Qlik. |
Action
Cancels a reload. Select the POST /api/v1/reloads/{reloadId}/actions/cancel template.
| Parameter | Type | Description |
|---|---|---|
Connection |
Connection | Qlik Cloud Connection details. |
OperationId |
String | Stable operation identifier populated by the selected template. |
Options |
Object | The reloadId of the reload to cancel. Used as the default when Items is connected. |
Items |
Array | Optional. One cancellation request per row, each containing only a reloadId. |
| Return | Type | Description |
|---|---|---|
Response |
Array | One row per request, containing Flowgear result metadata and any error details returned by Qlik. |
Usage Notes
- The Node supports the operations listed above only. Reload tasks and schedules, app data extraction, file uploads and downloads, and tenant administration APIs are not available.
Optionsaccepts only the path and query values shown by the selected template. Unknown fields are rejected. Paging is managed by the Node, solimit,next, andprevare not available.Optionsapplies to the whole invocation. ForCreateandUpdate, every row inItemstargets the resource identified inOptions. To work with several different spaces or apps, run the Node once per target, for example inside a For Each.DeleteandActionrun once usingOptionswhenItemsis not connected. WhenItemsis connected, the Node sends one request per row, and an emptyItemsinput sends nothing.- The
GET /api/v1/itemstemplate validates related search values:resourceTypeis required when you useresourceId,resourceIds, orresourceLink,resourceIdandresourceLinkcannot be combined, andresourceIdsaccepts at most 100 IDs. - Filter and sort values such as
status eq "active"or+nameare passed to Qlik unchanged. Template samples are not applied unless you enter a value. - When you set
fieldson a user template, only the selected fields are returned. - Enter string and integer list fields, such as assignment
roles, as comma-separated values, for examplepublisher,facilitator. Quote values that contain commas, quotes, or line breaks, and double any embedded quotes. Spaces and case are preserved, and an empty value produces an empty list. Lists of objects remain structured. - User rows include
rolesas a comma-separated list. UseassignedRolesfor structured role details. - App create, update, and copy rows contain the app fields, such as
nameanddescription, directly. The Node wraps them in Qlik'sattributesobject. - When publishing an app with
moveAppset totrue, the row must also containoriginAppId. - Reload variables are not supported by
POST /api/v1/reloads. - A successful reload submission returns the
Flowgear.MessageReload queued, and an accepted cancellation returnsCancellation accepted. Neither confirms that the reload has finished. UseGET /api/v1/reloads/{reloadId}to check its status. Create,Update,Delete, andActionresponses includeFlowgear.IsSuccess,Flowgear.Message, andFlowgear.Request. Failed rows also include Qlik'serrorsandtraceIdwhen Qlik returns them.- When Qlik rejects an individual item, for example because of a validation error, a conflict, or a target that does not exist, the Node returns a failed row and continues with later items. An HTTP
403on a later item is also returned as a failed row. Authentication failures, server errors, and a403on the first item stop the operation. - If Qlik limits the request rate and supplies a retry window, the Node waits and retries up to two times. Otherwise the operation fails.
- Writes that time out or fail because of a server or connection error are not retried. Check the resource in Qlik before running the write again.
Retrieverows return records as Qlik provides them, withoutFlowgearmetadata. An empty collection returns no rows. Some app fields with a free-form structure are returned at runtime but are not shown in the template.