← All native models

Native model

report_source

Declare a named report_source value and reference it as report_source.your_name. Models have no separate platform identity or lifecycle.

Topics: ReportsReporting

Fields

One query whose rows become a dataset named after the source. Write MicroSQL or a read-only GraphQL query; parameter values are supplied when the report runs.

object
cursorVariableOptional

GraphQL only: the variable that receives the next page's cursor, so every page is loaded. Needs a resultPath pointing at a connection with edges and pageInfo.

string
kindRequired

The query language.

string
Allowed values
["MICRO_SQL","GRAPHQL"]
nameRequired

Name of the dataset this source produces, used by transforms, outputs and templates. parameters, datasets and reportMeta are reserved.

string
queryRequired
string
Minimum length
0
resultPathOptional

GraphQL only: dot path under data to the rows. Leave it out to use the whole result.

string

Only the fields listed here are accepted.