Automations
Automations in Qlik Automate are no-code workflows which connect applications together.
This API replaces the legacy Automations API. Use this API for all new implementations.
Endpoints
Retrieves a list of the automations that the requesting user has access to.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | |
| Replaces |
Query Parameters
- filterstring
Allowed filters:
name,runMode,lastRunStatus,ownerId,spaceId. - limitinteger
The number of automations to retrieve.
- listAllboolean
When true, list all automations. Restricted to tenant admins and analytics admins.
- sortstring
The field to sort by, with +- prefix indicating sort order. (
?sort=-name=> sort on thenamefield using descending order).Can be one of: "id""name""runMode""state""createdAt""updatedAt""lastRunAt""lastRunStatus""+id""+name""+runMode""+state""+createdAt""+updatedAt""+lastRunAt""+lastRunStatus""-id""-name""-runMode""-state""-createdAt""-updatedAt""-lastRunAt""-lastRunStatus""maxConcurrentRuns""+maxConcurrentRuns""-maxConcurrentRuns"
Responses
200
OK Response
- application/jsonobject
application/json properties
- dataarray of objects
data properties
- idstring
The unique identifier for the automation.
- namestring
The name of the automation.
- statestring
The state of the automation.
Can be one of: "available""unavailable""disabled"
- lastRunobject
lastRun properties
- idstring
The unique identifier of the run.
- errorarray of objects
List of errors that occurred during the automation run.
- titlestring
The title of the automation run.
- statusstring
The current status of the automation run.
Can be one of: "failed""finished""finished with warnings""must stop""not started""running""starting""stopped""exceeded limit""queued"
- contextstring
The source that triggers the automation will set the context. Certain contexts impact the execution of an automation (for example, The "test_run" context will not process all results when listing items).
Can be one of: "test_run""editor""detail""api_sync""api_async""webhook""lookup"
- metricsobject
metrics properties
- blocksarray of objects
List of blocks used during execution. Note: this list currently only contains endpointBlocks and snippetBlocks
blocks properties
- typestringRequired
Type of the block.
Can be one of: "snippetBlock""endpointBlock"
- rxBytesintegerRequired
Total amount of received bytes sent by the current block.
- txBytesintegerRequired
Total amount of sent bytes sent by the current block.
- apiCallsinteger
API calls to external resources made by the current block.
- snippetIdstring
Unique identifier for the snippet block used within the execution.
- endpointIdstring
Unique identifier for the endpoint block used within the execution.
- connectorIdstring
Unique identifier for the connector used within the block of the execution.
-
- networkobject
network properties
- rxBytesinteger
The number of received bytes.
- txBytesinteger
The number of received bytes.
-
- totalApiCallsinteger
The number of API calls made.
-
- ownerIdstring
The unique identifier of the owner of the automation run.
- spaceIdstring
The unique identifier of the space in which the automation run is created.
- testRunboolean
Indicates if this automation run is a test run.
- archivedboolean
Indicates if this automation run is archived.
- stopTimestring
The date and time at which the automation run stopped.
- createdAtstring
- isTestRunboolean
Indicates if this automation run is a test run.
- startTimestring
The date and time at which the automation run started.
- updatedAtstring
- isArchivedboolean
Indicates if this automation run is archived.
- executedByIdstring
The unique identifier of the user who executed the automation run.
- scheduledStartTimestring
The date and time at which the automation run is scheduled to start.
-
- ownerIdstring
The unique identifier of the owner of the automation.
- runModestring
Defines how the automation run is started.
Can be one of: "manual""scheduled""triggered""webhook"
- spaceIdstring
The unique identifier of the space that contains the automation.
- durationinteger
Duration of the last run, indicated in seconds. Calculated from start and stop times.
- createdAtstring
- lastRunAtstring
The date and time when the last automation run was finished.
- updatedAtstring
- workspaceobject
The workspace contains the JSON representation of the used blocks
- snippetIdsarray of strings
A list of snippets that were detected in the workspace. This includes snippet blocks that are not connected to other blocks. Order of GUIDs is not guaranteed.
- descriptionstring
The description of the automation.
- endpointIdsarray of strings
A list of endpoints that were detected inside the workspace. This includes Endpoints present in blocks which are not connected to other blocks. Order of guids is not guaranteed.
- connectorIdsarray of strings
A list of connectors that were detected the workspace. This includes Connectors present in blocks which are not connected to other blocks. Order of guids is not guaranteed.
- lastRunStatusstring
The status of the last run of the automation.
Can be one of: "failed""finished""finished with warnings""must stop""not started""paused""running""starting""stopped""exceeded limit"
- executionTokenstring
Execution token required to authorize the execution of the automation.
- maxConcurrentRunsinteger
Maximum number of concurrent runs allowed for automation.
-
- linksobject
links properties
- nextobject
next properties
- hrefstring
The URL to a resource request
-
- prevobject
prev properties
- hrefstring
The URL to a resource request
-
-
-
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `GET /api/workflows/automations` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations" \-H "Authorization: Bearer <access_token>"Example Response
{ "data": [ { "id": "e0e720d0-4947-11ec-a1d2-9559fa35801d", "name": "string", "state": "available", "lastRun": { "id": "d452d100-9b0b-11ec-b199-8323e1031c3e", "error": [ {} ], "title": "string", "status": "failed", "context": "test_run", "metrics": { "blocks": [ { "type": "endpointBlock", "rxBytes": 18329921, "txBytes": 18329921, "apiCalls": 40, "snippetId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4", "endpointId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4", "connectorId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4" } ], "network": { "rxBytes": 0, "txBytes": 0 }, "totalApiCalls": 0 }, "ownerId": "string", "spaceId": "string", "testRun": true, "archived": true, "stopTime": "2021-12-23T12:28:21.000000Z", "createdAt": "2021-12-23T12:28:21.000000Z", "isTestRun": true, "startTime": "2021-12-23T12:28:21.000000Z", "updatedAt": "2021-12-23T12:28:21.000000Z", "isArchived": true, "executedById": "string", "scheduledStartTime": "2021-12-23T12:28:21.000000Z" }, "ownerId": "sWYAHxZxhtcmBT7Ptc5xJ5I6N7HxwnEy", "runMode": "triggered", "spaceId": "5f0f78b239ff4f0001234567", "duration": "9001", "createdAt": "2021-12-23T12:28:21.000000Z", "lastRunAt": "2021-12-23T12:28:21.000000Z", "updatedAt": "2021-12-23T12:28:21.000000Z", "workspace": {}, "snippetIds": [ "e0e720d0-4947-11ec-a1d2-9559fa35801d" ], "description": "string", "endpointIds": [ "9d94bef0-b28c-11eb-8dba-01593c457362", "53a6fb70-b28f-11eb-b601-b545a40867e0" ], "connectorIds": [ "0d87808f-27c0-11ea-921c-022e6b5ea1e2", "0d86ee8a-27c0-11ea-921c-022e6b5ea1e2" ], "lastRunStatus": "finished", "executionToken": "aZXuEogT9X3le0k0WXMBnzuYKq4xRlkDnurjs8NVhEAAW1BYx8C1PpIl3ielgRb1", "maxConcurrentRuns": 10 } ], "links": { "next": { "href": "string" }, "prev": { "href": "string" } }}Creates a new automation. The requesting user must be assigned the AutomationCreator role or have at least one of the following scopes: automations, admin.automations, automations.private or automations.shared.
Facts
| Rate limit | Tier 2 (100 requests per minute) | |
| Replaces |
Request Body
RequiredAutomation object to create
- application/jsonobject
application/json properties
- namestringRequired
The name of the automation.
- spaceIdstring
The unique identifier of the space in which the automation is created.
- schedulesarray of objects
schedules properties
- stopAtstring
The date and time until the schedule is active.
- startAtstring
The date and time when the schedule becomes active.
- intervalinteger
time in seconds.
- timezonestring
The timezone applied to the start and end times.
-
- workspaceobject
The workspace generated by the Qlik Automate editor.
- descriptionstring
The description of the automation
- maxConcurrentRunsinteger
Maximum number of concurrent runs allowed for this automation. The maximum value is defined in automations settings.
-
Responses
201
Created
- application/jsonobject
application/json properties
- idstring
- namestring
The name of the automation.
- statestring
The state of the automation.
Can be one of: "available""unavailable""disabled"
- lastRunobject
lastRun properties
- idstring
The unique identifier of the run.
- errorarray of objects
List of errors that occurred during the automation run.
- titlestring
The title of the automation run.
- statusstring
The current status of the automation run.
Can be one of: "failed""finished""finished with warnings""must stop""not started""running""starting""stopped""exceeded limit""queued"
- contextstring
The source that triggers the automation will set the context. Certain contexts impact the execution of an automation (for example, The "test_run" context will not process all results when listing items).
Can be one of: "test_run""editor""detail""api_sync""api_async""webhook""lookup"
- metricsobject
metrics properties
- blocksarray of objects
List of blocks used during execution. Note: this list currently only contains endpointBlocks and snippetBlocks
blocks properties
- typestringRequired
Type of the block.
Can be one of: "snippetBlock""endpointBlock"
- rxBytesintegerRequired
Total amount of received bytes sent by the current block.
- txBytesintegerRequired
Total amount of sent bytes sent by the current block.
- apiCallsinteger
API calls to external resources made by the current block.
- snippetIdstring
Unique identifier for the snippet block used within the execution.
- endpointIdstring
Unique identifier for the endpoint block used within the execution.
- connectorIdstring
Unique identifier for the connector used within the block of the execution.
-
- networkobject
network properties
- rxBytesinteger
The number of received bytes.
- txBytesinteger
The number of received bytes.
-
- totalApiCallsinteger
The number of API calls made.
-
- ownerIdstring
The unique identifier of the owner of the automation run.
- spaceIdstring
The unique identifier of the space in which the automation run is created.
- testRunboolean
Indicates if this automation run is a test run.
- archivedboolean
Indicates if this automation run is archived.
- stopTimestring
The date and time at which the automation run stopped.
- createdAtstring
- isTestRunboolean
Indicates if this automation run is a test run.
- startTimestring
The date and time at which the automation run started.
- updatedAtstring
- isArchivedboolean
Indicates if this automation run is archived.
- executedByIdstring
The unique identifier of the user who executed the automation run.
- scheduledStartTimestring
The date and time at which the automation run is scheduled to start.
-
- ownerIdstring
The unique identifier of the owner of the automation.
- runModestring
Defines how the automation run is started.
Can be one of: "manual""scheduled""triggered""webhook"
- spaceIdstring
The unique identifier of the space that contains the automation.
- createdAtstring
- lastRunAtstring
The date and time when the last automation run was finished.
- schedulesarray of objects
schedules properties
- idstring
- stopAtstring
- startAtstring
- intervalinteger
time in seconds.
- timezonestring
- lastStartedAtstring
-
- updatedAtstring
- workspaceobject
The workspace generated by the Qlik Automate editor.
- snippetIdsarray of strings
A list of snippets that were detected in the workspace. This includes snippet blocks that are not connected to other blocks. Order of GUIDs is not guaranteed.
- descriptionstring
The description of the automation.
- endpointIdsarray of strings
A list of endpoints that were detected in the workspace. This includes endpoints present in blocks that are not connected to other blocks. Order of GUIDs is not guaranteed.
- connectorIdsarray of strings
A list of connectors that were detected in the workspace. This includes connectors present in blocks that are not connected to other blocks. Order of GUIDs is not guaranteed.
- lastRunStatusstring
The status of the last run of the automation.
Can be one of: "failed""finished""finished with warnings""must stop""not started""paused""running""starting""stopped""exceeded limit"
- executionTokenstring
Execution token required to authorize the execution of the automation.
- maxConcurrentRunsinteger
Maximum number of concurrent runs allowed for this automation.
-
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `POST /api/workflows/automations` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ name: 'My automation', spaceId: '5f0f78b239ff4f0001234567', schedules: [ { stopAt: '2022-12-01 00:00:00', startAt: '2022-01-01 00:00:00', interval: 30, timezone: 'Europe/Stockholm', }, ], workspace: {}, description: '', maxConcurrentRuns: 1, }), },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations" \-X POST \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"name":"My automation","spaceId":"5f0f78b239ff4f0001234567","schedules":[{"stopAt":"2022-12-01 00:00:00","startAt":"2022-01-01 00:00:00","interval":30,"timezone":"Europe/Stockholm"}],"workspace":{},"description":"","maxConcurrentRuns":1}'Example Response
{ "id": "e0e720d0-4947-11ec-a1d2-9559fa35801d", "name": "string", "state": "available", "lastRun": { "id": "d452d100-9b0b-11ec-b199-8323e1031c3e", "error": [ {} ], "title": "string", "status": "failed", "context": "test_run", "metrics": { "blocks": [ { "type": "endpointBlock", "rxBytes": 18329921, "txBytes": 18329921, "apiCalls": 40, "snippetId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4", "endpointId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4", "connectorId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4" } ], "network": { "rxBytes": 0, "txBytes": 0 }, "totalApiCalls": 0 }, "ownerId": "string", "spaceId": "string", "testRun": true, "archived": true, "stopTime": "2021-12-23T12:28:21.000000Z", "createdAt": "2021-12-23T12:28:21.000000Z", "isTestRun": true, "startTime": "2021-12-23T12:28:21.000000Z", "updatedAt": "2021-12-23T12:28:21.000000Z", "isArchived": true, "executedById": "string", "scheduledStartTime": "2021-12-23T12:28:21.000000Z" }, "ownerId": "sWYAHxZxhtcmBT7Ptc5xJ5I6N7HxwnEy", "runMode": "triggered", "spaceId": "5f0f78b239ff4f0001234567", "createdAt": "2021-12-23T12:28:21.000000Z", "lastRunAt": "2021-12-23T12:28:21.000000Z", "schedules": [ { "id": "d452d100-9b0b-11ec-b199-8323e1031c3e", "stopAt": "2022-12-01 00:00:00", "startAt": "2021-12-01 00:00:00", "interval": 30, "timezone": "Europe/Stockholm", "lastStartedAt": "2022-01-01T12:28:21.000000Z" } ], "updatedAt": "2021-12-23T12:28:21.000000Z", "workspace": {}, "snippetIds": [ "e0e720d0-4947-11ec-a1d2-9559fa35801d" ], "description": "string", "endpointIds": [ "9d94bef0-b28c-11eb-8dba-01593c457362", "53a6fb70-b28f-11eb-b601-b545a40867e0" ], "connectorIds": [ "0d87808f-27c0-11ea-921c-022e6b5ea1e2", "0d86ee8a-27c0-11ea-921c-022e6b5ea1e2" ], "lastRunStatus": "finished", "executionToken": "aZXuEogT9X3le0k0WXMBnzuYKq4xRlkDnurjs8NVhEAAW1BYx8C1PpIl3ielgRb1", "maxConcurrentRuns": 10}Retrieves the full definition of an automation. The requesting user must be the owner of the automation and either be assigned one of the roles: AutomationsCreator, TenantAdmin or have at least one of the following scopes (depending on whether the automation is in a private or shared space): automations, automations.private or automations.shared.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier for the automation.
Responses
200
OK Response
- application/jsonobject
application/json properties
- idstring
- namestring
The name of the automation.
- statestring
The state of the automation.
Can be one of: "available""unavailable""disabled"
- lastRunobject
lastRun properties
- idstring
The unique identifier of the run.
- errorarray of objects
List of errors that occurred during the automation run.
- titlestring
The title of the automation run.
- statusstring
The current status of the automation run.
Can be one of: "failed""finished""finished with warnings""must stop""not started""running""starting""stopped""exceeded limit""queued"
- contextstring
The source that triggers the automation will set the context. Certain contexts impact the execution of an automation (for example, The "test_run" context will not process all results when listing items).
Can be one of: "test_run""editor""detail""api_sync""api_async""webhook""lookup"
- metricsobject
metrics properties
- blocksarray of objects
List of blocks used during execution. Note: this list currently only contains endpointBlocks and snippetBlocks
blocks properties
- typestringRequired
Type of the block.
Can be one of: "snippetBlock""endpointBlock"
- rxBytesintegerRequired
Total amount of received bytes sent by the current block.
- txBytesintegerRequired
Total amount of sent bytes sent by the current block.
- apiCallsinteger
API calls to external resources made by the current block.
- snippetIdstring
Unique identifier for the snippet block used within the execution.
- endpointIdstring
Unique identifier for the endpoint block used within the execution.
- connectorIdstring
Unique identifier for the connector used within the block of the execution.
-
- networkobject
network properties
- rxBytesinteger
The number of received bytes.
- txBytesinteger
The number of received bytes.
-
- totalApiCallsinteger
The number of API calls made.
-
- ownerIdstring
The unique identifier of the owner of the automation run.
- spaceIdstring
The unique identifier of the space in which the automation run is created.
- testRunboolean
Indicates if this automation run is a test run.
- archivedboolean
Indicates if this automation run is archived.
- stopTimestring
The date and time at which the automation run stopped.
- createdAtstring
- isTestRunboolean
Indicates if this automation run is a test run.
- startTimestring
The date and time at which the automation run started.
- updatedAtstring
- isArchivedboolean
Indicates if this automation run is archived.
- executedByIdstring
The unique identifier of the user who executed the automation run.
- scheduledStartTimestring
The date and time at which the automation run is scheduled to start.
-
- ownerIdstring
The unique identifier of the owner of the automation.
- runModestring
Defines how the automation run is started.
Can be one of: "manual""scheduled""triggered""webhook"
- spaceIdstring
The unique identifier of the space that contains the automation.
- createdAtstring
- lastRunAtstring
The date and time when the last automation run was finished.
- schedulesarray of objects
schedules properties
- idstring
- stopAtstring
- startAtstring
- intervalinteger
time in seconds.
- timezonestring
- lastStartedAtstring
-
- updatedAtstring
- workspaceobject
The workspace generated by the Qlik Automate editor.
- snippetIdsarray of strings
A list of snippets that were detected in the workspace. This includes snippet blocks that are not connected to other blocks. Order of GUIDs is not guaranteed.
- descriptionstring
The description of the automation.
- endpointIdsarray of strings
A list of endpoints that were detected in the workspace. This includes endpoints present in blocks that are not connected to other blocks. Order of GUIDs is not guaranteed.
- connectorIdsarray of strings
A list of connectors that were detected in the workspace. This includes connectors present in blocks that are not connected to other blocks. Order of GUIDs is not guaranteed.
- lastRunStatusstring
The status of the last run of the automation.
Can be one of: "failed""finished""finished with warnings""must stop""not started""paused""running""starting""stopped""exceeded limit"
- executionTokenstring
Execution token required to authorize the execution of the automation.
- maxConcurrentRunsinteger
Maximum number of concurrent runs allowed for this automation.
-
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
404
Not found
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `GET /api/workflows/automations/{id}` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/{id}', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/{id}" \-H "Authorization: Bearer <access_token>"Example Response
{ "id": "e0e720d0-4947-11ec-a1d2-9559fa35801d", "name": "string", "state": "available", "lastRun": { "id": "d452d100-9b0b-11ec-b199-8323e1031c3e", "error": [ {} ], "title": "string", "status": "failed", "context": "test_run", "metrics": { "blocks": [ { "type": "endpointBlock", "rxBytes": 18329921, "txBytes": 18329921, "apiCalls": 40, "snippetId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4", "endpointId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4", "connectorId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4" } ], "network": { "rxBytes": 0, "txBytes": 0 }, "totalApiCalls": 0 }, "ownerId": "string", "spaceId": "string", "testRun": true, "archived": true, "stopTime": "2021-12-23T12:28:21.000000Z", "createdAt": "2021-12-23T12:28:21.000000Z", "isTestRun": true, "startTime": "2021-12-23T12:28:21.000000Z", "updatedAt": "2021-12-23T12:28:21.000000Z", "isArchived": true, "executedById": "string", "scheduledStartTime": "2021-12-23T12:28:21.000000Z" }, "ownerId": "sWYAHxZxhtcmBT7Ptc5xJ5I6N7HxwnEy", "runMode": "triggered", "spaceId": "5f0f78b239ff4f0001234567", "createdAt": "2021-12-23T12:28:21.000000Z", "lastRunAt": "2021-12-23T12:28:21.000000Z", "schedules": [ { "id": "d452d100-9b0b-11ec-b199-8323e1031c3e", "stopAt": "2022-12-01 00:00:00", "startAt": "2021-12-01 00:00:00", "interval": 30, "timezone": "Europe/Stockholm", "lastStartedAt": "2022-01-01T12:28:21.000000Z" } ], "updatedAt": "2021-12-23T12:28:21.000000Z", "workspace": {}, "snippetIds": [ "e0e720d0-4947-11ec-a1d2-9559fa35801d" ], "description": "string", "endpointIds": [ "9d94bef0-b28c-11eb-8dba-01593c457362", "53a6fb70-b28f-11eb-b601-b545a40867e0" ], "connectorIds": [ "0d87808f-27c0-11ea-921c-022e6b5ea1e2", "0d86ee8a-27c0-11ea-921c-022e6b5ea1e2" ], "lastRunStatus": "finished", "executionToken": "aZXuEogT9X3le0k0WXMBnzuYKq4xRlkDnurjs8NVhEAAW1BYx8C1PpIl3ielgRb1", "maxConcurrentRuns": 10}Updates the full definition of an automation. The requesting user must be the owner of the automation and either be assigned the AutomationCreator role or have at least one of the following scopes: automations, admin.automations, automations.private or automations.shared.
Facts
| Rate limit | Tier 2 (100 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier for the automation.
Request Body
RequiredAutomation object to update
- application/jsonobject
application/json properties
- namestring
The name of the automation.
- schedulesarray of objects
schedules properties
- stopAtstring
The date and time until the schedule is active.
- startAtstring
The date and time when the schedule becomes active.
- intervalinteger
time in seconds.
- timezonestring
The timezone applied to the start and end times.
-
- workspaceobject
The workspace generated by the Qlik Automate editor.
- descriptionstring
The description of the automation
- maxConcurrentRunsinteger
Maximum number of concurrent runs allowed for this automation. The maximum value is defined in automations settings.
-
Responses
200
OK Response
- application/jsonobject
application/json properties
- idstring
- namestring
The name of the automation.
- statestring
The state of the automation.
Can be one of: "available""unavailable""disabled"
- lastRunobject
lastRun properties
- idstring
The unique identifier of the run.
- errorarray of objects
List of errors that occurred during the automation run.
- titlestring
The title of the automation run.
- statusstring
The current status of the automation run.
Can be one of: "failed""finished""finished with warnings""must stop""not started""running""starting""stopped""exceeded limit""queued"
- contextstring
The source that triggers the automation will set the context. Certain contexts impact the execution of an automation (for example, The "test_run" context will not process all results when listing items).
Can be one of: "test_run""editor""detail""api_sync""api_async""webhook""lookup"
- metricsobject
metrics properties
- blocksarray of objects
List of blocks used during execution. Note: this list currently only contains endpointBlocks and snippetBlocks
blocks properties
- typestringRequired
Type of the block.
Can be one of: "snippetBlock""endpointBlock"
- rxBytesintegerRequired
Total amount of received bytes sent by the current block.
- txBytesintegerRequired
Total amount of sent bytes sent by the current block.
- apiCallsinteger
API calls to external resources made by the current block.
- snippetIdstring
Unique identifier for the snippet block used within the execution.
- endpointIdstring
Unique identifier for the endpoint block used within the execution.
- connectorIdstring
Unique identifier for the connector used within the block of the execution.
-
- networkobject
network properties
- rxBytesinteger
The number of received bytes.
- txBytesinteger
The number of received bytes.
-
- totalApiCallsinteger
The number of API calls made.
-
- ownerIdstring
The unique identifier of the owner of the automation run.
- spaceIdstring
The unique identifier of the space in which the automation run is created.
- testRunboolean
Indicates if this automation run is a test run.
- archivedboolean
Indicates if this automation run is archived.
- stopTimestring
The date and time at which the automation run stopped.
- createdAtstring
- isTestRunboolean
Indicates if this automation run is a test run.
- startTimestring
The date and time at which the automation run started.
- updatedAtstring
- isArchivedboolean
Indicates if this automation run is archived.
- executedByIdstring
The unique identifier of the user who executed the automation run.
- scheduledStartTimestring
The date and time at which the automation run is scheduled to start.
-
- ownerIdstring
The unique identifier of the owner of the automation.
- runModestring
Defines how the automation run is started.
Can be one of: "manual""scheduled""triggered""webhook"
- spaceIdstring
The unique identifier of the space that contains the automation.
- createdAtstring
- lastRunAtstring
The date and time when the last automation run was finished.
- schedulesarray of objects
schedules properties
- idstring
- stopAtstring
- startAtstring
- intervalinteger
time in seconds.
- timezonestring
- lastStartedAtstring
-
- updatedAtstring
- workspaceobject
The workspace generated by the Qlik Automate editor.
- snippetIdsarray of strings
A list of snippets that were detected in the workspace. This includes snippet blocks that are not connected to other blocks. Order of GUIDs is not guaranteed.
- descriptionstring
The description of the automation.
- endpointIdsarray of strings
A list of endpoints that were detected in the workspace. This includes endpoints present in blocks that are not connected to other blocks. Order of GUIDs is not guaranteed.
- connectorIdsarray of strings
A list of connectors that were detected in the workspace. This includes connectors present in blocks that are not connected to other blocks. Order of GUIDs is not guaranteed.
- lastRunStatusstring
The status of the last run of the automation.
Can be one of: "failed""finished""finished with warnings""must stop""not started""paused""running""starting""stopped""exceeded limit"
- executionTokenstring
Execution token required to authorize the execution of the automation.
- maxConcurrentRunsinteger
Maximum number of concurrent runs allowed for this automation.
-
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
404
Not found
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
409
Conflict with the current state of the resource
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `PUT /api/workflows/automations/{id}` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/{id}', { method: 'PUT', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ name: 'My automation', schedules: [ { stopAt: '2022-12-01 00:00:00', startAt: '2022-01-01 00:00:00', interval: 30, timezone: 'Europe/Stockholm', }, ], workspace: {}, description: '', maxConcurrentRuns: 1, }), },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/{id}" \-X PUT \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"name":"My automation","schedules":[{"stopAt":"2022-12-01 00:00:00","startAt":"2022-01-01 00:00:00","interval":30,"timezone":"Europe/Stockholm"}],"workspace":{},"description":"","maxConcurrentRuns":1}'Example Response
{ "id": "e0e720d0-4947-11ec-a1d2-9559fa35801d", "name": "string", "state": "available", "lastRun": { "id": "d452d100-9b0b-11ec-b199-8323e1031c3e", "error": [ {} ], "title": "string", "status": "failed", "context": "test_run", "metrics": { "blocks": [ { "type": "endpointBlock", "rxBytes": 18329921, "txBytes": 18329921, "apiCalls": 40, "snippetId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4", "endpointId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4", "connectorId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4" } ], "network": { "rxBytes": 0, "txBytes": 0 }, "totalApiCalls": 0 }, "ownerId": "string", "spaceId": "string", "testRun": true, "archived": true, "stopTime": "2021-12-23T12:28:21.000000Z", "createdAt": "2021-12-23T12:28:21.000000Z", "isTestRun": true, "startTime": "2021-12-23T12:28:21.000000Z", "updatedAt": "2021-12-23T12:28:21.000000Z", "isArchived": true, "executedById": "string", "scheduledStartTime": "2021-12-23T12:28:21.000000Z" }, "ownerId": "sWYAHxZxhtcmBT7Ptc5xJ5I6N7HxwnEy", "runMode": "triggered", "spaceId": "5f0f78b239ff4f0001234567", "createdAt": "2021-12-23T12:28:21.000000Z", "lastRunAt": "2021-12-23T12:28:21.000000Z", "schedules": [ { "id": "d452d100-9b0b-11ec-b199-8323e1031c3e", "stopAt": "2022-12-01 00:00:00", "startAt": "2021-12-01 00:00:00", "interval": 30, "timezone": "Europe/Stockholm", "lastStartedAt": "2022-01-01T12:28:21.000000Z" } ], "updatedAt": "2021-12-23T12:28:21.000000Z", "workspace": {}, "snippetIds": [ "e0e720d0-4947-11ec-a1d2-9559fa35801d" ], "description": "string", "endpointIds": [ "9d94bef0-b28c-11eb-8dba-01593c457362", "53a6fb70-b28f-11eb-b601-b545a40867e0" ], "connectorIds": [ "0d87808f-27c0-11ea-921c-022e6b5ea1e2", "0d86ee8a-27c0-11ea-921c-022e6b5ea1e2" ], "lastRunStatus": "finished", "executionToken": "aZXuEogT9X3le0k0WXMBnzuYKq4xRlkDnurjs8NVhEAAW1BYx8C1PpIl3ielgRb1", "maxConcurrentRuns": 10}Deletes an automation. The requesting user must meet at least one of the following conditions:
- be the owner of the automation
- be assigned one of the following roles:
AnalyticsAdmin,TenantAdmin - have at least one of the following scopes:
admin.automations,admin.automations:strict,automations.private, orautomations.shared
Facts
| Rate limit | Tier 2 (100 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier for the automation.
Responses
204
No Content
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
404
Not found
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `DELETE /api/workflows/automations/{id}` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/{id}', { method: 'DELETE', headers: { 'Content-Type': 'application/json', }, },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/{id}" \-X DELETE \-H "Authorization: Bearer <access_token>"Changes the owner of an automation to another user. This action removes the history and change logs of this automation. All linked connections used in the automation are detached and not moved to the new owner. The requesting user must be assigned one of the following roles: TenantAdmin, AnalyticsAdmin or have at least one of the following scopes: admin.automations, admin.automations:strict.
Facts
| Rate limit | Tier 2 (100 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier for the automation.
Request Body
Required- application/jsonobject
application/json properties
- userIdstringRequired
The unique identifier of the new owner.
-
Responses
204
No Content
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
404
Not found
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `POST /api/workflows/automations/{id}/actions/change-owner` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/{id}/actions/change-owner', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ userId: 'sWYAHxZxhtcmBT7Ptc5xJ5I6N7HxwnEy', }), },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/{id}/actions/change-owner" \-X POST \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"userId":"sWYAHxZxhtcmBT7Ptc5xJ5I6N7HxwnEy"}'Changes the space of an automation by specifying a new space.
Facts
| Rate limit | Tier 2 (100 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier for the automation.
Request Body
- application/jsonobject
application/json properties
- spaceIdstringRequired
The unique identifier of the new space.
-
Responses
204
No Content
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
404
Not found
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `POST /api/workflows/automations/{id}/actions/change-space` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/{id}/actions/change-space', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ spaceId: '5f0f78b239ff4f0001234567', }), },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/{id}/actions/change-space" \-X POST \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"spaceId":"5f0f78b239ff4f0001234567"}'Duplicates an existing automation. The requesting user must be the owner of the automation or have at least one of the following scopes: automations, admin.automations, automations.private or automations.shared.
Facts
| Rate limit | Tier 2 (100 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier for the automation.
Request Body
Required- application/jsonobject
application/json properties
- namestringRequired
Name of the new automation.
-
Responses
201
Created
- application/jsonobject
application/json properties
- idstring
The unique identifier for the automation.
-
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
404
Not found
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `POST /api/workflows/automations/{id}/actions/copy` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/{id}/actions/copy', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ name: 'My automation', }), },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/{id}/actions/copy" \-X POST \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"name":"My automation"}'Example Response
{ "id": "00000000-0000-0000-0000-000000000000"}Disables an automation so that it cannot be run. To disable an automation, the requesting user must meet at least one of the following conditions:
- be the owner of the automation
- be assigned one of the following roles:
TenantAdmin,AnalyticsAdmin - have at least one of the following scopes:
admin.automations,admin.automations:strict,automations.private, orautomations.shared
Facts
| Rate limit | Tier 2 (100 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier for the automation.
Responses
204
No Content
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
404
Not found
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `POST /api/workflows/automations/{id}/actions/disable` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/{id}/actions/disable', { method: 'POST', headers: { 'Content-Type': 'application/json', }, },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/{id}/actions/disable" \-X POST \-H "Authorization: Bearer <access_token>"Enables an automation so that it can be run. To enable an automation, the requesting user must meet at least one of the following conditions:
- be the owner of the automation
- be assigned one of the following roles:
AnalyticsAdmin,TenantAdmin - have at least one of the following scopes:
admin.automations,admin.automations:strict,automations.private, orautomations.shared
Facts
| Rate limit | Tier 2 (100 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier for the automation.
Responses
204
No Content
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
404
Not found
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `POST /api/workflows/automations/{id}/actions/enable` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/{id}/actions/enable', { method: 'POST', headers: { 'Content-Type': 'application/json', }, },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/{id}/actions/enable" \-X POST \-H "Authorization: Bearer <access_token>"Changes the owner of an automation to another user. This action removes the history and change logs of this automation. All linked connections used in the automation are detached and not moved to the new owner. The requesting user must be assigned one of the following roles: TenantAdmin, AnalyticsAdmin or have at least one of the following scopes: admin.automations, admin.automations:strict.
Facts
| Rate limit | Tier 2 (100 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier for the automation.
Request Body
Required- application/jsonobject
application/json properties
- userIdstringRequired
Unique identifier of the new owner of the automation.
-
Responses
204
No Content
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
404
Not found
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `POST /api/workflows/automations/{id}/actions/move` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/{id}/actions/move', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ userId: 'sWYAHxZxhtcmBT7Ptc5xJ5I6N7HxwnEy', }), },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/{id}/actions/move" \-X POST \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"userId":"sWYAHxZxhtcmBT7Ptc5xJ5I6N7HxwnEy"}'Retrieves a list of runs for a specific automation. The requesting user must be the owner of the automation, or be assigned the one of roles: TenantAdmin, AnalyticsAdmin. Alternatively, the user must have at least one of the following scopes: admin.automation-runs, automation-runs.private, or automation-runs.shared.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | |
| Replaces |
Query Parameters
- filterstring
Allowed filters:
status,context,startTime,title,spaceId,ownerId,executedById,billable. - limitinteger
The number of runs to retrieve.
- sortstring
The field to sort by, with +- prefix indicating sort order. (
?query=-startTime=> sort on thestartTimefield using descending order).Can be one of: "id""status""startTime""-id""-status""-startTime""+id""+status""+startTime"
Path Parameters
- idstringRequired
The unique identifier for the automation.
Responses
200
OK Response
- application/jsonobject
application/json properties
- dataarray of objects
data properties
- idstring
- errorarray of objects
List of errors that occurred during the automation run.
- titlestring
The title of the automation run.
- statusstring
The current status of the automation run.
Can be one of: "failed""finished""finished with warnings""must stop""not started""running""starting""stopped""exceeded limit""queued"
- contextstring
The context set by the source that triggers the automation.
Can be one of: "test_run""editor""detail""api_sync""api_async""webhook""lookup"
- ownerIdstring
The unique identifier of the owner of the automation run.
- spaceIdstring
The unique identifier of the space in which the automation run is created.
- testRunboolean
Indicates if this automation run is a test run.
- archivedboolean
Indicates if this automation run is archived.
- durationinteger
Duration of the run, indicated in seconds. Calculated from start and stop times
- stopTimestring
The date and time at which the automation run stopped.
- createdAtstring
- isTestRunboolean
Indicates if this automation run is a test run.
- startTimestring
The date and time at which the automation run started.
- updatedAtstring
- isArchivedboolean
Indicates if this automation run is archived.
- executedByIdstring
The unique identifier of the user who executed the automation run.
- scheduledStartTimestring
The date and time at which the automation run is scheduled to start.
-
- linksobject
links properties
- nextobject
next properties
- hrefstring
The URL to a resource request
-
- prevobject
prev properties
- hrefstring
The URL to a resource request
-
-
-
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
404
Not found
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `GET /api/workflows/automations/{id}/runs` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/{id}/runs', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/{id}/runs" \-H "Authorization: Bearer <access_token>"Example Response
{ "data": [ { "id": "d452d100-9b0b-11ec-b199-8323e1031c3e", "error": [ {} ], "title": "string", "status": "failed", "context": "test_run", "ownerId": "string", "spaceId": "string", "testRun": true, "archived": true, "duration": "9001", "stopTime": "2021-12-23T12:28:21.000000Z", "createdAt": "2021-12-23T12:28:21.000000Z", "isTestRun": true, "startTime": "2021-12-23T12:28:21.000000Z", "updatedAt": "2021-12-23T12:28:21.000000Z", "isArchived": true, "executedById": "string", "scheduledStartTime": "2021-12-23T12:28:21.000000Z" } ], "links": { "next": { "href": "string" }, "prev": { "href": "string" } }}Creates a run for a specific automation. Depending on the space the automation belongs to, the requesting user must meet the following requirement:
- Private space: be the owner of the automation and have the
automations.privatescope - Shared space: be editor or operator in shared space and have
automations.sharedscope.
Facts
| Rate limit | Tier 2 (100 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier for the automation.
Request Body
RequiredRun object to create
- application/jsonobject
application/json properties
- contextstringRequired
The source that triggers the automation will set the context.
Can be one of: "api"
-
Responses
201
Created
- application/jsonobject
application/json properties
- idstring
The unique identifier of the run.
- errorarray of objects
List of errors that occurred during the automation run.
- titlestring
The title of the automation run.
- statusstring
The current status of the automation run.
Can be one of: "failed""finished""finished with warnings""must stop""not started""running""starting""stopped""exceeded limit""queued"
- contextstring
The source that triggers the automation will set the context. Certain contexts impact the execution of an automation (for example, The "test_run" context will not process all results when listing items).
Can be one of: "test_run""editor""detail""api_sync""api_async""webhook""lookup"
- metricsobject
metrics properties
- blocksarray of objects
List of blocks used during execution. Note: this list currently only contains endpointBlocks and snippetBlocks
blocks properties
- typestringRequired
Type of the block.
Can be one of: "snippetBlock""endpointBlock"
- rxBytesintegerRequired
Total amount of received bytes sent by the current block.
- txBytesintegerRequired
Total amount of sent bytes sent by the current block.
- apiCallsinteger
API calls to external resources made by the current block.
- snippetIdstring
Unique identifier for the snippet block used within the execution.
- endpointIdstring
Unique identifier for the endpoint block used within the execution.
- connectorIdstring
Unique identifier for the connector used within the block of the execution.
-
- networkobject
network properties
- rxBytesinteger
The number of received bytes.
- txBytesinteger
The number of received bytes.
-
- totalApiCallsinteger
The number of API calls made.
-
- ownerIdstring
The unique identifier of the owner of the automation run.
- spaceIdstring
The unique identifier of the space in which the automation run is created.
- testRunboolean
Indicates if this automation run is a test run.
- archivedboolean
Indicates if this automation run is archived.
- stopTimestring
The date and time at which the automation run stopped.
- createdAtstring
- isTestRunboolean
Indicates if this automation run is a test run.
- startTimestring
The date and time at which the automation run started.
- updatedAtstring
- isArchivedboolean
Indicates if this automation run is archived.
- executedByIdstring
The unique identifier of the user who executed the automation run.
- scheduledStartTimestring
The date and time at which the automation run is scheduled to start.
-
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
404
Not found
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `POST /api/workflows/automations/{id}/runs` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/{id}/runs', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ context: 'api' }), },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/{id}/runs" \-X POST \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"context":"api"}'Example Response
{ "id": "d452d100-9b0b-11ec-b199-8323e1031c3e", "error": [ {} ], "title": "string", "status": "failed", "context": "test_run", "metrics": { "blocks": [ { "type": "endpointBlock", "rxBytes": 18329921, "txBytes": 18329921, "apiCalls": 40, "snippetId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4", "endpointId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4", "connectorId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4" } ], "network": { "rxBytes": 0, "txBytes": 0 }, "totalApiCalls": 0 }, "ownerId": "string", "spaceId": "string", "testRun": true, "archived": true, "stopTime": "2021-12-23T12:28:21.000000Z", "createdAt": "2021-12-23T12:28:21.000000Z", "isTestRun": true, "startTime": "2021-12-23T12:28:21.000000Z", "updatedAt": "2021-12-23T12:28:21.000000Z", "isArchived": true, "executedById": "string", "scheduledStartTime": "2021-12-23T12:28:21.000000Z"}Retrieves a specific run for an automation. Depending on the space the automation belongs to, the requesting user must meet the following requirement:
- Private space: be the owner of the automation and have the
automations.privatescope - Shared space: be editor or operator in shared space and have
automations.sharedscope.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier for the automation.
- runIdstringRequired
The unique identifier for the run.
Responses
200
OK Response
- application/jsonobject
application/json properties
- idstring
The unique identifier of the run.
- errorarray of objects
List of errors that occurred during the automation run.
- titlestring
The title of the automation run.
- statusstring
The current status of the automation run.
Can be one of: "failed""finished""finished with warnings""must stop""not started""running""starting""stopped""exceeded limit""queued"
- contextstring
The source that triggers the automation will set the context. Certain contexts impact the execution of an automation (for example, The "test_run" context will not process all results when listing items).
Can be one of: "test_run""editor""detail""api_sync""api_async""webhook""lookup"
- metricsobject
metrics properties
- blocksarray of objects
List of blocks used during execution. Note: this list currently only contains endpointBlocks and snippetBlocks
blocks properties
- typestringRequired
Type of the block.
Can be one of: "snippetBlock""endpointBlock"
- rxBytesintegerRequired
Total amount of received bytes sent by the current block.
- txBytesintegerRequired
Total amount of sent bytes sent by the current block.
- apiCallsinteger
API calls to external resources made by the current block.
- snippetIdstring
Unique identifier for the snippet block used within the execution.
- endpointIdstring
Unique identifier for the endpoint block used within the execution.
- connectorIdstring
Unique identifier for the connector used within the block of the execution.
-
- networkobject
network properties
- rxBytesinteger
The number of received bytes.
- txBytesinteger
The number of received bytes.
-
- totalApiCallsinteger
The number of API calls made.
-
- ownerIdstring
The unique identifier of the owner of the automation run.
- spaceIdstring
The unique identifier of the space in which the automation run is created.
- testRunboolean
Indicates if this automation run is a test run.
- archivedboolean
Indicates if this automation run is archived.
- stopTimestring
The date and time at which the automation run stopped.
- createdAtstring
- isTestRunboolean
Indicates if this automation run is a test run.
- startTimestring
The date and time at which the automation run started.
- updatedAtstring
- isArchivedboolean
Indicates if this automation run is archived.
- executedByIdstring
The unique identifier of the user who executed the automation run.
- scheduledStartTimestring
The date and time at which the automation run is scheduled to start.
-
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
404
Not found
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `GET /api/workflows/automations/{id}/runs/{runId}` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/{id}/runs/{runId}', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/{id}/runs/{runId}" \-H "Authorization: Bearer <access_token>"Example Response
{ "id": "d452d100-9b0b-11ec-b199-8323e1031c3e", "error": [ {} ], "title": "string", "status": "failed", "context": "test_run", "metrics": { "blocks": [ { "type": "endpointBlock", "rxBytes": 18329921, "txBytes": 18329921, "apiCalls": 40, "snippetId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4", "endpointId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4", "connectorId": "c35f4b70-3ce4-4a30-b62b-2aef16943bc4" } ], "network": { "rxBytes": 0, "txBytes": 0 }, "totalApiCalls": 0 }, "ownerId": "string", "spaceId": "string", "testRun": true, "archived": true, "stopTime": "2021-12-23T12:28:21.000000Z", "createdAt": "2021-12-23T12:28:21.000000Z", "isTestRun": true, "startTime": "2021-12-23T12:28:21.000000Z", "updatedAt": "2021-12-23T12:28:21.000000Z", "isArchived": true, "executedById": "string", "scheduledStartTime": "2021-12-23T12:28:21.000000Z"}Retrieves the URL for the debug log of a specific automation run. Depending on the space the automation belongs to, the requesting user must meet the following requirement:
- Private space: be the owner of the automation and have the
automations.privatescope - Shared space: be editor or operator in shared space and have
automations.sharedscope.
Facts
| Rate limit | Tier 2 (100 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier for the automation.
- runIdstringRequired
The unique identifier for the run.
Responses
200
OK Response
- application/jsonobject
application/json properties
- urlstring
-
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
404
Not found
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `POST /api/workflows/automations/{id}/runs/{runId}/actions/export` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/{id}/runs/{runId}/actions/export', { method: 'POST', headers: { 'Content-Type': 'application/json', }, },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/{id}/runs/{runId}/actions/export" \-X POST \-H "Authorization: Bearer <access_token>"Example Response
{ "url": "https://{tenantname}.{region}.qlikcloud.com/api/workflows/automations/{id}/runs/{runId}/debug"}Retries a specific run by creating a new run using the same inputs. Depending on the space the automation belongs to, the requesting user must meet the following requirement:
- Private space: be the owner of the automation and have the
automations.privatescope - Shared space: be editor or operator in shared space and have
automations.sharedscope.
Facts
| Rate limit | Tier 2 (100 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier for the automation.
- runIdstringRequired
The unique identifier for the run.
Responses
204
OK Response
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
404
Not found
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `POST /api/workflows/automations/{id}/runs/{runId}/actions/retry` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/{id}/runs/{runId}/actions/retry', { method: 'POST', headers: { 'Content-Type': 'application/json', }, },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/{id}/runs/{runId}/actions/retry" \-X POST \-H "Authorization: Bearer <access_token>"Forcefully stops an automation run immediately. Depending on the space the automation belongs to, the requesting user must meet the following requirement:
- Private space: be the owner of the automation and have the
automations.privatescope - Shared space: be editor or operator in shared space and have
automations.sharedscope.
Facts
| Rate limit | Tier 2 (100 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier for the automation.
- runIdstringRequired
The unique identifier for the run.
Responses
204
OK Response
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
404
Not found
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `POST /api/workflows/automations/{id}/runs/{runId}/actions/stop` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/{id}/runs/{runId}/actions/stop', { method: 'POST', headers: { 'Content-Type': 'application/json', }, },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/{id}/runs/{runId}/actions/stop" \-X POST \-H "Authorization: Bearer <access_token>"Retrieves the debug log for a specific run of an automation. Depending on the space the automation belongs to, the requesting user must meet the following requirement:
- Private space: be the owner of the automation and have the
automations.privatescope - Shared space: be editor or operator in shared space and have
automations.sharedscope.
Facts
| Rate limit | Tier 1 (1000 requests per minute) |
Path Parameters
- idstringRequired
The unique identifier for the automation.
- runIdstringRequired
The unique identifier for the run.
Responses
200
OK Response
- text/plainstring
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
404
Not found
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `GET /api/workflows/automations/{id}/runs/{runId}/debug` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/{id}/runs/{runId}/debug', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/{id}/runs/{runId}/debug" \-H "Authorization: Bearer <access_token>"Example Response
stringRetrieves the global automation settings for the tenant.
Facts
| Rate limit | Tier 1 (1000 requests per minute) |
Responses
200
OK Response
- application/jsonobject
application/json properties
- maxConcurrentRunsPerAutomationinteger
Maximum number of concurrent runs allowed per automation.
-
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `GET /api/workflows/automations/settings` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/settings', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/settings" \-H "Authorization: Bearer <access_token>"Example Response
{ "maxConcurrentRunsPerAutomation": 10}Updates the global automation settings for the tenant.
Facts
| Rate limit | Tier 2 (100 requests per minute) |
Request Body
Required- application/jsonobject
application/json properties
- maxConcurrentRunsPerAutomationinteger
Maximum number of concurrent runs allowed per automation.
-
Responses
200
OK Response
- application/jsonobject
application/json properties
- maxConcurrentRunsPerAutomationinteger
Maximum number of concurrent runs allowed per automation.
-
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
409
Conflict with the current state of the resource
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `PUT /api/workflows/automations/settings` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/settings', { method: 'PUT', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ maxConcurrentRunsPerAutomation: 10, }), },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/settings" \-X PUT \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"maxConcurrentRunsPerAutomation":10}'Example Response
{ "maxConcurrentRunsPerAutomation": 10}Retrieves paginated usage metrics for automations. The requesting user must be assigned the TenantAdmin or AnalyticsAdmin role.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | |
| Replaces |
Query Parameters
- filterstringRequired
Indicates how the metrics should be filtered using a SCIM-style expression. Available parameters:
- name (specify one or more enums to return specific metrics. Supported enum values:
runs,scheduledRuns,triggeredRuns,webhookRuns,duration,bandwidthIn,bandwidthOut) - date (return a metric for a specific date or range of dates, e.g. "2025-08-01")
- name (specify one or more enums to return specific metrics. Supported enum values:
- breakdownBystring
If specified, result will be broken apart for each automation
Responses
200
OK Response
- application/jsonobject
application/json properties
- dataarray of objects
data properties
- datestringRequiredFilterable
The date for the metric
- namestringRequiredFilterable
The name for the metric
Can be one of: "runs""scheduledRun""triggeredRun""webhookRuns""duration""bandwidthIn""bandwidthOut"
- valueintegerRequired
The value count of the metric
- automationobject
automation properties
- guidstring
The unique identifier for the automation.
- namestring
The name for the automation.
- ownerIdstring
The unique identifier for the user who owns the automation
-
-
-
400
Bad Request
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
401
Unauthorized
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
403
Forbidden
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
500
Internal Server Error
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
503
Service Unavailable
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestringRequired
The unique code for the error
- titlestringRequired
A summary of what went wrong
- detailstring
May be used to provide additional details
-
- traceIdstring
A way to trace the source of the error.
-
// qlik-api has not implemented support for `GET /api/workflows/automations/usage` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/workflows/automations/usage', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)This API is not included yet in qlik-clicurl "https://{tenant}.{region}.qlikcloud.com/api/workflows/automations/usage" \-H "Authorization: Bearer <access_token>"Example Response
{ "data": [ { "date": "2021-12-15", "name": "bandwidthIn", "value": 310179713, "automation": { "guid": "00000000-0000-0000-0000-000000000000", "name": "My Automation.", "ownerId": "KP1zJiPDn0gsla236GmETadFcxBW-J8F" } } ]}