Skip to main content
POST
Error

Path Parameters

projectUuid
string
required

Body

application/json
queries
object[]
required

One or more source queries, submitted together. Order does not matter: queries are submitted in dependency order (a duckdb query after the queries its references name) and every query starts executing immediately — dependency waiting happens inside the referencing query.

The tagged union every submit endpoint takes: one shape per source, discriminated by sourceType. New sources add a member here — this union is the extension point, not new WarehouseTypes values.

invalidateCache
boolean

Bypass cached results for every query in the submission.

parameters
object

Parameter values shared by every query in the submission, layered over project and explore defaults. A query referencing a parameter with no value refuses rather than running with a placeholder.

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