Analytics
Query Tables
Query tables in a project. use flag to control which type of tables to include.
api-key<token>
In: header
Query Parameters
projectOwner?string
projectSlug?string
projectId?string
version?integer
Format
int32includeChains?boolean
includeViews?boolean
includeExternals?boolean
includeDash?boolean
Response Body
application/json
curl -X GET "https://example.com/v1/analytics/sql/tables"{ "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 }, "tables": { "property1": { "columns": { "property1": { "clickhouseDataType": "string", "columnType": "STRING", "isBuiltin": true, "name": "string" }, "property2": { "clickhouseDataType": "string", "columnType": "STRING", "isBuiltin": true, "name": "string" } }, "name": "string", "relatedProjectId": "string", "tableType": "RESERVED" }, "property2": { "columns": { "property1": { "clickhouseDataType": "string", "columnType": "STRING", "isBuiltin": true, "name": "string" }, "property2": { "clickhouseDataType": "string", "columnType": "STRING", "isBuiltin": true, "name": "string" } }, "name": "string", "relatedProjectId": "string", "tableType": "RESERVED" } }}