API ReferenceGuidesChangelog
Analytics

Query SQL Execution Detail

Query the execution detail of a SQL query by execution_id.

GET
/v1/analytics/{owner}/{slug}/sql/query_execution_detail/{executionId}

Authorization

api-key<token>

In: header

Path Parameters

owner*string

username or organization name

slug*string

project slug

executionId*string

Query Parameters

projectId?string

use project id if project_owner and project_slug are not provided

version?integer

version of the datasource, default to the active version if not provided

Formatint32

Response Body

application/json

curl -X GET "https://example.com/v1/analytics/string/string/sql/query_execution_detail/string"
{  "computeStats": {    "binaryVersionHash": "string",    "clickhouseStats": {      "memoryUsage": "string",      "queryDurationMs": "string",      "readBytes": "string",      "readRows": "string",      "resultBytes": "string",      "resultRows": "string"    },    "computeCostMs": "string",    "computedAt": "2019-08-24T14:15:22Z",    "computedBy": "string",    "isCached": true,    "isRefreshing": true  }}