Skip to main content
POST
Error

Path Parameters

projectUuid
string<uuid>
required

Stringified UUIDv4. See RFC 4112

Pattern: [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}

Body

application/json

Merge execution request for the compose endpoint, which accepts the full MergeQuerySource union (including references to existing query results). A separate endpoint keeps the original merge-query contract untouched for existing clients while compose-only capabilities evolve on their own path.

mergeQuery
object
required
chart
object
mode
object
parameters
object

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

invalidateCache
boolean
context
enum<string>
Available options:
dashboardView,
autorefreshedDashboard,
exploreView,
filterAutocomplete,
chartView,
chartHistory,
sqlChartView,
sqlRunner,
viewUnderlyingData,
alert,
scheduledDelivery,
csvDownload,
gsheets,
scheduledGsheetsChart,
scheduledGsheetsDashboard,
scheduledGsheetsSqlChart,
scheduledChart,
scheduledDashboard,
calculateTotal,
calculateSubtotal,
embed,
ai,
mcp.run_metric_query,
mcp.run_sql,
mcp.search_field_values,
api,
cli,
metricsExplorer,
preAggregateMaterialization,
composeSqlRunner,
multiSourceQuery,
dataAppSample

Response

Success

results
object
required
status
enum<string>
required
Available options:
ok