v1

latestSwagger 2.02026-07-17221224.2 KB
templates

Get an existing template

get/templates/{id}

Path parameters

idstring required

Query parameters

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.

Response

Template information

idstring

Template ID

typestring

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

scriptstring

TICKscript content

varsobject

Set of variables from the TICKscript with their type and default value.

dotstring

Graphviz DOT syntax representation of the template DAG

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

Date template was first created

modifiedstring dateTime

Date template was last modified