Skip to main content
POST
Error

Path Parameters

projectUuid
string
required

Body

application/json

Body of the compile endpoint: the spec plus the parameter values.

mergeQuery
object
required
parameters
object

Construct a type with a set of properties K of type T

Response

Success

results
object
required

What the compile endpoint returns. sql is null exactly when errors is non-empty: a merge that would produce wrong numbers is reported, not run.

A merge runs as a composition: each metric source runs on its own as a leg, and the join runs on the compose engine over the legs' results, which it reads as merge_source_N tables in source order. legs and sql together are the SQL that runs.

status
enum<string>
required
Available options:
ok