Skip to main content

TemplateQuery

One sub-query within a compute TemplateItem. name is the key its rows land under in run(frames) (unique within the item); table_id binds it to the SemanticTable it compiles against; query is the parameterized query-object JSON (QueryMetrics/QueryRows shape per tool) with {{slot}} placeholders.

nameName (string)required
table_idTable Id (string)required
toolTool (string)

Possible values: [metrics, rows]

Default value: metrics
query objectrequired
property name*any
TemplateQuery
{
"name": "string",
"table_id": "string",
"tool": "metrics",
"query": {}
}