v1

latestSwagger 2.02026-07-17221224.2 KB
tasks

Get an existing task

get/tasks/{id}

Path parameters

idstring required

Query parameters

dot-viewstring required

One of labels or attributes. Labels is less readable but will correctly render with all the information contained in labels.

script-formatstring required

One of formatted or raw. Raw will return the script identical to how it was defined. Formatted will first format the script.

replay-idstring

Optional ID of a running replay. The returned task information will be in the context of the task for the running replay.

Response

Task information

idstring

Task ID

typestring

Task type, one of 'stream' or 'batch'

scriptstring

TICKscript content

statusstring

Enabled/Disabled status of the task

dotstring

Graphviz DOT syntax representation of the task DAG

executingboolean

Whether the task is currently executing

{"stackTrail":"components:schemas:Task:properties:error","oasType":"schema","type":"unknown","description":"Any error the task may have encountered while executing"}
createdstring dateTime

Date task was first created

modifiedstring dateTime

Date task was last modified

last-enabledstring dateTime

Date task was last enabled

template-idstring

Template ID

varsobject

Set of vars to overwrite any TICKscript vars.