tasks

Create a new task

post/tasks

Request

  • Base URL
    /kapacitor/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Request body

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

errorunknown
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.

Response

Task ID

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

errorunknown
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.

Changes

No recorded changes to this operation across all 9 revisions of this API.