본문으로 건너뛰기

TemplateQuery

One sub-query within a compute TemplateItem. name addresses it in fetch (unique within the item); table_id binds it to the SemanticTable it compiles against; body is the parameterized query-object JSON (QueryMetrics/QueryRows shape per tool) with {{slot}}/{{param}} placeholders. body was query until. A field named query inside a thing the whole stack calls a query — the list is queries, the entry is a "query spec", the errors say "sub-query" — leaves "the query" naming both the entry and its contents, and a caller composing one puts everything in the inner field: measured that for tool (125/164 recorded tool errors) and the table_id addendum measured it again.

nameName (string)필수
table_id object
하나 이상(anyOf)
string
ontology_id object
하나 이상(anyOf)
string
toolTool (string)

Possible values: [metrics, rows, links]

기본값: metrics
body object필수
property name*any
TemplateQuery
{
"name": "string",
"table_id": "string",
"ontology_id": "string",
"tool": "metrics",
"body": {}
}