API ReferenceGuidesChangelog
Analytics

Query Tables

Query tables in a project. use flag to control which type of tables to include.

GET
/v1/analytics/{owner}/{slug}/sql/tables

Authorization

api-key<token>

In: header

Path Parameters

owner*string
slug*string

Query Parameters

projectId?string
version?integer
Formatint32
includeChains?boolean
includeViews?boolean
includeExternals?boolean
includeDash?boolean

Response Body

application/json

curl -X GET "https://example.com/v1/analytics/string/string/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"    }  }}