Tasks
Endpoints
Retrieves a paginated list of tasks the requesting user has access to. Results include task metadata such as owner, resource, space, and last run status. Use the filter parameter to narrow results by field values, or sort to control the ordering.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | |
| Replaces |
Query Parameters
- filterstring
Advanced filter expression using RFC 7644 SCIM syntax. Refer to RFC 7644 for syntax details. All comparisons are case-insensitive. Supported fields:
name,enabled,resourceId,ownerId,spaceId,createdAt,updatedAt,updatedBy,lastStatus,lastTriggeredBy,lastStartedAt,lastEndedAt,lastExecutedAs, andtriggerType. - limitinteger
Maximum number of tasks to return per page.
- pagestring
Cursor token for fetching the next page of results.
- resourceIdstring
The unique identifier of the resource to filter tasks by.
- sortstring
Field and direction to sort results by. Prefix the field name with
+for ascending or-for descending order. Defaults to-updatedAt.Can be one of: "+createdAt""-createdAt""+enabled""-enabled""+name""-name""+ownerId""-ownerId""+resourceId""-resourceId""+spaceId""-spaceId""+updatedAt""-updatedAt""+updatedBy""-updatedBy""+lastStatus""-lastStatus""+lastTriggeredBy""-lastTriggeredBy""+lastStartedAt""-lastStartedAt""+lastEndedAt""-lastEndedAt""+lastExecutedAs""-lastExecutedAs""+triggerType""-triggerType"
Responses
200
Tasks retrieved successfully.
- application/jsonobject
application/json properties
- dataarray of objects
data properties
- idstring
The unique identifier assigned to the task by the service.
- keystring
An optional expression used to generate a domain-specific workflow instance identifier.
- namestringRequiredFilterable
The name that identifies the workflow definition. Combined with
version, the name forms a unique identifier for the task. - startobject
The start definition for a workflow, including optional schedule configuration.
One of:- object
A scheduled workflow start definition.
properties
- schedulestring|objectRequiredOne of:
- string
A repeating time interval in ISO 8601 format that defines when workflow instances are automatically created. UTC timezone is assumed.
- object
A structured schedule definition with optional recurrence, date range, and timezone.
One of:- any
- any
-
-
- stateNamestring
The name of the starting workflow state.
-
-
- eventsarray of objects
CloudEvent definitions for the workflow. Defines the events that can be consumed or produced by the workflow.
events properties
- namestring
A unique name identifying this event definition within the workflow.
- typestring
The CloudEvents type attribute identifying the kind of event.
Can be one of: "com.qlik.v1.task.run.finished""com.qlik/active-analytics-orch"
- sourcestring
The CloudEvents source attribute identifying the origin of the event.
Can be one of: "system-events.task""dataset.updated"
- dataOnlyboolean
When
true, only the event payload is accessible to consuming workflow states. Whenfalse, both the payload and context attributes are accessible. - correlationarray of objects
Correlation definitions used to match incoming CloudEvents to this workflow instance.
correlation properties
- contextAttributeNamestringRequired
The name of the CloudEvent extension context attribute to match on.
Can be one of: "id""status""appId""spaceId""datasetId"
- contextAttributeValuestring
The expected value of the CloudEvent extension context attribute.
-
-
- statesarray of objects
The list of state definitions that compose the workflow.
One of:- any
- any
-
- enabledboolean
Indicates whether the task is enabled. Disabled tasks will not trigger automatically.
- versionstring
The semantic version of the workflow definition.
- metadataobject
metadata properties
- usagestring
The product domain in which the resource is used. Defaults to
ANALYTICSwhen not present.Can be one of: "ANALYTICS""DATA_PREPARATION""DATAFLOW_PREP""SINGLE_TABLE_PREP"
- ownerIdstring
The user ID of the task owner.
- spaceIdstring
The unique identifier of the space the task operates in.
- triggerobject
trigger properties
- idstringRequired
The unique identifier of the trigger associated with this task.
- typeintegerRequired
The type identifier of the trigger associated with this task.
Can be one of: 01234
-
- tenantIdstring
The unique identifier of the tenant the task operates in.
- topologyobject
Indicates the task's position in a dependency graph.
topology properties
- isChildboolean
When
true, this task is triggered by one or more parent tasks. - isParentboolean
When
true, this task has one or more downstream dependent tasks.
-
- createdAtstring
The UTC timestamp when the task was created.
- createdBystring
The user ID of the user who created the task.
- deletedAtstring
The UTC timestamp when the task was deleted.
- spaceTypestring
The type of space the task operates in.
Can be one of: "personal""shared""managed"
- updatedAtstring
The UTC timestamp when the task was last updated.
- disabledCodestring
The reason the task is currently disabled.
Can be one of: "MANUALLY""CONSECUTIVE-FAILURES""APP-SCRIPT-UPDATED""OWNER-DELETED""OWNER-DISABLED""APP-MOVED-SPACE""OWNER-MOVED"
- migratedFromstring
The unique identifier of the legacy reload task this task was migrated from, if applicable.
- resourceNamestring
The name of the resource on which the task was created.
- resourceTypestring
The type of resource on which the task was created.
- orchestrationobject
orchestration properties
- idstringRequired
The unique identifier of the orchestration instance associated with this task in the scheduling service.
- typeintegerRequired
The type identifier of the orchestration system handling this task.
Can be one of: 0123
- attrsobject
Additional attributes of the orchestration instance associated with this task in the scheduling service.
- lastRunobject
lastRun properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- endedAtstring
The UTC timestamp when the task run ended.
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- startedAtstring
The UTC timestamp when the task run started.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
-
-
- scriptOwnerIdstring
The user ID of the owner whose script context is used when running the task.
- resourceSubTypestring
The subtype of resource on which the task was created.
-
- keepActiveboolean
When
true, workflow instances are not terminated when there are no active execution paths. Instances can be ended via a terminate end definition or a configuredworkflowExecTimeout. - resourceIdstring
The unique identifier of the resource this task operates on. The value supplied in a request body is ignored and is derived automatically from
states. - annotationsarray of strings
A list of terms describing the workflow's intended purpose, subject areas, or other important qualities.
- descriptionstring
A human-readable description of the workflow's purpose.
- specVersionstringRequired
The Serverless Workflow specification version used by this task.
-
- linksobject
links properties
- nextobject
next properties
- hrefstringRequired
The URL of the linked resource.
-
- prevobject
prev properties
- hrefstringRequired
The URL of the linked resource.
-
- selfobject
self properties
- hrefstringRequired
The URL of the linked resource.
-
-
-
400
The request is malformed or contains invalid parameters.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
401
Authentication credentials are missing or invalid.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
403
Access denied. You lack permission to perform this operation.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
404
The requested resource was not found.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
500
An unexpected error occurred on the server.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
503
The service is temporarily unavailable. Retry the request after a short delay.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
// qlik-api has not implemented support for `GET /api/scheduling/tasks` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/scheduling/tasks', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)qlik scheduling task lscurl "https://{tenant}.{region}.qlikcloud.com/api/scheduling/tasks" \-H "Authorization: Bearer <access_token>"Example Response
{ "data": [ { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "name": "TaskExample", "events": [ { "name": "event1", "type": "com.qlik/active-analytics-orch", "source": "dataset.updated", "correlation": [ { "contextAttributeName": "appId", "contextAttributeValue": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } ] } ], "states": [ { "end": true, "name": "Reload", "type": "event", "onEvents": [ { "actions": [ { "name": "app.reload", "functionRef": { "refName": "app.reload", "arguments": { "appId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "partial": false } } } ], "eventRefs": [ "app1-dataset-updated" ] } ], "exclusive": false } ], "enabled": true, "version": "1.0.0", "metadata": { "usage": "ANALYTICS", "ownerId": 0, "spaceId": "", "trigger": { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "type": 4 }, "tenantId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "createdAt": "2025-08-31T23:22:27.929Z", "createdBy": 0, "updatedAt": "2025-08-31T23:27:51.207Z", "orchestration": { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "type": 3, "attrs": { "last_run_status": "SUCCEEDED", "last_run_endedAt": "2025-08-31T23:28:06Z", "last_run_startedAt": "2025-08-31T23:28:04Z", "last_run_worker_type": "reloads" } } }, "keepActive": false, "resourceId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "description": "this is an example of task response", "specVersion": "1.16.0" } ], "links": { "next": { "href": "string" }, "prev": { "href": "string" }, "self": { "href": "string" } }}Creates a new task for the specified resource. The task is owned by the requesting user and is disabled by default until explicitly enabled. The resourceId is derived automatically from the task's state definitions and cannot be set directly in the request body.
Facts
| Rate limit | Tier 2 (100 requests per minute) | |
| Replaces |
Query Parameters
- migrateFromstring
When provided, specifies the unique identifier of a legacy reload-task to migrate from the previous scheduling system.
Request Body
Required- application/jsonobject
application/json properties
- keystring
An optional expression used to generate a domain-specific workflow instance identifier.
- namestringRequiredFilterable
The name that identifies the workflow definition. Combined with
version, the name forms a unique identifier for the task. - startobject
The start definition for a workflow, including optional schedule configuration.
One of:- object
A scheduled workflow start definition.
properties
- schedulestring|objectRequiredOne of:
- string
A repeating time interval in ISO 8601 format that defines when workflow instances are automatically created. UTC timezone is assumed.
- object
A structured schedule definition with optional recurrence, date range, and timezone.
One of:- any
- any
-
-
- stateNamestring
The name of the starting workflow state.
-
-
- eventsarray of objects
CloudEvent definitions for the workflow. Defines the events that can be consumed or produced by the workflow.
events properties
- namestring
A unique name identifying this event definition within the workflow.
- typestring
The CloudEvents type attribute identifying the kind of event.
Can be one of: "com.qlik.v1.task.run.finished""com.qlik/active-analytics-orch"
- sourcestring
The CloudEvents source attribute identifying the origin of the event.
Can be one of: "system-events.task""dataset.updated"
- dataOnlyboolean
When
true, only the event payload is accessible to consuming workflow states. Whenfalse, both the payload and context attributes are accessible. - correlationarray of objects
Correlation definitions used to match incoming CloudEvents to this workflow instance.
correlation properties
- contextAttributeNamestringRequired
The name of the CloudEvent extension context attribute to match on.
Can be one of: "id""status""appId""spaceId""datasetId"
- contextAttributeValuestring
The expected value of the CloudEvent extension context attribute.
-
-
- statesarray of objects
The list of state definitions that compose the workflow.
One of:- any
- any
-
- enabledboolean
Indicates whether the task is enabled. Disabled tasks will not trigger automatically.
- versionstring
The semantic version of the workflow definition.
- metadataobject
metadata properties
- usagestring
The product domain in which the resource is used. Defaults to
ANALYTICSwhen not present.Can be one of: "ANALYTICS""DATA_PREPARATION""DATAFLOW_PREP""SINGLE_TABLE_PREP"
- ownerIdstring
The user ID of the task owner.
- spaceIdstring
The unique identifier of the space the task operates in.
- triggerobject
trigger properties
- idstringRequired
The unique identifier of the trigger associated with this task.
- typeintegerRequired
The type identifier of the trigger associated with this task.
Can be one of: 01234
-
- tenantIdstring
The unique identifier of the tenant the task operates in.
- topologyobject
Indicates the task's position in a dependency graph.
topology properties
- isChildboolean
When
true, this task is triggered by one or more parent tasks. - isParentboolean
When
true, this task has one or more downstream dependent tasks.
-
- createdBystring
The user ID of the user who created the task.
- spaceTypestring
The type of space the task operates in.
Can be one of: "personal""shared""managed"
- updatedAtstring
The UTC timestamp when the task was last updated.
- disabledCodestring
The reason the task is currently disabled.
Can be one of: "MANUALLY""CONSECUTIVE-FAILURES""APP-SCRIPT-UPDATED""OWNER-DELETED""OWNER-DISABLED""APP-MOVED-SPACE""OWNER-MOVED"
- migratedFromstring
The unique identifier of the legacy reload task this task was migrated from, if applicable.
- resourceNamestring
The name of the resource on which the task was created.
- resourceTypestring
The type of resource on which the task was created.
- orchestrationobject
orchestration properties
- idstringRequired
The unique identifier of the orchestration instance associated with this task in the scheduling service.
- typeintegerRequired
The type identifier of the orchestration system handling this task.
Can be one of: 0123
- attrsobject
Additional attributes of the orchestration instance associated with this task in the scheduling service.
- lastRunobject
lastRun properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
-
-
- scriptOwnerIdstring
The user ID of the owner whose script context is used when running the task.
- resourceSubTypestring
The subtype of resource on which the task was created.
-
- keepActiveboolean
When
true, workflow instances are not terminated when there are no active execution paths. Instances can be ended via a terminate end definition or a configuredworkflowExecTimeout. - resourceIdstring
The unique identifier of the resource this task operates on. The value supplied in a request body is ignored and is derived automatically from
states. - annotationsarray of strings
A list of terms describing the workflow's intended purpose, subject areas, or other important qualities.
- descriptionstring
A human-readable description of the workflow's purpose.
- specVersionstringRequired
The Serverless Workflow specification version used by this task.
-
Responses
201
Task created successfully.
- application/jsonobject
application/json properties
- idstring
The unique identifier assigned to the task by the service.
- keystring
An optional expression used to generate a domain-specific workflow instance identifier.
- namestringRequiredFilterable
The name that identifies the workflow definition. Combined with
version, the name forms a unique identifier for the task. - startobject
The start definition for a workflow, including optional schedule configuration.
One of:- object
A scheduled workflow start definition.
properties
- schedulestring|objectRequiredOne of:
- string
A repeating time interval in ISO 8601 format that defines when workflow instances are automatically created. UTC timezone is assumed.
- object
A structured schedule definition with optional recurrence, date range, and timezone.
One of:- any
- any
-
-
- stateNamestring
The name of the starting workflow state.
-
-
- eventsarray of objects
CloudEvent definitions for the workflow. Defines the events that can be consumed or produced by the workflow.
events properties
- namestring
A unique name identifying this event definition within the workflow.
- typestring
The CloudEvents type attribute identifying the kind of event.
Can be one of: "com.qlik.v1.task.run.finished""com.qlik/active-analytics-orch"
- sourcestring
The CloudEvents source attribute identifying the origin of the event.
Can be one of: "system-events.task""dataset.updated"
- dataOnlyboolean
When
true, only the event payload is accessible to consuming workflow states. Whenfalse, both the payload and context attributes are accessible. - correlationarray of objects
Correlation definitions used to match incoming CloudEvents to this workflow instance.
correlation properties
- contextAttributeNamestringRequired
The name of the CloudEvent extension context attribute to match on.
Can be one of: "id""status""appId""spaceId""datasetId"
- contextAttributeValuestring
The expected value of the CloudEvent extension context attribute.
-
-
- statesarray of objects
The list of state definitions that compose the workflow.
One of:- any
- any
-
- enabledboolean
Indicates whether the task is enabled. Disabled tasks will not trigger automatically.
- versionstring
The semantic version of the workflow definition.
- metadataobject
metadata properties
- usagestring
The product domain in which the resource is used. Defaults to
ANALYTICSwhen not present.Can be one of: "ANALYTICS""DATA_PREPARATION""DATAFLOW_PREP""SINGLE_TABLE_PREP"
- ownerIdstring
The user ID of the task owner.
- spaceIdstring
The unique identifier of the space the task operates in.
- triggerobject
trigger properties
- idstringRequired
The unique identifier of the trigger associated with this task.
- typeintegerRequired
The type identifier of the trigger associated with this task.
Can be one of: 01234
-
- tenantIdstring
The unique identifier of the tenant the task operates in.
- topologyobject
Indicates the task's position in a dependency graph.
topology properties
- isChildboolean
When
true, this task is triggered by one or more parent tasks. - isParentboolean
When
true, this task has one or more downstream dependent tasks.
-
- createdAtstring
The UTC timestamp when the task was created.
- createdBystring
The user ID of the user who created the task.
- deletedAtstring
The UTC timestamp when the task was deleted.
- spaceTypestring
The type of space the task operates in.
Can be one of: "personal""shared""managed"
- updatedAtstring
The UTC timestamp when the task was last updated.
- disabledCodestring
The reason the task is currently disabled.
Can be one of: "MANUALLY""CONSECUTIVE-FAILURES""APP-SCRIPT-UPDATED""OWNER-DELETED""OWNER-DISABLED""APP-MOVED-SPACE""OWNER-MOVED"
- migratedFromstring
The unique identifier of the legacy reload task this task was migrated from, if applicable.
- resourceNamestring
The name of the resource on which the task was created.
- resourceTypestring
The type of resource on which the task was created.
- orchestrationobject
orchestration properties
- idstringRequired
The unique identifier of the orchestration instance associated with this task in the scheduling service.
- typeintegerRequired
The type identifier of the orchestration system handling this task.
Can be one of: 0123
- attrsobject
Additional attributes of the orchestration instance associated with this task in the scheduling service.
- lastRunobject
lastRun properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- endedAtstring
The UTC timestamp when the task run ended.
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- startedAtstring
The UTC timestamp when the task run started.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
-
-
- scriptOwnerIdstring
The user ID of the owner whose script context is used when running the task.
- resourceSubTypestring
The subtype of resource on which the task was created.
-
- keepActiveboolean
When
true, workflow instances are not terminated when there are no active execution paths. Instances can be ended via a terminate end definition or a configuredworkflowExecTimeout. - resourceIdstring
The unique identifier of the resource this task operates on. The value supplied in a request body is ignored and is derived automatically from
states. - annotationsarray of strings
A list of terms describing the workflow's intended purpose, subject areas, or other important qualities.
- descriptionstring
A human-readable description of the workflow's purpose.
- specVersionstringRequired
The Serverless Workflow specification version used by this task.
-
400
The request is malformed or contains invalid parameters.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
401
Authentication credentials are missing or invalid.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
403
Access denied. You lack permission to perform this operation.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
404
The requested resource was not found.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
500
An unexpected error occurred on the server.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
503
The service is temporarily unavailable. Retry the request after a short delay.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
// qlik-api has not implemented support for `POST /api/scheduling/tasks` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/scheduling/tasks', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ id: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', name: 'TaskExample', events: [ { name: 'event1', type: 'com.qlik/active-analytics-orch', source: 'dataset.updated', correlation: [ { contextAttributeName: 'appId', contextAttributeValue: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', }, ], }, ], states: [ { end: true, name: 'Reload', type: 'event', onEvents: [ { actions: [ { name: 'app.reload', functionRef: { refName: 'app.reload', arguments: { appId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', partial: false, }, }, }, ], eventRefs: ['app1-dataset-updated'], }, ], exclusive: false, }, ], enabled: true, version: '1.0.0', metadata: { usage: 'ANALYTICS', ownerId: 0, spaceId: '', trigger: { id: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', type: 4, }, tenantId: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', createdAt: '2025-08-31T23:22:27.929Z', createdBy: 0, updatedAt: '2025-08-31T23:27:51.207Z', orchestration: { id: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', type: 3, attrs: { last_run_status: 'SUCCEEDED', last_run_endedAt: '2025-08-31T23:28:06Z', last_run_startedAt: '2025-08-31T23:28:04Z', last_run_worker_type: 'reloads', }, }, }, keepActive: false, resourceId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', description: 'this is an example of task response', specVersion: '1.16.0', }), },)qlik scheduling task create \ --events-correlation-contextAttributeName '' \ --metadata-orchestration-id 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \ --metadata-orchestration-lastRun-id '' \ --metadata-orchestration-lastRun-status '' \ --metadata-orchestration-lastRun-triggeredBy '' \ --metadata-orchestration-lastRun-workerId '' \ --metadata-orchestration-lastRun-workerType '' \ --metadata-orchestration-type 3 \ --metadata-trigger-id 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \ --metadata-trigger-type 4 \ --name 'TaskExample' \ --specVersion '1.16.0' \ --start-schedule \ --start-schedule-cron '' \ --start-schedule-cron-expression '' \ --start-schedule-cron-validUntil '' \ --start-schedule-endDateTime '' \ --start-schedule-interval '' \ --start-schedule-recurrence '' \ --start-schedule-startDateTime '' \ --start-schedule-timezone '' \ --states-onEvents-actions-functionRef-refName '' \ --states-onEvents-eventRefs ''curl "https://{tenant}.{region}.qlikcloud.com/api/scheduling/tasks" \-X POST \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","name":"TaskExample","events":[{"name":"event1","type":"com.qlik/active-analytics-orch","source":"dataset.updated","correlation":[{"contextAttributeName":"appId","contextAttributeValue":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}]}],"states":[{"end":true,"name":"Reload","type":"event","onEvents":[{"actions":[{"name":"app.reload","functionRef":{"refName":"app.reload","arguments":{"appId":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","partial":false}}}],"eventRefs":["app1-dataset-updated"]}],"exclusive":false}],"enabled":true,"version":"1.0.0","metadata":{"usage":"ANALYTICS","ownerId":0,"spaceId":"","trigger":{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","type":4},"tenantId":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","createdAt":"2025-08-31T23:22:27.929Z","createdBy":0,"updatedAt":"2025-08-31T23:27:51.207Z","orchestration":{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","type":3,"attrs":{"last_run_status":"SUCCEEDED","last_run_endedAt":"2025-08-31T23:28:06Z","last_run_startedAt":"2025-08-31T23:28:04Z","last_run_worker_type":"reloads"}}},"keepActive":false,"resourceId":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","description":"this is an example of task response","specVersion":"1.16.0"}'Example Response
{ "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "name": "TaskExample", "events": [ { "name": "event1", "type": "com.qlik/active-analytics-orch", "source": "dataset.updated", "correlation": [ { "contextAttributeName": "appId", "contextAttributeValue": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } ] } ], "states": [ { "end": true, "name": "Reload", "type": "event", "onEvents": [ { "actions": [ { "name": "app.reload", "functionRef": { "refName": "app.reload", "arguments": { "appId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "partial": false } } } ], "eventRefs": [ "app1-dataset-updated" ] } ], "exclusive": false } ], "enabled": true, "version": "1.0.0", "metadata": { "usage": "ANALYTICS", "ownerId": 0, "spaceId": "", "trigger": { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "type": 4 }, "tenantId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "createdAt": "2025-08-31T23:22:27.929Z", "createdBy": 0, "updatedAt": "2025-08-31T23:27:51.207Z", "orchestration": { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "type": 3, "attrs": { "last_run_status": "SUCCEEDED", "last_run_endedAt": "2025-08-31T23:28:06Z", "last_run_startedAt": "2025-08-31T23:28:04Z", "last_run_worker_type": "reloads" } } }, "keepActive": false, "resourceId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "description": "this is an example of task response", "specVersion": "1.16.0"}Retrieves the full definition and metadata for a specific task, including its trigger configuration, state definitions, owner, and last run status. Use this operation to inspect a task before updating or starting it.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier of the task to retrieve.
Responses
200
Task details retrieved successfully.
- application/jsonobject
application/json properties
- idstring
The unique identifier assigned to the task by the service.
- keystring
An optional expression used to generate a domain-specific workflow instance identifier.
- namestringRequiredFilterable
The name that identifies the workflow definition. Combined with
version, the name forms a unique identifier for the task. - startobject
The start definition for a workflow, including optional schedule configuration.
One of:- object
A scheduled workflow start definition.
properties
- schedulestring|objectRequiredOne of:
- string
A repeating time interval in ISO 8601 format that defines when workflow instances are automatically created. UTC timezone is assumed.
- object
A structured schedule definition with optional recurrence, date range, and timezone.
One of:- any
- any
-
-
- stateNamestring
The name of the starting workflow state.
-
-
- eventsarray of objects
CloudEvent definitions for the workflow. Defines the events that can be consumed or produced by the workflow.
events properties
- namestring
A unique name identifying this event definition within the workflow.
- typestring
The CloudEvents type attribute identifying the kind of event.
Can be one of: "com.qlik.v1.task.run.finished""com.qlik/active-analytics-orch"
- sourcestring
The CloudEvents source attribute identifying the origin of the event.
Can be one of: "system-events.task""dataset.updated"
- dataOnlyboolean
When
true, only the event payload is accessible to consuming workflow states. Whenfalse, both the payload and context attributes are accessible. - correlationarray of objects
Correlation definitions used to match incoming CloudEvents to this workflow instance.
correlation properties
- contextAttributeNamestringRequired
The name of the CloudEvent extension context attribute to match on.
Can be one of: "id""status""appId""spaceId""datasetId"
- contextAttributeValuestring
The expected value of the CloudEvent extension context attribute.
-
-
- statesarray of objects
The list of state definitions that compose the workflow.
One of:- any
- any
-
- enabledboolean
Indicates whether the task is enabled. Disabled tasks will not trigger automatically.
- versionstring
The semantic version of the workflow definition.
- metadataobject
metadata properties
- usagestring
The product domain in which the resource is used. Defaults to
ANALYTICSwhen not present.Can be one of: "ANALYTICS""DATA_PREPARATION""DATAFLOW_PREP""SINGLE_TABLE_PREP"
- ownerIdstring
The user ID of the task owner.
- spaceIdstring
The unique identifier of the space the task operates in.
- triggerobject
trigger properties
- idstringRequired
The unique identifier of the trigger associated with this task.
- typeintegerRequired
The type identifier of the trigger associated with this task.
Can be one of: 01234
-
- tenantIdstring
The unique identifier of the tenant the task operates in.
- topologyobject
Indicates the task's position in a dependency graph.
topology properties
- isChildboolean
When
true, this task is triggered by one or more parent tasks. - isParentboolean
When
true, this task has one or more downstream dependent tasks.
-
- createdAtstring
The UTC timestamp when the task was created.
- createdBystring
The user ID of the user who created the task.
- deletedAtstring
The UTC timestamp when the task was deleted.
- spaceTypestring
The type of space the task operates in.
Can be one of: "personal""shared""managed"
- updatedAtstring
The UTC timestamp when the task was last updated.
- disabledCodestring
The reason the task is currently disabled.
Can be one of: "MANUALLY""CONSECUTIVE-FAILURES""APP-SCRIPT-UPDATED""OWNER-DELETED""OWNER-DISABLED""APP-MOVED-SPACE""OWNER-MOVED"
- migratedFromstring
The unique identifier of the legacy reload task this task was migrated from, if applicable.
- resourceNamestring
The name of the resource on which the task was created.
- resourceTypestring
The type of resource on which the task was created.
- orchestrationobject
orchestration properties
- idstringRequired
The unique identifier of the orchestration instance associated with this task in the scheduling service.
- typeintegerRequired
The type identifier of the orchestration system handling this task.
Can be one of: 0123
- attrsobject
Additional attributes of the orchestration instance associated with this task in the scheduling service.
- lastRunobject
lastRun properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- endedAtstring
The UTC timestamp when the task run ended.
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- startedAtstring
The UTC timestamp when the task run started.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
-
-
- scriptOwnerIdstring
The user ID of the owner whose script context is used when running the task.
- resourceSubTypestring
The subtype of resource on which the task was created.
-
- keepActiveboolean
When
true, workflow instances are not terminated when there are no active execution paths. Instances can be ended via a terminate end definition or a configuredworkflowExecTimeout. - resourceIdstring
The unique identifier of the resource this task operates on. The value supplied in a request body is ignored and is derived automatically from
states. - annotationsarray of strings
A list of terms describing the workflow's intended purpose, subject areas, or other important qualities.
- descriptionstring
A human-readable description of the workflow's purpose.
- specVersionstringRequired
The Serverless Workflow specification version used by this task.
-
400
The request is malformed or contains invalid parameters.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
401
Authentication credentials are missing or invalid.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
403
Access denied. You lack permission to perform this operation.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
404
The requested resource was not found.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
500
An unexpected error occurred on the server.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
503
The service is temporarily unavailable. Retry the request after a short delay.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
// qlik-api has not implemented support for `GET /api/scheduling/tasks/{id}` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/scheduling/tasks/{id}', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)qlik scheduling task get 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/scheduling/tasks/{id}" \-H "Authorization: Bearer <access_token>"Example Response
{ "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "name": "TaskExample", "events": [ { "name": "event1", "type": "com.qlik/active-analytics-orch", "source": "dataset.updated", "correlation": [ { "contextAttributeName": "appId", "contextAttributeValue": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } ] } ], "states": [ { "end": true, "name": "Reload", "type": "event", "onEvents": [ { "actions": [ { "name": "app.reload", "functionRef": { "refName": "app.reload", "arguments": { "appId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "partial": false } } } ], "eventRefs": [ "app1-dataset-updated" ] } ], "exclusive": false } ], "enabled": true, "version": "1.0.0", "metadata": { "usage": "ANALYTICS", "ownerId": 0, "spaceId": "", "trigger": { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "type": 4 }, "tenantId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "createdAt": "2025-08-31T23:22:27.929Z", "createdBy": 0, "updatedAt": "2025-08-31T23:27:51.207Z", "orchestration": { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "type": 3, "attrs": { "last_run_status": "SUCCEEDED", "last_run_endedAt": "2025-08-31T23:28:06Z", "last_run_startedAt": "2025-08-31T23:28:04Z", "last_run_worker_type": "reloads" } } }, "keepActive": false, "resourceId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "description": "this is an example of task response", "specVersion": "1.16.0"}Partially updates a specific task using a JSON Patch document (RFC 6902). Only the fields included in the patch operations are modified. All other fields remain unchanged. If the task is owned by another user, ownership is transferred to the requesting user.
Facts
| Rate limit | Tier 2 (100 requests per minute) |
Path Parameters
- idstringRequired
The unique identifier of the task to update.
Request Body
Required- application/jsonarray of objects
A JSON Patch document as defined by RFC 6902.
application/json properties
- opstringRequired
The patch operation to perform.
Can be one of: "add""remove""replace""move""copy"
- pathstringRequired
A JSON Pointer (RFC 6901) identifying the field to patch.
- valuestring|number|integer|boolean|array|object
The value to use in a JSON Patch operation.
One of:- string
- number
- integer
- boolean
- array of undefineds
- object
-
-
Responses
200
Task updated successfully.
- application/jsonobject
application/json properties
- idstring
The unique identifier assigned to the task by the service.
- keystring
An optional expression used to generate a domain-specific workflow instance identifier.
- namestringRequiredFilterable
The name that identifies the workflow definition. Combined with
version, the name forms a unique identifier for the task. - startobject
The start definition for a workflow, including optional schedule configuration.
One of:- object
A scheduled workflow start definition.
properties
- schedulestring|objectRequiredOne of:
- string
A repeating time interval in ISO 8601 format that defines when workflow instances are automatically created. UTC timezone is assumed.
- object
A structured schedule definition with optional recurrence, date range, and timezone.
One of:- any
- any
-
-
- stateNamestring
The name of the starting workflow state.
-
-
- eventsarray of objects
CloudEvent definitions for the workflow. Defines the events that can be consumed or produced by the workflow.
events properties
- namestring
A unique name identifying this event definition within the workflow.
- typestring
The CloudEvents type attribute identifying the kind of event.
Can be one of: "com.qlik.v1.task.run.finished""com.qlik/active-analytics-orch"
- sourcestring
The CloudEvents source attribute identifying the origin of the event.
Can be one of: "system-events.task""dataset.updated"
- dataOnlyboolean
When
true, only the event payload is accessible to consuming workflow states. Whenfalse, both the payload and context attributes are accessible. - correlationarray of objects
Correlation definitions used to match incoming CloudEvents to this workflow instance.
correlation properties
- contextAttributeNamestringRequired
The name of the CloudEvent extension context attribute to match on.
Can be one of: "id""status""appId""spaceId""datasetId"
- contextAttributeValuestring
The expected value of the CloudEvent extension context attribute.
-
-
- statesarray of objects
The list of state definitions that compose the workflow.
One of:- any
- any
-
- enabledboolean
Indicates whether the task is enabled. Disabled tasks will not trigger automatically.
- versionstring
The semantic version of the workflow definition.
- metadataobject
metadata properties
- usagestring
The product domain in which the resource is used. Defaults to
ANALYTICSwhen not present.Can be one of: "ANALYTICS""DATA_PREPARATION""DATAFLOW_PREP""SINGLE_TABLE_PREP"
- ownerIdstring
The user ID of the task owner.
- spaceIdstring
The unique identifier of the space the task operates in.
- triggerobject
trigger properties
- idstringRequired
The unique identifier of the trigger associated with this task.
- typeintegerRequired
The type identifier of the trigger associated with this task.
Can be one of: 01234
-
- tenantIdstring
The unique identifier of the tenant the task operates in.
- topologyobject
Indicates the task's position in a dependency graph.
topology properties
- isChildboolean
When
true, this task is triggered by one or more parent tasks. - isParentboolean
When
true, this task has one or more downstream dependent tasks.
-
- createdAtstring
The UTC timestamp when the task was created.
- createdBystring
The user ID of the user who created the task.
- deletedAtstring
The UTC timestamp when the task was deleted.
- spaceTypestring
The type of space the task operates in.
Can be one of: "personal""shared""managed"
- updatedAtstring
The UTC timestamp when the task was last updated.
- disabledCodestring
The reason the task is currently disabled.
Can be one of: "MANUALLY""CONSECUTIVE-FAILURES""APP-SCRIPT-UPDATED""OWNER-DELETED""OWNER-DISABLED""APP-MOVED-SPACE""OWNER-MOVED"
- migratedFromstring
The unique identifier of the legacy reload task this task was migrated from, if applicable.
- resourceNamestring
The name of the resource on which the task was created.
- resourceTypestring
The type of resource on which the task was created.
- orchestrationobject
orchestration properties
- idstringRequired
The unique identifier of the orchestration instance associated with this task in the scheduling service.
- typeintegerRequired
The type identifier of the orchestration system handling this task.
Can be one of: 0123
- attrsobject
Additional attributes of the orchestration instance associated with this task in the scheduling service.
- lastRunobject
lastRun properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- endedAtstring
The UTC timestamp when the task run ended.
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- startedAtstring
The UTC timestamp when the task run started.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
-
-
- scriptOwnerIdstring
The user ID of the owner whose script context is used when running the task.
- resourceSubTypestring
The subtype of resource on which the task was created.
-
- keepActiveboolean
When
true, workflow instances are not terminated when there are no active execution paths. Instances can be ended via a terminate end definition or a configuredworkflowExecTimeout. - resourceIdstring
The unique identifier of the resource this task operates on. The value supplied in a request body is ignored and is derived automatically from
states. - annotationsarray of strings
A list of terms describing the workflow's intended purpose, subject areas, or other important qualities.
- descriptionstring
A human-readable description of the workflow's purpose.
- specVersionstringRequired
The Serverless Workflow specification version used by this task.
-
204
Task updated with no content to return.
400
The request is malformed or contains invalid parameters.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
401
Authentication credentials are missing or invalid.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
403
Access denied. You lack permission to perform this operation.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
404
The requested resource was not found.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
500
An unexpected error occurred on the server.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
503
The service is temporarily unavailable. Retry the request after a short delay.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
// qlik-api has not implemented support for `PATCH /api/scheduling/tasks/{id}` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/scheduling/tasks/{id}', { method: 'PATCH', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify([ { op: 'add', path: 'string', value: 'string', }, ]), },)qlik scheduling task patch 'string' \ --op 'add' \ --path 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/scheduling/tasks/{id}" \-X PATCH \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '[{"op":"add","path":"string","value":"string"}]'Example Response
{ "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "name": "TaskExample", "events": [ { "name": "event1", "type": "com.qlik/active-analytics-orch", "source": "dataset.updated", "correlation": [ { "contextAttributeName": "appId", "contextAttributeValue": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } ] } ], "states": [ { "end": true, "name": "Reload", "type": "event", "onEvents": [ { "actions": [ { "name": "app.reload", "functionRef": { "refName": "app.reload", "arguments": { "appId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "partial": false } } } ], "eventRefs": [ "app1-dataset-updated" ] } ], "exclusive": false } ], "enabled": true, "version": "1.0.0", "metadata": { "usage": "ANALYTICS", "ownerId": 0, "spaceId": "", "trigger": { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "type": 4 }, "tenantId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "createdAt": "2025-08-31T23:22:27.929Z", "createdBy": 0, "updatedAt": "2025-08-31T23:27:51.207Z", "orchestration": { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "type": 3, "attrs": { "last_run_status": "SUCCEEDED", "last_run_endedAt": "2025-08-31T23:28:06Z", "last_run_startedAt": "2025-08-31T23:28:04Z", "last_run_worker_type": "reloads" } } }, "keepActive": false, "resourceId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "description": "this is an example of task response", "specVersion": "1.16.0"}Replaces the full definition of a specific task with the supplied payload. All fields not included in the request body are reset to their defaults. If the task is owned by another user, ownership is transferred to the requesting user. Use PATCH instead to apply a partial update.
Facts
| Rate limit | Tier 2 (100 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier of the task to replace.
Request Body
Required- application/jsonobject
application/json properties
- keystring
An optional expression used to generate a domain-specific workflow instance identifier.
- namestringRequiredFilterable
The name that identifies the workflow definition. Combined with
version, the name forms a unique identifier for the task. - startobject
The start definition for a workflow, including optional schedule configuration.
One of:- object
A scheduled workflow start definition.
properties
- schedulestring|objectRequiredOne of:
- string
A repeating time interval in ISO 8601 format that defines when workflow instances are automatically created. UTC timezone is assumed.
- object
A structured schedule definition with optional recurrence, date range, and timezone.
One of:- any
- any
-
-
- stateNamestring
The name of the starting workflow state.
-
-
- eventsarray of objects
CloudEvent definitions for the workflow. Defines the events that can be consumed or produced by the workflow.
events properties
- namestring
A unique name identifying this event definition within the workflow.
- typestring
The CloudEvents type attribute identifying the kind of event.
Can be one of: "com.qlik.v1.task.run.finished""com.qlik/active-analytics-orch"
- sourcestring
The CloudEvents source attribute identifying the origin of the event.
Can be one of: "system-events.task""dataset.updated"
- dataOnlyboolean
When
true, only the event payload is accessible to consuming workflow states. Whenfalse, both the payload and context attributes are accessible. - correlationarray of objects
Correlation definitions used to match incoming CloudEvents to this workflow instance.
correlation properties
- contextAttributeNamestringRequired
The name of the CloudEvent extension context attribute to match on.
Can be one of: "id""status""appId""spaceId""datasetId"
- contextAttributeValuestring
The expected value of the CloudEvent extension context attribute.
-
-
- statesarray of objects
The list of state definitions that compose the workflow.
One of:- any
- any
-
- enabledboolean
Indicates whether the task is enabled. Disabled tasks will not trigger automatically.
- versionstring
The semantic version of the workflow definition.
- metadataobject
metadata properties
- usagestring
The product domain in which the resource is used. Defaults to
ANALYTICSwhen not present.Can be one of: "ANALYTICS""DATA_PREPARATION""DATAFLOW_PREP""SINGLE_TABLE_PREP"
- ownerIdstring
The user ID of the task owner.
- spaceIdstring
The unique identifier of the space the task operates in.
- triggerobject
trigger properties
- idstringRequired
The unique identifier of the trigger associated with this task.
- typeintegerRequired
The type identifier of the trigger associated with this task.
Can be one of: 01234
-
- tenantIdstring
The unique identifier of the tenant the task operates in.
- topologyobject
Indicates the task's position in a dependency graph.
topology properties
- isChildboolean
When
true, this task is triggered by one or more parent tasks. - isParentboolean
When
true, this task has one or more downstream dependent tasks.
-
- createdBystring
The user ID of the user who created the task.
- spaceTypestring
The type of space the task operates in.
Can be one of: "personal""shared""managed"
- updatedAtstring
The UTC timestamp when the task was last updated.
- disabledCodestring
The reason the task is currently disabled.
Can be one of: "MANUALLY""CONSECUTIVE-FAILURES""APP-SCRIPT-UPDATED""OWNER-DELETED""OWNER-DISABLED""APP-MOVED-SPACE""OWNER-MOVED"
- migratedFromstring
The unique identifier of the legacy reload task this task was migrated from, if applicable.
- resourceNamestring
The name of the resource on which the task was created.
- resourceTypestring
The type of resource on which the task was created.
- orchestrationobject
orchestration properties
- idstringRequired
The unique identifier of the orchestration instance associated with this task in the scheduling service.
- typeintegerRequired
The type identifier of the orchestration system handling this task.
Can be one of: 0123
- attrsobject
Additional attributes of the orchestration instance associated with this task in the scheduling service.
- lastRunobject
lastRun properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
-
-
- scriptOwnerIdstring
The user ID of the owner whose script context is used when running the task.
- resourceSubTypestring
The subtype of resource on which the task was created.
-
- keepActiveboolean
When
true, workflow instances are not terminated when there are no active execution paths. Instances can be ended via a terminate end definition or a configuredworkflowExecTimeout. - resourceIdstring
The unique identifier of the resource this task operates on. The value supplied in a request body is ignored and is derived automatically from
states. - annotationsarray of strings
A list of terms describing the workflow's intended purpose, subject areas, or other important qualities.
- descriptionstring
A human-readable description of the workflow's purpose.
- specVersionstringRequired
The Serverless Workflow specification version used by this task.
-
Responses
200
Task replaced successfully.
- application/jsonobject
application/json properties
- idstring
The unique identifier assigned to the task by the service.
- keystring
An optional expression used to generate a domain-specific workflow instance identifier.
- namestringRequiredFilterable
The name that identifies the workflow definition. Combined with
version, the name forms a unique identifier for the task. - startobject
The start definition for a workflow, including optional schedule configuration.
One of:- object
A scheduled workflow start definition.
properties
- schedulestring|objectRequiredOne of:
- string
A repeating time interval in ISO 8601 format that defines when workflow instances are automatically created. UTC timezone is assumed.
- object
A structured schedule definition with optional recurrence, date range, and timezone.
One of:- any
- any
-
-
- stateNamestring
The name of the starting workflow state.
-
-
- eventsarray of objects
CloudEvent definitions for the workflow. Defines the events that can be consumed or produced by the workflow.
events properties
- namestring
A unique name identifying this event definition within the workflow.
- typestring
The CloudEvents type attribute identifying the kind of event.
Can be one of: "com.qlik.v1.task.run.finished""com.qlik/active-analytics-orch"
- sourcestring
The CloudEvents source attribute identifying the origin of the event.
Can be one of: "system-events.task""dataset.updated"
- dataOnlyboolean
When
true, only the event payload is accessible to consuming workflow states. Whenfalse, both the payload and context attributes are accessible. - correlationarray of objects
Correlation definitions used to match incoming CloudEvents to this workflow instance.
correlation properties
- contextAttributeNamestringRequired
The name of the CloudEvent extension context attribute to match on.
Can be one of: "id""status""appId""spaceId""datasetId"
- contextAttributeValuestring
The expected value of the CloudEvent extension context attribute.
-
-
- statesarray of objects
The list of state definitions that compose the workflow.
One of:- any
- any
-
- enabledboolean
Indicates whether the task is enabled. Disabled tasks will not trigger automatically.
- versionstring
The semantic version of the workflow definition.
- metadataobject
metadata properties
- usagestring
The product domain in which the resource is used. Defaults to
ANALYTICSwhen not present.Can be one of: "ANALYTICS""DATA_PREPARATION""DATAFLOW_PREP""SINGLE_TABLE_PREP"
- ownerIdstring
The user ID of the task owner.
- spaceIdstring
The unique identifier of the space the task operates in.
- triggerobject
trigger properties
- idstringRequired
The unique identifier of the trigger associated with this task.
- typeintegerRequired
The type identifier of the trigger associated with this task.
Can be one of: 01234
-
- tenantIdstring
The unique identifier of the tenant the task operates in.
- topologyobject
Indicates the task's position in a dependency graph.
topology properties
- isChildboolean
When
true, this task is triggered by one or more parent tasks. - isParentboolean
When
true, this task has one or more downstream dependent tasks.
-
- createdAtstring
The UTC timestamp when the task was created.
- createdBystring
The user ID of the user who created the task.
- deletedAtstring
The UTC timestamp when the task was deleted.
- spaceTypestring
The type of space the task operates in.
Can be one of: "personal""shared""managed"
- updatedAtstring
The UTC timestamp when the task was last updated.
- disabledCodestring
The reason the task is currently disabled.
Can be one of: "MANUALLY""CONSECUTIVE-FAILURES""APP-SCRIPT-UPDATED""OWNER-DELETED""OWNER-DISABLED""APP-MOVED-SPACE""OWNER-MOVED"
- migratedFromstring
The unique identifier of the legacy reload task this task was migrated from, if applicable.
- resourceNamestring
The name of the resource on which the task was created.
- resourceTypestring
The type of resource on which the task was created.
- orchestrationobject
orchestration properties
- idstringRequired
The unique identifier of the orchestration instance associated with this task in the scheduling service.
- typeintegerRequired
The type identifier of the orchestration system handling this task.
Can be one of: 0123
- attrsobject
Additional attributes of the orchestration instance associated with this task in the scheduling service.
- lastRunobject
lastRun properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- endedAtstring
The UTC timestamp when the task run ended.
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- startedAtstring
The UTC timestamp when the task run started.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
-
-
- scriptOwnerIdstring
The user ID of the owner whose script context is used when running the task.
- resourceSubTypestring
The subtype of resource on which the task was created.
-
- keepActiveboolean
When
true, workflow instances are not terminated when there are no active execution paths. Instances can be ended via a terminate end definition or a configuredworkflowExecTimeout. - resourceIdstring
The unique identifier of the resource this task operates on. The value supplied in a request body is ignored and is derived automatically from
states. - annotationsarray of strings
A list of terms describing the workflow's intended purpose, subject areas, or other important qualities.
- descriptionstring
A human-readable description of the workflow's purpose.
- specVersionstringRequired
The Serverless Workflow specification version used by this task.
-
400
The request is malformed or contains invalid parameters.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
401
Authentication credentials are missing or invalid.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
403
Access denied. You lack permission to perform this operation.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
404
The requested resource was not found.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
409
The request conflicts with the current state of the resource.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
500
An unexpected error occurred on the server.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
503
The service is temporarily unavailable. Retry the request after a short delay.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
// qlik-api has not implemented support for `PUT /api/scheduling/tasks/{id}` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/scheduling/tasks/{id}', { method: 'PUT', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ id: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', name: 'TaskExample', events: [ { name: 'event1', type: 'com.qlik/active-analytics-orch', source: 'dataset.updated', correlation: [ { contextAttributeName: 'appId', contextAttributeValue: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', }, ], }, ], states: [ { end: true, name: 'Reload', type: 'event', onEvents: [ { actions: [ { name: 'app.reload', functionRef: { refName: 'app.reload', arguments: { appId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', partial: false, }, }, }, ], eventRefs: ['app1-dataset-updated'], }, ], exclusive: false, }, ], enabled: true, version: '1.0.0', metadata: { usage: 'ANALYTICS', ownerId: 0, spaceId: '', trigger: { id: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', type: 4, }, tenantId: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', createdAt: '2025-08-31T23:22:27.929Z', createdBy: 0, updatedAt: '2025-08-31T23:27:51.207Z', orchestration: { id: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', type: 3, attrs: { last_run_status: 'SUCCEEDED', last_run_endedAt: '2025-08-31T23:28:06Z', last_run_startedAt: '2025-08-31T23:28:04Z', last_run_worker_type: 'reloads', }, }, }, keepActive: false, resourceId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', description: 'this is an example of task response', specVersion: '1.16.0', }), },)qlik scheduling task update 'string' \ --events-correlation-contextAttributeName '' \ --metadata-orchestration-id 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \ --metadata-orchestration-lastRun-id '' \ --metadata-orchestration-lastRun-status '' \ --metadata-orchestration-lastRun-triggeredBy '' \ --metadata-orchestration-lastRun-workerId '' \ --metadata-orchestration-lastRun-workerType '' \ --metadata-orchestration-type 3 \ --metadata-trigger-id 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \ --metadata-trigger-type 4 \ --name 'TaskExample' \ --specVersion '1.16.0' \ --start-schedule \ --start-schedule-cron '' \ --start-schedule-cron-expression '' \ --start-schedule-cron-validUntil '' \ --start-schedule-endDateTime '' \ --start-schedule-interval '' \ --start-schedule-recurrence '' \ --start-schedule-startDateTime '' \ --start-schedule-timezone '' \ --states-onEvents-actions-functionRef-refName '' \ --states-onEvents-eventRefs ''curl "https://{tenant}.{region}.qlikcloud.com/api/scheduling/tasks/{id}" \-X PUT \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","name":"TaskExample","events":[{"name":"event1","type":"com.qlik/active-analytics-orch","source":"dataset.updated","correlation":[{"contextAttributeName":"appId","contextAttributeValue":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}]}],"states":[{"end":true,"name":"Reload","type":"event","onEvents":[{"actions":[{"name":"app.reload","functionRef":{"refName":"app.reload","arguments":{"appId":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","partial":false}}}],"eventRefs":["app1-dataset-updated"]}],"exclusive":false}],"enabled":true,"version":"1.0.0","metadata":{"usage":"ANALYTICS","ownerId":0,"spaceId":"","trigger":{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","type":4},"tenantId":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","createdAt":"2025-08-31T23:22:27.929Z","createdBy":0,"updatedAt":"2025-08-31T23:27:51.207Z","orchestration":{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","type":3,"attrs":{"last_run_status":"SUCCEEDED","last_run_endedAt":"2025-08-31T23:28:06Z","last_run_startedAt":"2025-08-31T23:28:04Z","last_run_worker_type":"reloads"}}},"keepActive":false,"resourceId":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","description":"this is an example of task response","specVersion":"1.16.0"}'Example Response
{ "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "name": "TaskExample", "events": [ { "name": "event1", "type": "com.qlik/active-analytics-orch", "source": "dataset.updated", "correlation": [ { "contextAttributeName": "appId", "contextAttributeValue": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } ] } ], "states": [ { "end": true, "name": "Reload", "type": "event", "onEvents": [ { "actions": [ { "name": "app.reload", "functionRef": { "refName": "app.reload", "arguments": { "appId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "partial": false } } } ], "eventRefs": [ "app1-dataset-updated" ] } ], "exclusive": false } ], "enabled": true, "version": "1.0.0", "metadata": { "usage": "ANALYTICS", "ownerId": 0, "spaceId": "", "trigger": { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "type": 4 }, "tenantId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "createdAt": "2025-08-31T23:22:27.929Z", "createdBy": 0, "updatedAt": "2025-08-31T23:27:51.207Z", "orchestration": { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "type": 3, "attrs": { "last_run_status": "SUCCEEDED", "last_run_endedAt": "2025-08-31T23:28:06Z", "last_run_startedAt": "2025-08-31T23:28:04Z", "last_run_worker_type": "reloads" } } }, "keepActive": false, "resourceId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "description": "this is an example of task response", "specVersion": "1.16.0"}Deletes a specific task and cancels any scheduled or pending runs associated with it. This action cannot be undone. Tenant admins can delete tasks owned by other users.
Facts
| Rate limit | Tier 2 (100 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier of the task to delete.
Responses
204
Task deleted successfully.
400
The request is malformed or contains invalid parameters.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
401
Authentication credentials are missing or invalid.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
403
Access denied. You lack permission to perform this operation.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
404
The requested resource was not found.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
500
An unexpected error occurred on the server.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
503
The service is temporarily unavailable. Retry the request after a short delay.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
// qlik-api has not implemented support for `DELETE /api/scheduling/tasks/{id}` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/scheduling/tasks/{id}', { method: 'DELETE', headers: { 'Content-Type': 'application/json', }, },)qlik scheduling task rm 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/scheduling/tasks/{id}" \-X DELETE \-H "Authorization: Bearer <access_token>"Triggers an immediate run of the specified task outside its normal schedule. The optional source parameter identifies what initiated the run, which is recorded in the run history for auditing purposes.
Facts
| Rate limit | Tier 2 (100 requests per minute) | |
| Replaces |
Query Parameters
- sourcestring
The origin of the trigger. Defaults to
manual. For event-triggered tasks, this can be the name of the triggering task.
Path Parameters
- idstringRequired
The unique identifier of the task to start.
Responses
200
Task started successfully.
- application/jsonobject
application/json properties
- messagestring
-
400
The request is malformed or contains invalid parameters.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
401
Authentication credentials are missing or invalid.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
403
Access denied. You lack permission to perform this operation.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
404
The requested resource was not found.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
500
An unexpected error occurred on the server.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
503
The service is temporarily unavailable. Retry the request after a short delay.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
// qlik-api has not implemented support for `POST /api/scheduling/tasks/{id}/actions/start` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/scheduling/tasks/{id}/actions/start', { method: 'POST', headers: { 'Content-Type': 'application/json', }, },)qlik scheduling task start 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/scheduling/tasks/{id}/actions/start" \-X POST \-H "Authorization: Bearer <access_token>"Example Response
{ "message": "Task started successfully"}Retrieves the ancestor subgraph for a specific task, with the requested task as the root vertex. Traverses parent relationships breadth-first up to the depth specified by level. Use this to understand all upstream dependencies of a task.
Facts
| Rate limit | Tier 1 (1000 requests per minute) |
Query Parameters
- levelinteger
Maximum ancestor depth to traverse breadth-first.
- withTaskboolean
When
true, includes the full task document for each accessible vertex in the response.
Path Parameters
- idstringRequired
The unique identifier of the task.
Responses
200
Ancestor graph retrieved successfully.
- application/jsonobject
application/json properties
- edgesarray of objects
edges properties
- attrsobject
- sourcestring
- targetstring
-
- taskIdstring
- verticesarray of objects
vertices properties
- taskobject
task properties
- idstring
The unique identifier assigned to the task by the service.
- keystring
An optional expression used to generate a domain-specific workflow instance identifier.
- namestringRequiredFilterable
The name that identifies the workflow definition. Combined with
version, the name forms a unique identifier for the task. - startobject
The start definition for a workflow, including optional schedule configuration.
One of:- object
A scheduled workflow start definition.
properties
- schedulestring|objectRequiredOne of:
- string
A repeating time interval in ISO 8601 format that defines when workflow instances are automatically created. UTC timezone is assumed.
- object
A structured schedule definition with optional recurrence, date range, and timezone.
One of:- any
- any
-
-
- stateNamestring
The name of the starting workflow state.
-
-
- eventsarray of objects
CloudEvent definitions for the workflow. Defines the events that can be consumed or produced by the workflow.
events properties
- namestring
A unique name identifying this event definition within the workflow.
- typestring
The CloudEvents type attribute identifying the kind of event.
Can be one of: "com.qlik.v1.task.run.finished""com.qlik/active-analytics-orch"
- sourcestring
The CloudEvents source attribute identifying the origin of the event.
Can be one of: "system-events.task""dataset.updated"
- dataOnlyboolean
When
true, only the event payload is accessible to consuming workflow states. Whenfalse, both the payload and context attributes are accessible. - correlationarray of objects
Correlation definitions used to match incoming CloudEvents to this workflow instance.
correlation properties
- contextAttributeNamestringRequired
The name of the CloudEvent extension context attribute to match on.
Can be one of: "id""status""appId""spaceId""datasetId"
- contextAttributeValuestring
The expected value of the CloudEvent extension context attribute.
-
-
- statesarray of objects
The list of state definitions that compose the workflow.
One of:- any
- any
-
- enabledboolean
Indicates whether the task is enabled. Disabled tasks will not trigger automatically.
- versionstring
The semantic version of the workflow definition.
- metadataobject
metadata properties
- usagestring
The product domain in which the resource is used. Defaults to
ANALYTICSwhen not present.Can be one of: "ANALYTICS""DATA_PREPARATION""DATAFLOW_PREP""SINGLE_TABLE_PREP"
- ownerIdstring
The user ID of the task owner.
- spaceIdstring
The unique identifier of the space the task operates in.
- triggerobject
trigger properties
- idstringRequired
The unique identifier of the trigger associated with this task.
- typeintegerRequired
The type identifier of the trigger associated with this task.
Can be one of: 01234
-
- tenantIdstring
The unique identifier of the tenant the task operates in.
- topologyobject
Indicates the task's position in a dependency graph.
topology properties
- isChildboolean
When
true, this task is triggered by one or more parent tasks. - isParentboolean
When
true, this task has one or more downstream dependent tasks.
-
- createdAtstring
The UTC timestamp when the task was created.
- createdBystring
The user ID of the user who created the task.
- deletedAtstring
The UTC timestamp when the task was deleted.
- spaceTypestring
The type of space the task operates in.
Can be one of: "personal""shared""managed"
- updatedAtstring
The UTC timestamp when the task was last updated.
- disabledCodestring
The reason the task is currently disabled.
Can be one of: "MANUALLY""CONSECUTIVE-FAILURES""APP-SCRIPT-UPDATED""OWNER-DELETED""OWNER-DISABLED""APP-MOVED-SPACE""OWNER-MOVED"
- migratedFromstring
The unique identifier of the legacy reload task this task was migrated from, if applicable.
- resourceNamestring
The name of the resource on which the task was created.
- resourceTypestring
The type of resource on which the task was created.
- orchestrationobject
orchestration properties
- idstringRequired
The unique identifier of the orchestration instance associated with this task in the scheduling service.
- typeintegerRequired
The type identifier of the orchestration system handling this task.
Can be one of: 0123
- attrsobject
Additional attributes of the orchestration instance associated with this task in the scheduling service.
- lastRunobject
lastRun properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- endedAtstring
The UTC timestamp when the task run ended.
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- startedAtstring
The UTC timestamp when the task run started.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
-
-
- scriptOwnerIdstring
The user ID of the owner whose script context is used when running the task.
- resourceSubTypestring
The subtype of resource on which the task was created.
-
- keepActiveboolean
When
true, workflow instances are not terminated when there are no active execution paths. Instances can be ended via a terminate end definition or a configuredworkflowExecTimeout. - resourceIdstring
The unique identifier of the resource this task operates on. The value supplied in a request body is ignored and is derived automatically from
states. - annotationsarray of strings
A list of terms describing the workflow's intended purpose, subject areas, or other important qualities.
- descriptionstring
A human-readable description of the workflow's purpose.
- specVersionstringRequired
The Serverless Workflow specification version used by this task.
-
- attrsobject
- taskIdstring
-
-
400
The request is malformed or contains invalid parameters.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
401
Authentication credentials are missing or invalid.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
403
Access denied. You lack permission to perform this operation.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
404
The requested resource was not found.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
500
An unexpected error occurred on the server.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
503
The service is temporarily unavailable. Retry the request after a short delay.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
// qlik-api has not implemented support for `GET /api/scheduling/tasks/{id}/graphs/ancestors` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/scheduling/tasks/{id}/graphs/ancestors', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)qlik scheduling task graph ancestor ls 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/scheduling/tasks/{id}/graphs/ancestors" \-H "Authorization: Bearer <access_token>"Example Response
{ "edges": [ { "attrs": { "depth": 1 }, "source": "22222222-2222-2222-2222-222222222222", "target": "11111111-1111-1111-1111-111111111111" } ], "taskId": "11111111-1111-1111-1111-111111111111", "vertices": [ { "attrs": { "depth": 0, "isChild": false, "isParent": true }, "taskId": "11111111-1111-1111-1111-111111111111" }, { "attrs": { "depth": 1, "isChild": true, "isParent": false }, "taskId": "22222222-2222-2222-2222-222222222222" } ]}Retrieves a paginated list of tasks that are direct children of the specified task in the dependency graph. A child task is one that is triggered when the parent task completes successfully.
Facts
| Rate limit | Tier 1 (1000 requests per minute) |
Query Parameters
- filterstring
Advanced filter expression using RFC 7644 SCIM syntax. Refer to RFC 7644 for syntax details. All comparisons are case-insensitive. Supported fields:
name,enabled,resourceId,ownerId,spaceId,createdAt,updatedAt,updatedBy,lastStatus,lastTriggeredBy,lastStartedAt,lastEndedAt,lastExecutedAs, andtriggerType. - limitinteger
Maximum number of tasks to return per page.
- pagestring
Cursor token for fetching the next page of results.
- sortstring
Field and direction to sort results by. Prefix the field name with
+for ascending or-for descending order. Defaults to-updatedAt.Can be one of: "+createdAt""-createdAt""+enabled""-enabled""+name""-name""+ownerId""-ownerId""+resourceId""-resourceId""+spaceId""-spaceId""+updatedAt""-updatedAt""+updatedBy""-updatedBy""+lastStatus""-lastStatus""+lastTriggeredBy""-lastTriggeredBy""+lastStartedAt""-lastStartedAt""+lastEndedAt""-lastEndedAt""+lastExecutedAs""-lastExecutedAs""+triggerType""-triggerType"
Path Parameters
- idstringRequired
The unique identifier of the parent task.
Responses
200
Child tasks retrieved successfully.
- application/jsonobject
application/json properties
- dataarray of objects
data properties
- idstring
The unique identifier assigned to the task by the service.
- keystring
An optional expression used to generate a domain-specific workflow instance identifier.
- namestringRequiredFilterable
The name that identifies the workflow definition. Combined with
version, the name forms a unique identifier for the task. - startobject
The start definition for a workflow, including optional schedule configuration.
One of:- object
A scheduled workflow start definition.
properties
- schedulestring|objectRequiredOne of:
- string
A repeating time interval in ISO 8601 format that defines when workflow instances are automatically created. UTC timezone is assumed.
- object
A structured schedule definition with optional recurrence, date range, and timezone.
One of:- any
- any
-
-
- stateNamestring
The name of the starting workflow state.
-
-
- eventsarray of objects
CloudEvent definitions for the workflow. Defines the events that can be consumed or produced by the workflow.
events properties
- namestring
A unique name identifying this event definition within the workflow.
- typestring
The CloudEvents type attribute identifying the kind of event.
Can be one of: "com.qlik.v1.task.run.finished""com.qlik/active-analytics-orch"
- sourcestring
The CloudEvents source attribute identifying the origin of the event.
Can be one of: "system-events.task""dataset.updated"
- dataOnlyboolean
When
true, only the event payload is accessible to consuming workflow states. Whenfalse, both the payload and context attributes are accessible. - correlationarray of objects
Correlation definitions used to match incoming CloudEvents to this workflow instance.
correlation properties
- contextAttributeNamestringRequired
The name of the CloudEvent extension context attribute to match on.
Can be one of: "id""status""appId""spaceId""datasetId"
- contextAttributeValuestring
The expected value of the CloudEvent extension context attribute.
-
-
- statesarray of objects
The list of state definitions that compose the workflow.
One of:- any
- any
-
- enabledboolean
Indicates whether the task is enabled. Disabled tasks will not trigger automatically.
- versionstring
The semantic version of the workflow definition.
- metadataobject
metadata properties
- usagestring
The product domain in which the resource is used. Defaults to
ANALYTICSwhen not present.Can be one of: "ANALYTICS""DATA_PREPARATION""DATAFLOW_PREP""SINGLE_TABLE_PREP"
- ownerIdstring
The user ID of the task owner.
- spaceIdstring
The unique identifier of the space the task operates in.
- triggerobject
trigger properties
- idstringRequired
The unique identifier of the trigger associated with this task.
- typeintegerRequired
The type identifier of the trigger associated with this task.
Can be one of: 01234
-
- tenantIdstring
The unique identifier of the tenant the task operates in.
- topologyobject
Indicates the task's position in a dependency graph.
topology properties
- isChildboolean
When
true, this task is triggered by one or more parent tasks. - isParentboolean
When
true, this task has one or more downstream dependent tasks.
-
- createdAtstring
The UTC timestamp when the task was created.
- createdBystring
The user ID of the user who created the task.
- deletedAtstring
The UTC timestamp when the task was deleted.
- spaceTypestring
The type of space the task operates in.
Can be one of: "personal""shared""managed"
- updatedAtstring
The UTC timestamp when the task was last updated.
- disabledCodestring
The reason the task is currently disabled.
Can be one of: "MANUALLY""CONSECUTIVE-FAILURES""APP-SCRIPT-UPDATED""OWNER-DELETED""OWNER-DISABLED""APP-MOVED-SPACE""OWNER-MOVED"
- migratedFromstring
The unique identifier of the legacy reload task this task was migrated from, if applicable.
- resourceNamestring
The name of the resource on which the task was created.
- resourceTypestring
The type of resource on which the task was created.
- orchestrationobject
orchestration properties
- idstringRequired
The unique identifier of the orchestration instance associated with this task in the scheduling service.
- typeintegerRequired
The type identifier of the orchestration system handling this task.
Can be one of: 0123
- attrsobject
Additional attributes of the orchestration instance associated with this task in the scheduling service.
- lastRunobject
lastRun properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- endedAtstring
The UTC timestamp when the task run ended.
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- startedAtstring
The UTC timestamp when the task run started.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
-
-
- scriptOwnerIdstring
The user ID of the owner whose script context is used when running the task.
- resourceSubTypestring
The subtype of resource on which the task was created.
-
- keepActiveboolean
When
true, workflow instances are not terminated when there are no active execution paths. Instances can be ended via a terminate end definition or a configuredworkflowExecTimeout. - resourceIdstring
The unique identifier of the resource this task operates on. The value supplied in a request body is ignored and is derived automatically from
states. - annotationsarray of strings
A list of terms describing the workflow's intended purpose, subject areas, or other important qualities.
- descriptionstring
A human-readable description of the workflow's purpose.
- specVersionstringRequired
The Serverless Workflow specification version used by this task.
-
- linksobject
links properties
- nextobject
next properties
- hrefstringRequired
The URL of the linked resource.
-
- prevobject
prev properties
- hrefstringRequired
The URL of the linked resource.
-
- selfobject
self properties
- hrefstringRequired
The URL of the linked resource.
-
-
-
400
The request is malformed or contains invalid parameters.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
401
Authentication credentials are missing or invalid.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
403
Access denied. You lack permission to perform this operation.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
404
The requested resource was not found.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
500
An unexpected error occurred on the server.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
503
The service is temporarily unavailable. Retry the request after a short delay.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
// qlik-api has not implemented support for `GET /api/scheduling/tasks/{id}/graphs/children` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/scheduling/tasks/{id}/graphs/children', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)qlik scheduling task graph children ls 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/scheduling/tasks/{id}/graphs/children" \-H "Authorization: Bearer <access_token>"Example Response
{ "data": [ { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "name": "TaskExample", "events": [ { "name": "event1", "type": "com.qlik/active-analytics-orch", "source": "dataset.updated", "correlation": [ { "contextAttributeName": "appId", "contextAttributeValue": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } ] } ], "states": [ { "end": true, "name": "Reload", "type": "event", "onEvents": [ { "actions": [ { "name": "app.reload", "functionRef": { "refName": "app.reload", "arguments": { "appId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "partial": false } } } ], "eventRefs": [ "app1-dataset-updated" ] } ], "exclusive": false } ], "enabled": true, "version": "1.0.0", "metadata": { "usage": "ANALYTICS", "ownerId": 0, "spaceId": "", "trigger": { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "type": 4 }, "tenantId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "createdAt": "2025-08-31T23:22:27.929Z", "createdBy": 0, "updatedAt": "2025-08-31T23:27:51.207Z", "orchestration": { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "type": 3, "attrs": { "last_run_status": "SUCCEEDED", "last_run_endedAt": "2025-08-31T23:28:06Z", "last_run_startedAt": "2025-08-31T23:28:04Z", "last_run_worker_type": "reloads" } } }, "keepActive": false, "resourceId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "description": "this is an example of task response", "specVersion": "1.16.0" } ], "links": { "next": { "href": "string" }, "prev": { "href": "string" }, "self": { "href": "string" } }}Retrieves the descendant subgraph for a specific task, with the requested task as the root vertex. Traverses child relationships breadth-first down to the depth specified by level. Use this to identify all downstream tasks that will be triggered when this task completes.
Facts
| Rate limit | Tier 1 (1000 requests per minute) |
Query Parameters
- levelinteger
Maximum descendant depth to traverse breadth-first.
- withTaskboolean
When
true, includes the full task document for each accessible vertex in the response.
Path Parameters
- idstringRequired
The unique identifier of the task.
Responses
200
Descendant graph retrieved successfully.
- application/jsonobject
application/json properties
- edgesarray of objects
edges properties
- attrsobject
- sourcestring
- targetstring
-
- taskIdstring
- verticesarray of objects
vertices properties
- taskobject
task properties
- idstring
The unique identifier assigned to the task by the service.
- keystring
An optional expression used to generate a domain-specific workflow instance identifier.
- namestringRequiredFilterable
The name that identifies the workflow definition. Combined with
version, the name forms a unique identifier for the task. - startobject
The start definition for a workflow, including optional schedule configuration.
One of:- object
A scheduled workflow start definition.
properties
- schedulestring|objectRequiredOne of:
- string
A repeating time interval in ISO 8601 format that defines when workflow instances are automatically created. UTC timezone is assumed.
- object
A structured schedule definition with optional recurrence, date range, and timezone.
One of:- any
- any
-
-
- stateNamestring
The name of the starting workflow state.
-
-
- eventsarray of objects
CloudEvent definitions for the workflow. Defines the events that can be consumed or produced by the workflow.
events properties
- namestring
A unique name identifying this event definition within the workflow.
- typestring
The CloudEvents type attribute identifying the kind of event.
Can be one of: "com.qlik.v1.task.run.finished""com.qlik/active-analytics-orch"
- sourcestring
The CloudEvents source attribute identifying the origin of the event.
Can be one of: "system-events.task""dataset.updated"
- dataOnlyboolean
When
true, only the event payload is accessible to consuming workflow states. Whenfalse, both the payload and context attributes are accessible. - correlationarray of objects
Correlation definitions used to match incoming CloudEvents to this workflow instance.
correlation properties
- contextAttributeNamestringRequired
The name of the CloudEvent extension context attribute to match on.
Can be one of: "id""status""appId""spaceId""datasetId"
- contextAttributeValuestring
The expected value of the CloudEvent extension context attribute.
-
-
- statesarray of objects
The list of state definitions that compose the workflow.
One of:- any
- any
-
- enabledboolean
Indicates whether the task is enabled. Disabled tasks will not trigger automatically.
- versionstring
The semantic version of the workflow definition.
- metadataobject
metadata properties
- usagestring
The product domain in which the resource is used. Defaults to
ANALYTICSwhen not present.Can be one of: "ANALYTICS""DATA_PREPARATION""DATAFLOW_PREP""SINGLE_TABLE_PREP"
- ownerIdstring
The user ID of the task owner.
- spaceIdstring
The unique identifier of the space the task operates in.
- triggerobject
trigger properties
- idstringRequired
The unique identifier of the trigger associated with this task.
- typeintegerRequired
The type identifier of the trigger associated with this task.
Can be one of: 01234
-
- tenantIdstring
The unique identifier of the tenant the task operates in.
- topologyobject
Indicates the task's position in a dependency graph.
topology properties
- isChildboolean
When
true, this task is triggered by one or more parent tasks. - isParentboolean
When
true, this task has one or more downstream dependent tasks.
-
- createdAtstring
The UTC timestamp when the task was created.
- createdBystring
The user ID of the user who created the task.
- deletedAtstring
The UTC timestamp when the task was deleted.
- spaceTypestring
The type of space the task operates in.
Can be one of: "personal""shared""managed"
- updatedAtstring
The UTC timestamp when the task was last updated.
- disabledCodestring
The reason the task is currently disabled.
Can be one of: "MANUALLY""CONSECUTIVE-FAILURES""APP-SCRIPT-UPDATED""OWNER-DELETED""OWNER-DISABLED""APP-MOVED-SPACE""OWNER-MOVED"
- migratedFromstring
The unique identifier of the legacy reload task this task was migrated from, if applicable.
- resourceNamestring
The name of the resource on which the task was created.
- resourceTypestring
The type of resource on which the task was created.
- orchestrationobject
orchestration properties
- idstringRequired
The unique identifier of the orchestration instance associated with this task in the scheduling service.
- typeintegerRequired
The type identifier of the orchestration system handling this task.
Can be one of: 0123
- attrsobject
Additional attributes of the orchestration instance associated with this task in the scheduling service.
- lastRunobject
lastRun properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- endedAtstring
The UTC timestamp when the task run ended.
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- startedAtstring
The UTC timestamp when the task run started.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
-
-
- scriptOwnerIdstring
The user ID of the owner whose script context is used when running the task.
- resourceSubTypestring
The subtype of resource on which the task was created.
-
- keepActiveboolean
When
true, workflow instances are not terminated when there are no active execution paths. Instances can be ended via a terminate end definition or a configuredworkflowExecTimeout. - resourceIdstring
The unique identifier of the resource this task operates on. The value supplied in a request body is ignored and is derived automatically from
states. - annotationsarray of strings
A list of terms describing the workflow's intended purpose, subject areas, or other important qualities.
- descriptionstring
A human-readable description of the workflow's purpose.
- specVersionstringRequired
The Serverless Workflow specification version used by this task.
-
- attrsobject
- taskIdstring
-
-
400
The request is malformed or contains invalid parameters.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
401
Authentication credentials are missing or invalid.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
403
Access denied. You lack permission to perform this operation.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
404
The requested resource was not found.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
500
An unexpected error occurred on the server.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
503
The service is temporarily unavailable. Retry the request after a short delay.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
// qlik-api has not implemented support for `GET /api/scheduling/tasks/{id}/graphs/descendants` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/scheduling/tasks/{id}/graphs/descendants', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)qlik scheduling task graph descendant ls 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/scheduling/tasks/{id}/graphs/descendants" \-H "Authorization: Bearer <access_token>"Example Response
{ "edges": [ { "attrs": { "depth": 1 }, "source": "22222222-2222-2222-2222-222222222222", "target": "11111111-1111-1111-1111-111111111111" } ], "taskId": "11111111-1111-1111-1111-111111111111", "vertices": [ { "attrs": { "depth": 0, "isChild": false, "isParent": true }, "taskId": "11111111-1111-1111-1111-111111111111" }, { "attrs": { "depth": 1, "isChild": true, "isParent": false }, "taskId": "22222222-2222-2222-2222-222222222222" } ]}Retrieves a paginated list of tasks that are direct parents of the specified task in the dependency graph. A parent task is one whose completion triggers the current task.
Facts
| Rate limit | Tier 1 (1000 requests per minute) |
Query Parameters
- filterstring
Advanced filter expression using RFC 7644 SCIM syntax. Refer to RFC 7644 for syntax details. All comparisons are case-insensitive. Supported fields:
name,enabled,resourceId,ownerId,spaceId,createdAt,updatedAt,updatedBy,lastStatus,lastTriggeredBy,lastStartedAt,lastEndedAt,lastExecutedAs, andtriggerType. - limitinteger
Maximum number of tasks to return per page.
- pagestring
Cursor token for fetching the next page of results.
- sortstring
Field and direction to sort results by. Prefix the field name with
+for ascending or-for descending order. Defaults to-updatedAt.Can be one of: "+createdAt""-createdAt""+enabled""-enabled""+name""-name""+ownerId""-ownerId""+resourceId""-resourceId""+spaceId""-spaceId""+updatedAt""-updatedAt""+updatedBy""-updatedBy""+lastStatus""-lastStatus""+lastTriggeredBy""-lastTriggeredBy""+lastStartedAt""-lastStartedAt""+lastEndedAt""-lastEndedAt""+lastExecutedAs""-lastExecutedAs""+triggerType""-triggerType"
Path Parameters
- idstringRequired
The unique identifier of the child task.
Responses
200
Parent tasks retrieved successfully.
- application/jsonobject
application/json properties
- dataarray of objects
data properties
- idstring
The unique identifier assigned to the task by the service.
- keystring
An optional expression used to generate a domain-specific workflow instance identifier.
- namestringRequiredFilterable
The name that identifies the workflow definition. Combined with
version, the name forms a unique identifier for the task. - startobject
The start definition for a workflow, including optional schedule configuration.
One of:- object
A scheduled workflow start definition.
properties
- schedulestring|objectRequiredOne of:
- string
A repeating time interval in ISO 8601 format that defines when workflow instances are automatically created. UTC timezone is assumed.
- object
A structured schedule definition with optional recurrence, date range, and timezone.
One of:- any
- any
-
-
- stateNamestring
The name of the starting workflow state.
-
-
- eventsarray of objects
CloudEvent definitions for the workflow. Defines the events that can be consumed or produced by the workflow.
events properties
- namestring
A unique name identifying this event definition within the workflow.
- typestring
The CloudEvents type attribute identifying the kind of event.
Can be one of: "com.qlik.v1.task.run.finished""com.qlik/active-analytics-orch"
- sourcestring
The CloudEvents source attribute identifying the origin of the event.
Can be one of: "system-events.task""dataset.updated"
- dataOnlyboolean
When
true, only the event payload is accessible to consuming workflow states. Whenfalse, both the payload and context attributes are accessible. - correlationarray of objects
Correlation definitions used to match incoming CloudEvents to this workflow instance.
correlation properties
- contextAttributeNamestringRequired
The name of the CloudEvent extension context attribute to match on.
Can be one of: "id""status""appId""spaceId""datasetId"
- contextAttributeValuestring
The expected value of the CloudEvent extension context attribute.
-
-
- statesarray of objects
The list of state definitions that compose the workflow.
One of:- any
- any
-
- enabledboolean
Indicates whether the task is enabled. Disabled tasks will not trigger automatically.
- versionstring
The semantic version of the workflow definition.
- metadataobject
metadata properties
- usagestring
The product domain in which the resource is used. Defaults to
ANALYTICSwhen not present.Can be one of: "ANALYTICS""DATA_PREPARATION""DATAFLOW_PREP""SINGLE_TABLE_PREP"
- ownerIdstring
The user ID of the task owner.
- spaceIdstring
The unique identifier of the space the task operates in.
- triggerobject
trigger properties
- idstringRequired
The unique identifier of the trigger associated with this task.
- typeintegerRequired
The type identifier of the trigger associated with this task.
Can be one of: 01234
-
- tenantIdstring
The unique identifier of the tenant the task operates in.
- topologyobject
Indicates the task's position in a dependency graph.
topology properties
- isChildboolean
When
true, this task is triggered by one or more parent tasks. - isParentboolean
When
true, this task has one or more downstream dependent tasks.
-
- createdAtstring
The UTC timestamp when the task was created.
- createdBystring
The user ID of the user who created the task.
- deletedAtstring
The UTC timestamp when the task was deleted.
- spaceTypestring
The type of space the task operates in.
Can be one of: "personal""shared""managed"
- updatedAtstring
The UTC timestamp when the task was last updated.
- disabledCodestring
The reason the task is currently disabled.
Can be one of: "MANUALLY""CONSECUTIVE-FAILURES""APP-SCRIPT-UPDATED""OWNER-DELETED""OWNER-DISABLED""APP-MOVED-SPACE""OWNER-MOVED"
- migratedFromstring
The unique identifier of the legacy reload task this task was migrated from, if applicable.
- resourceNamestring
The name of the resource on which the task was created.
- resourceTypestring
The type of resource on which the task was created.
- orchestrationobject
orchestration properties
- idstringRequired
The unique identifier of the orchestration instance associated with this task in the scheduling service.
- typeintegerRequired
The type identifier of the orchestration system handling this task.
Can be one of: 0123
- attrsobject
Additional attributes of the orchestration instance associated with this task in the scheduling service.
- lastRunobject
lastRun properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- endedAtstring
The UTC timestamp when the task run ended.
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- startedAtstring
The UTC timestamp when the task run started.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
-
-
- scriptOwnerIdstring
The user ID of the owner whose script context is used when running the task.
- resourceSubTypestring
The subtype of resource on which the task was created.
-
- keepActiveboolean
When
true, workflow instances are not terminated when there are no active execution paths. Instances can be ended via a terminate end definition or a configuredworkflowExecTimeout. - resourceIdstring
The unique identifier of the resource this task operates on. The value supplied in a request body is ignored and is derived automatically from
states. - annotationsarray of strings
A list of terms describing the workflow's intended purpose, subject areas, or other important qualities.
- descriptionstring
A human-readable description of the workflow's purpose.
- specVersionstringRequired
The Serverless Workflow specification version used by this task.
-
- linksobject
links properties
- nextobject
next properties
- hrefstringRequired
The URL of the linked resource.
-
- prevobject
prev properties
- hrefstringRequired
The URL of the linked resource.
-
- selfobject
self properties
- hrefstringRequired
The URL of the linked resource.
-
-
-
400
The request is malformed or contains invalid parameters.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
401
Authentication credentials are missing or invalid.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
403
Access denied. You lack permission to perform this operation.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
404
The requested resource was not found.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
500
An unexpected error occurred on the server.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
503
The service is temporarily unavailable. Retry the request after a short delay.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
// qlik-api has not implemented support for `GET /api/scheduling/tasks/{id}/graphs/parents` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/scheduling/tasks/{id}/graphs/parents', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)qlik scheduling task graph parent ls 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/scheduling/tasks/{id}/graphs/parents" \-H "Authorization: Bearer <access_token>"Example Response
{ "data": [ { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "name": "TaskExample", "events": [ { "name": "event1", "type": "com.qlik/active-analytics-orch", "source": "dataset.updated", "correlation": [ { "contextAttributeName": "appId", "contextAttributeValue": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } ] } ], "states": [ { "end": true, "name": "Reload", "type": "event", "onEvents": [ { "actions": [ { "name": "app.reload", "functionRef": { "refName": "app.reload", "arguments": { "appId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "partial": false } } } ], "eventRefs": [ "app1-dataset-updated" ] } ], "exclusive": false } ], "enabled": true, "version": "1.0.0", "metadata": { "usage": "ANALYTICS", "ownerId": 0, "spaceId": "", "trigger": { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "type": 4 }, "tenantId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "createdAt": "2025-08-31T23:22:27.929Z", "createdBy": 0, "updatedAt": "2025-08-31T23:27:51.207Z", "orchestration": { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "type": 3, "attrs": { "last_run_status": "SUCCEEDED", "last_run_endedAt": "2025-08-31T23:28:06Z", "last_run_startedAt": "2025-08-31T23:28:04Z", "last_run_worker_type": "reloads" } } }, "keepActive": false, "resourceId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "description": "this is an example of task response", "specVersion": "1.16.0" } ], "links": { "next": { "href": "string" }, "prev": { "href": "string" }, "self": { "href": "string" } }}Retrieves the combined ancestor-and-descendant subgraph for a specific task, with the requested task as the root vertex. Traverses both parent and child relationships breadth-first up to the depth specified by level. Use this to see the full dependency context for a task in one request.
Facts
| Rate limit | Tier 1 (1000 requests per minute) |
Query Parameters
- levelinteger
Maximum ancestor and descendant depth to traverse breadth-first.
- withTaskboolean
When
true, includes the full task document for each accessible vertex in the response.
Path Parameters
- idstringRequired
The unique identifier of the task.
Responses
200
Task subgraph retrieved successfully.
- application/jsonobject
application/json properties
- edgesarray of objects
edges properties
- attrsobject
- sourcestring
- targetstring
-
- taskIdstring
- verticesarray of objects
vertices properties
- taskobject
task properties
- idstring
The unique identifier assigned to the task by the service.
- keystring
An optional expression used to generate a domain-specific workflow instance identifier.
- namestringRequiredFilterable
The name that identifies the workflow definition. Combined with
version, the name forms a unique identifier for the task. - startobject
The start definition for a workflow, including optional schedule configuration.
One of:- object
A scheduled workflow start definition.
properties
- schedulestring|objectRequiredOne of:
- string
A repeating time interval in ISO 8601 format that defines when workflow instances are automatically created. UTC timezone is assumed.
- object
A structured schedule definition with optional recurrence, date range, and timezone.
One of:- any
- any
-
-
- stateNamestring
The name of the starting workflow state.
-
-
- eventsarray of objects
CloudEvent definitions for the workflow. Defines the events that can be consumed or produced by the workflow.
events properties
- namestring
A unique name identifying this event definition within the workflow.
- typestring
The CloudEvents type attribute identifying the kind of event.
Can be one of: "com.qlik.v1.task.run.finished""com.qlik/active-analytics-orch"
- sourcestring
The CloudEvents source attribute identifying the origin of the event.
Can be one of: "system-events.task""dataset.updated"
- dataOnlyboolean
When
true, only the event payload is accessible to consuming workflow states. Whenfalse, both the payload and context attributes are accessible. - correlationarray of objects
Correlation definitions used to match incoming CloudEvents to this workflow instance.
correlation properties
- contextAttributeNamestringRequired
The name of the CloudEvent extension context attribute to match on.
Can be one of: "id""status""appId""spaceId""datasetId"
- contextAttributeValuestring
The expected value of the CloudEvent extension context attribute.
-
-
- statesarray of objects
The list of state definitions that compose the workflow.
One of:- any
- any
-
- enabledboolean
Indicates whether the task is enabled. Disabled tasks will not trigger automatically.
- versionstring
The semantic version of the workflow definition.
- metadataobject
metadata properties
- usagestring
The product domain in which the resource is used. Defaults to
ANALYTICSwhen not present.Can be one of: "ANALYTICS""DATA_PREPARATION""DATAFLOW_PREP""SINGLE_TABLE_PREP"
- ownerIdstring
The user ID of the task owner.
- spaceIdstring
The unique identifier of the space the task operates in.
- triggerobject
trigger properties
- idstringRequired
The unique identifier of the trigger associated with this task.
- typeintegerRequired
The type identifier of the trigger associated with this task.
Can be one of: 01234
-
- tenantIdstring
The unique identifier of the tenant the task operates in.
- topologyobject
Indicates the task's position in a dependency graph.
topology properties
- isChildboolean
When
true, this task is triggered by one or more parent tasks. - isParentboolean
When
true, this task has one or more downstream dependent tasks.
-
- createdAtstring
The UTC timestamp when the task was created.
- createdBystring
The user ID of the user who created the task.
- deletedAtstring
The UTC timestamp when the task was deleted.
- spaceTypestring
The type of space the task operates in.
Can be one of: "personal""shared""managed"
- updatedAtstring
The UTC timestamp when the task was last updated.
- disabledCodestring
The reason the task is currently disabled.
Can be one of: "MANUALLY""CONSECUTIVE-FAILURES""APP-SCRIPT-UPDATED""OWNER-DELETED""OWNER-DISABLED""APP-MOVED-SPACE""OWNER-MOVED"
- migratedFromstring
The unique identifier of the legacy reload task this task was migrated from, if applicable.
- resourceNamestring
The name of the resource on which the task was created.
- resourceTypestring
The type of resource on which the task was created.
- orchestrationobject
orchestration properties
- idstringRequired
The unique identifier of the orchestration instance associated with this task in the scheduling service.
- typeintegerRequired
The type identifier of the orchestration system handling this task.
Can be one of: 0123
- attrsobject
Additional attributes of the orchestration instance associated with this task in the scheduling service.
- lastRunobject
lastRun properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- endedAtstring
The UTC timestamp when the task run ended.
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- startedAtstring
The UTC timestamp when the task run started.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
-
-
- scriptOwnerIdstring
The user ID of the owner whose script context is used when running the task.
- resourceSubTypestring
The subtype of resource on which the task was created.
-
- keepActiveboolean
When
true, workflow instances are not terminated when there are no active execution paths. Instances can be ended via a terminate end definition or a configuredworkflowExecTimeout. - resourceIdstring
The unique identifier of the resource this task operates on. The value supplied in a request body is ignored and is derived automatically from
states. - annotationsarray of strings
A list of terms describing the workflow's intended purpose, subject areas, or other important qualities.
- descriptionstring
A human-readable description of the workflow's purpose.
- specVersionstringRequired
The Serverless Workflow specification version used by this task.
-
- attrsobject
- taskIdstring
-
-
400
The request is malformed or contains invalid parameters.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
401
Authentication credentials are missing or invalid.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
403
Access denied. You lack permission to perform this operation.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
404
The requested resource was not found.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
500
An unexpected error occurred on the server.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
503
The service is temporarily unavailable. Retry the request after a short delay.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
// qlik-api has not implemented support for `GET /api/scheduling/tasks/{id}/graphs/subgraph` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/scheduling/tasks/{id}/graphs/subgraph', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)qlik scheduling task graph subgraph 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/scheduling/tasks/{id}/graphs/subgraph" \-H "Authorization: Bearer <access_token>"Example Response
{ "edges": [ { "attrs": { "depth": 1 }, "source": "22222222-2222-2222-2222-222222222222", "target": "11111111-1111-1111-1111-111111111111" } ], "taskId": "11111111-1111-1111-1111-111111111111", "vertices": [ { "attrs": { "depth": 0, "isChild": false, "isParent": true }, "taskId": "11111111-1111-1111-1111-111111111111" }, { "attrs": { "depth": 1, "isChild": true, "isParent": false }, "taskId": "22222222-2222-2222-2222-222222222222" } ]}Retrieves a paginated list of execution runs for the specified task, ordered by most recent run by default. Each run record includes the start and end time, status, and the identity that triggered it.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | |
| Replaces |
Query Parameters
- limitinteger
Maximum number of task runs to return per page.
- pagestring
Cursor token for fetching the next page of results.
- sortstring
Field and direction to sort results by. Prefix the field name with
+for ascending or-for descending order. Defaults to-startedAt.Can be one of: "+startedAt""-startedAt""+endedAt""-endedAt""+status""-status""+taskId""-taskId""+actionId""-actionId"
Path Parameters
- idstringRequired
The unique identifier of the task.
Responses
200
Task runs retrieved successfully.
- application/jsonobject
application/json properties
- dataarray of objects
data properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- endedAtstring
The UTC timestamp when the task run ended.
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- startedAtstring
The UTC timestamp when the task run started.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
- logstring
The raw log output from the task run.
- taskIdstringRequired
The unique identifier of the task.
- actionIdstringRequired
The unique identifier of the action that was executed.
- taskMetaobjectRequired
taskMeta properties
- usagestring
The product domain in which the resource is used. Defaults to
ANALYTICSwhen not present.Can be one of: "ANALYTICS""DATA_PREPARATION""DATAFLOW_PREP""SINGLE_TABLE_PREP"
- ownerIdstring
The user ID of the task owner.
- spaceIdstring
The unique identifier of the space the task operates in.
- triggerobject
trigger properties
- idstringRequired
The unique identifier of the trigger associated with this task.
- typeintegerRequired
The type identifier of the trigger associated with this task.
Can be one of: 01234
-
- tenantIdstring
The unique identifier of the tenant the task operates in.
- topologyobject
Indicates the task's position in a dependency graph.
topology properties
- isChildboolean
When
true, this task is triggered by one or more parent tasks. - isParentboolean
When
true, this task has one or more downstream dependent tasks.
-
- createdAtstring
The UTC timestamp when the task was created.
- createdBystring
The user ID of the user who created the task.
- deletedAtstring
The UTC timestamp when the task was deleted.
- spaceTypestring
The type of space the task operates in.
Can be one of: "personal""shared""managed"
- updatedAtstring
The UTC timestamp when the task was last updated.
- disabledCodestring
The reason the task is currently disabled.
Can be one of: "MANUALLY""CONSECUTIVE-FAILURES""APP-SCRIPT-UPDATED""OWNER-DELETED""OWNER-DISABLED""APP-MOVED-SPACE""OWNER-MOVED"
- migratedFromstring
The unique identifier of the legacy reload task this task was migrated from, if applicable.
- resourceNamestring
The name of the resource on which the task was created.
- resourceTypestring
The type of resource on which the task was created.
- orchestrationobject
orchestration properties
- idstringRequired
The unique identifier of the orchestration instance associated with this task in the scheduling service.
- typeintegerRequired
The type identifier of the orchestration system handling this task.
Can be one of: 0123
- attrsobject
Additional attributes of the orchestration instance associated with this task in the scheduling service.
- lastRunobject
lastRun properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- endedAtstring
The UTC timestamp when the task run ended.
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- startedAtstring
The UTC timestamp when the task run started.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
-
-
- scriptOwnerIdstring
The user ID of the owner whose script context is used when running the task.
- resourceSubTypestring
The subtype of resource on which the task was created.
-
- taskNamestringRequired
The name of the task at the time it was run.
- resourceIdstringRequired
The unique identifier of the resource the task operated on.
-
- linksobject
links properties
- nextobject
next properties
- hrefstringRequired
The URL of the linked resource.
-
- prevobject
prev properties
- hrefstringRequired
The URL of the linked resource.
-
- selfobject
self properties
- hrefstringRequired
The URL of the linked resource.
-
-
-
400
The request is malformed or contains invalid parameters.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
401
Authentication credentials are missing or invalid.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
403
Access denied. You lack permission to perform this operation.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
404
The requested resource was not found.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
500
An unexpected error occurred on the server.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
503
The service is temporarily unavailable. Retry the request after a short delay.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
// qlik-api has not implemented support for `GET /api/scheduling/tasks/{id}/runs` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/scheduling/tasks/{id}/runs', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)qlik scheduling task run ls 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/scheduling/tasks/{id}/runs" \-H "Authorization: Bearer <access_token>"Example Response
{ "data": [ { "id": "0c42b269-51d4-453a-a8ea-55734d209aa9", "status": "SUCCEEDED", "endedAt": "2018-03-20T09:12:28Z", "workerId": "550e8400-e29b-41d4-a716-446655440000", "startedAt": "2018-03-20T09:12:28Z", "executedAs": "z1w_5hWRq-wIxXON_slIRrsF0YxpYjA", "workerType": "reloads", "triggeredBy": "manual", "log": "string", "taskId": "string", "actionId": "string", "taskMeta": { "usage": "ANALYTICS", "ownerId": "z1w_5hWRq-wIxXON_slIRrsF0YxpYjA", "spaceId": "434f9f7c-4eeb-43f0-8f08-88b91f357c07", "trigger": { "id": "0c42b269-51d4-453a-a8ea-55734d209aa9", "type": 1 }, "tenantId": "rpxzti_ptV0RS4eGPSsaI0SCKl-6h2a", "topology": { "isChild": false, "isParent": true }, "createdAt": "2018-03-20T09:12:28Z", "createdBy": "LP_LlaXYhUUWMr5csy8pFfTHecXePH5Z", "deletedAt": "2018-03-20T09:12:28Z", "spaceType": "shared", "updatedAt": "2018-03-20T09:12:28Z", "disabledCode": "MANUALLY", "migratedFrom": "c7dba73-dd5a-4725-9dd2-8bd9c8d126d7", "resourceName": "sample app", "resourceType": "app", "orchestration": { "id": "0c42b269-51d4-453a-a8ea-55734d209aa9", "type": 3, "attrs": { "last_run_status": "SUCCEEDED", "last_run_worker_type": "reloads" }, "lastRun": { "id": "0c42b269-51d4-453a-a8ea-55734d209aa9", "status": "SUCCEEDED", "endedAt": "2018-03-20T09:12:28Z", "workerId": "550e8400-e29b-41d4-a716-446655440000", "startedAt": "2018-03-20T09:12:28Z", "executedAs": "z1w_5hWRq-wIxXON_slIRrsF0YxpYjA", "workerType": "reloads", "triggeredBy": "manual" } }, "scriptOwnerId": "z1w_5hWRq-wIxXON_slIRrsF0YxpYjA", "resourceSubType": "script" }, "taskName": "string", "resourceId": "string" } ], "links": { "next": { "href": "string" }, "prev": { "href": "string" }, "self": { "href": "string" } }}Retrieves the execution log for a specific task run. Set the Accept header to text/plain to receive the raw log as a downloadable file, or application/json (default) to receive it wrapped in a JSON object with a logContent field.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | |
| Replaces |
Header Parameters
- Acceptstring
The preferred response format for the log content.
Can be one of: "application/json""text/plain"
Path Parameters
- idstringRequired
The unique identifier of the task.
- runIdstringRequired
The unique identifier of the task run.
Responses
200
Task run log retrieved successfully.
- text/plainobject
text/plain properties
- logContentstring
-
200
Task run log retrieved successfully.
- application/jsonobject
application/json properties
- logContentstring
Log content in plain text format.
-
400
The request is malformed or contains invalid parameters.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
401
Authentication credentials are missing or invalid.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
403
Access denied. You lack permission to perform this operation.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
404
The requested resource was not found.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
500
An unexpected error occurred on the server.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
503
The service is temporarily unavailable. Retry the request after a short delay.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
// qlik-api has not implemented support for `GET /api/scheduling/tasks/{id}/runs/{runId}/log` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/scheduling/tasks/{id}/runs/{runId}/log', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)qlik scheduling task run log \ --taskId 'string' \ --runId 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/scheduling/tasks/{id}/runs/{runId}/log" \-H "Authorization: Bearer <access_token>"Example Response
[object Object]Retrieves the most recent execution run for the specified task. Returns a 404 response if the task has never been run. Use this operation to quickly check whether the last run succeeded or failed without paginating through the full run history.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | |
| Replaces |
Path Parameters
- idstringRequired
The unique identifier of the task.
Responses
200
Last task run retrieved successfully.
- application/jsonobject
application/json properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- endedAtstring
The UTC timestamp when the task run ended.
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- startedAtstring
The UTC timestamp when the task run started.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
- logstring
The raw log output from the task run.
- taskIdstringRequired
The unique identifier of the task.
- actionIdstringRequired
The unique identifier of the action that was executed.
- taskMetaobjectRequired
taskMeta properties
- usagestring
The product domain in which the resource is used. Defaults to
ANALYTICSwhen not present.Can be one of: "ANALYTICS""DATA_PREPARATION""DATAFLOW_PREP""SINGLE_TABLE_PREP"
- ownerIdstring
The user ID of the task owner.
- spaceIdstring
The unique identifier of the space the task operates in.
- triggerobject
trigger properties
- idstringRequired
The unique identifier of the trigger associated with this task.
- typeintegerRequired
The type identifier of the trigger associated with this task.
Can be one of: 01234
-
- tenantIdstring
The unique identifier of the tenant the task operates in.
- topologyobject
Indicates the task's position in a dependency graph.
topology properties
- isChildboolean
When
true, this task is triggered by one or more parent tasks. - isParentboolean
When
true, this task has one or more downstream dependent tasks.
-
- createdAtstring
The UTC timestamp when the task was created.
- createdBystring
The user ID of the user who created the task.
- deletedAtstring
The UTC timestamp when the task was deleted.
- spaceTypestring
The type of space the task operates in.
Can be one of: "personal""shared""managed"
- updatedAtstring
The UTC timestamp when the task was last updated.
- disabledCodestring
The reason the task is currently disabled.
Can be one of: "MANUALLY""CONSECUTIVE-FAILURES""APP-SCRIPT-UPDATED""OWNER-DELETED""OWNER-DISABLED""APP-MOVED-SPACE""OWNER-MOVED"
- migratedFromstring
The unique identifier of the legacy reload task this task was migrated from, if applicable.
- resourceNamestring
The name of the resource on which the task was created.
- resourceTypestring
The type of resource on which the task was created.
- orchestrationobject
orchestration properties
- idstringRequired
The unique identifier of the orchestration instance associated with this task in the scheduling service.
- typeintegerRequired
The type identifier of the orchestration system handling this task.
Can be one of: 0123
- attrsobject
Additional attributes of the orchestration instance associated with this task in the scheduling service.
- lastRunobject
lastRun properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- endedAtstring
The UTC timestamp when the task run ended.
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- startedAtstring
The UTC timestamp when the task run started.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
-
-
- scriptOwnerIdstring
The user ID of the owner whose script context is used when running the task.
- resourceSubTypestring
The subtype of resource on which the task was created.
-
- taskNamestringRequired
The name of the task at the time it was run.
- resourceIdstringRequired
The unique identifier of the resource the task operated on.
-
400
The request is malformed or contains invalid parameters.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
401
Authentication credentials are missing or invalid.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
403
Access denied. You lack permission to perform this operation.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
404
The requested resource was not found.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
500
An unexpected error occurred on the server.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
503
The service is temporarily unavailable. Retry the request after a short delay.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
// qlik-api has not implemented support for `GET /api/scheduling/tasks/{id}/runs/last` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/scheduling/tasks/{id}/runs/last', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)qlik scheduling task run last 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/scheduling/tasks/{id}/runs/last" \-H "Authorization: Bearer <access_token>"Example Response
{ "id": "0c42b269-51d4-453a-a8ea-55734d209aa9", "status": "SUCCEEDED", "endedAt": "2018-03-20T09:12:28Z", "workerId": "550e8400-e29b-41d4-a716-446655440000", "startedAt": "2018-03-20T09:12:28Z", "executedAs": "z1w_5hWRq-wIxXON_slIRrsF0YxpYjA", "workerType": "reloads", "triggeredBy": "manual", "log": "string", "taskId": "string", "actionId": "string", "taskMeta": { "usage": "ANALYTICS", "ownerId": "z1w_5hWRq-wIxXON_slIRrsF0YxpYjA", "spaceId": "434f9f7c-4eeb-43f0-8f08-88b91f357c07", "trigger": { "id": "0c42b269-51d4-453a-a8ea-55734d209aa9", "type": 1 }, "tenantId": "rpxzti_ptV0RS4eGPSsaI0SCKl-6h2a", "topology": { "isChild": false, "isParent": true }, "createdAt": "2018-03-20T09:12:28Z", "createdBy": "LP_LlaXYhUUWMr5csy8pFfTHecXePH5Z", "deletedAt": "2018-03-20T09:12:28Z", "spaceType": "shared", "updatedAt": "2018-03-20T09:12:28Z", "disabledCode": "MANUALLY", "migratedFrom": "c7dba73-dd5a-4725-9dd2-8bd9c8d126d7", "resourceName": "sample app", "resourceType": "app", "orchestration": { "id": "0c42b269-51d4-453a-a8ea-55734d209aa9", "type": 3, "attrs": { "last_run_status": "SUCCEEDED", "last_run_worker_type": "reloads" }, "lastRun": { "id": "0c42b269-51d4-453a-a8ea-55734d209aa9", "status": "SUCCEEDED", "endedAt": "2018-03-20T09:12:28Z", "workerId": "550e8400-e29b-41d4-a716-446655440000", "startedAt": "2018-03-20T09:12:28Z", "executedAs": "z1w_5hWRq-wIxXON_slIRrsF0YxpYjA", "workerType": "reloads", "triggeredBy": "manual" } }, "scriptOwnerId": "z1w_5hWRq-wIxXON_slIRrsF0YxpYjA", "resourceSubType": "script" }, "taskName": "string", "resourceId": "string"}Retrieves a paginated list of task runs for a given resource, identified by id. Returns run history across all tasks associated with that resource, ordered by the most recent run by default.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | |
| Replaces |
Query Parameters
- limitinteger
Maximum number of task runs to return per page.
- pagestring
Cursor token for fetching the next page of results.
- sortstring
Field and direction to sort results by. Prefix the field name with
+for ascending or-for descending order. Defaults to-startedAt.Can be one of: "+startedAt""-startedAt""+endedAt""-endedAt""+status""-status""+taskId""-taskId""+actionId""-actionId"
Path Parameters
- idstringRequired
The unique identifier of the resource to retrieve task runs for.
Responses
200
Task runs retrieved successfully.
- application/jsonobject
application/json properties
- dataarray of objects
data properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- endedAtstring
The UTC timestamp when the task run ended.
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- startedAtstring
The UTC timestamp when the task run started.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
- logstring
The raw log output from the task run.
- taskIdstringRequired
The unique identifier of the task.
- actionIdstringRequired
The unique identifier of the action that was executed.
- taskMetaobjectRequired
taskMeta properties
- usagestring
The product domain in which the resource is used. Defaults to
ANALYTICSwhen not present.Can be one of: "ANALYTICS""DATA_PREPARATION""DATAFLOW_PREP""SINGLE_TABLE_PREP"
- ownerIdstring
The user ID of the task owner.
- spaceIdstring
The unique identifier of the space the task operates in.
- triggerobject
trigger properties
- idstringRequired
The unique identifier of the trigger associated with this task.
- typeintegerRequired
The type identifier of the trigger associated with this task.
Can be one of: 01234
-
- tenantIdstring
The unique identifier of the tenant the task operates in.
- topologyobject
Indicates the task's position in a dependency graph.
topology properties
- isChildboolean
When
true, this task is triggered by one or more parent tasks. - isParentboolean
When
true, this task has one or more downstream dependent tasks.
-
- createdAtstring
The UTC timestamp when the task was created.
- createdBystring
The user ID of the user who created the task.
- deletedAtstring
The UTC timestamp when the task was deleted.
- spaceTypestring
The type of space the task operates in.
Can be one of: "personal""shared""managed"
- updatedAtstring
The UTC timestamp when the task was last updated.
- disabledCodestring
The reason the task is currently disabled.
Can be one of: "MANUALLY""CONSECUTIVE-FAILURES""APP-SCRIPT-UPDATED""OWNER-DELETED""OWNER-DISABLED""APP-MOVED-SPACE""OWNER-MOVED"
- migratedFromstring
The unique identifier of the legacy reload task this task was migrated from, if applicable.
- resourceNamestring
The name of the resource on which the task was created.
- resourceTypestring
The type of resource on which the task was created.
- orchestrationobject
orchestration properties
- idstringRequired
The unique identifier of the orchestration instance associated with this task in the scheduling service.
- typeintegerRequired
The type identifier of the orchestration system handling this task.
Can be one of: 0123
- attrsobject
Additional attributes of the orchestration instance associated with this task in the scheduling service.
- lastRunobject
lastRun properties
- idstringRequired
The unique identifier of the task run.
- statusstringRequired
The current status of the task run.
Can be one of: "RUNNING""SUCCEEDED""FAILED"
- endedAtstring
The UTC timestamp when the task run ended.
- workerIdstringRequired
The unique identifier of the worker that executed the job. For example, a reload run carries the reload ID from the engine, and an automation run carries the automation run ID.
- startedAtstring
The UTC timestamp when the task run started.
- executedAsstring
The user ID of the user on whose behalf the task was executed.
- workerTypestringRequired
The type or name of the target system that executed the run.
- triggeredBystringRequired
The identity or event that triggered the task run.
-
-
- scriptOwnerIdstring
The user ID of the owner whose script context is used when running the task.
- resourceSubTypestring
The subtype of resource on which the task was created.
-
- taskNamestringRequired
The name of the task at the time it was run.
- resourceIdstringRequired
The unique identifier of the resource the task operated on.
-
- linksobject
links properties
- nextobject
next properties
- hrefstringRequired
The URL of the linked resource.
-
- prevobject
prev properties
- hrefstringRequired
The URL of the linked resource.
-
- selfobject
self properties
- hrefstringRequired
The URL of the linked resource.
-
-
-
400
The request is malformed or contains invalid parameters.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
401
Authentication credentials are missing or invalid.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
403
Access denied. You lack permission to perform this operation.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
404
The requested resource was not found.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
500
An unexpected error occurred on the server.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
503
The service is temporarily unavailable. Retry the request after a short delay.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codeinteger
- innerany
- titlestring
- resultany
- contextstring
- timestampstring
-
- traceIdstring
A trace identifier for correlating the error to a specific service request.
-
// qlik-api has not implemented support for `GET /api/scheduling/tasks/resources/{id}/runs` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/scheduling/tasks/resources/{id}/runs', { method: 'GET', headers: { 'Content-Type': 'application/json', }, },)qlik scheduling task resource-runs 'string'curl "https://{tenant}.{region}.qlikcloud.com/api/scheduling/tasks/resources/{id}/runs" \-H "Authorization: Bearer <access_token>"Example Response
{ "data": [ { "id": "0c42b269-51d4-453a-a8ea-55734d209aa9", "status": "SUCCEEDED", "endedAt": "2018-03-20T09:12:28Z", "workerId": "550e8400-e29b-41d4-a716-446655440000", "startedAt": "2018-03-20T09:12:28Z", "executedAs": "z1w_5hWRq-wIxXON_slIRrsF0YxpYjA", "workerType": "reloads", "triggeredBy": "manual", "log": "string", "taskId": "string", "actionId": "string", "taskMeta": { "usage": "ANALYTICS", "ownerId": "z1w_5hWRq-wIxXON_slIRrsF0YxpYjA", "spaceId": "434f9f7c-4eeb-43f0-8f08-88b91f357c07", "trigger": { "id": "0c42b269-51d4-453a-a8ea-55734d209aa9", "type": 1 }, "tenantId": "rpxzti_ptV0RS4eGPSsaI0SCKl-6h2a", "topology": { "isChild": false, "isParent": true }, "createdAt": "2018-03-20T09:12:28Z", "createdBy": "LP_LlaXYhUUWMr5csy8pFfTHecXePH5Z", "deletedAt": "2018-03-20T09:12:28Z", "spaceType": "shared", "updatedAt": "2018-03-20T09:12:28Z", "disabledCode": "MANUALLY", "migratedFrom": "c7dba73-dd5a-4725-9dd2-8bd9c8d126d7", "resourceName": "sample app", "resourceType": "app", "orchestration": { "id": "0c42b269-51d4-453a-a8ea-55734d209aa9", "type": 3, "attrs": { "last_run_status": "SUCCEEDED", "last_run_worker_type": "reloads" }, "lastRun": { "id": "0c42b269-51d4-453a-a8ea-55734d209aa9", "status": "SUCCEEDED", "endedAt": "2018-03-20T09:12:28Z", "workerId": "550e8400-e29b-41d4-a716-446655440000", "startedAt": "2018-03-20T09:12:28Z", "executedAs": "z1w_5hWRq-wIxXON_slIRrsF0YxpYjA", "workerType": "reloads", "triggeredBy": "manual" } }, "scriptOwnerId": "z1w_5hWRq-wIxXON_slIRrsF0YxpYjA", "resourceSubType": "script" }, "taskName": "string", "resourceId": "string" } ], "links": { "next": { "href": "string" }, "prev": { "href": "string" }, "self": { "href": "string" } }}