POST
/
api
/
v2
/
projects
/
{projectUuid}
/
query
/
sql-chart
{
  "results": {
    "usedParametersValues": {},
    "parameterReferences": [
      "<string>"
    ],
    "cacheMetadata": {
      "cacheHit": true,
      "cacheKey": "<string>",
      "cacheExpiresAt": "2023-11-07T05:31:56Z",
      "cacheUpdatedTime": "2023-11-07T05:31:56Z"
    },
    "queryUuid": "<string>"
  },
  "status": "ok"
}

Path Parameters

projectUuid
string
required

Body

application/json
savedSqlUuid
string
required
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,
scheduledChart,
scheduledDashboard,
calculateTotal,
calculateSubtotal,
embed,
ai,
mcp,
api,
cli,
metricsExplorer
limit
number

Response

Success

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