API ReferenceGuidesChangelog
SQL

Query Table By Name

Query table schema by name.

GET
/v1/sql/table

Authorization

api-key<token>

In: header

Query Parameters

projectOwner?string
projectSlug?string
projectId?string
version?integer
Formatint32
name?string

Response Body

application/json

curl -X GET "https://example.com/v1/sql/table"
{  "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  },  "table": {    "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"  }}