API ReferenceGuidesChangelog
Analytics

Get Refreshable Materialized View Status

Get the status of a refreshable materialized view in a project.

GET
/v1/analytics/{owner}/{slug}/sql/refreshable_materialized_view/{name}

Authorization

api-key<token>

In: header

Path Parameters

owner*string

username or organization name

slug*string

project slug

name*string

Query Parameters

projectId?string

use project id if project_owner and project_slug are not provided

Response Body

application/json

curl -X GET "https://example.com/v1/analytics/string/string/sql/refreshable_materialized_view/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  },  "exception": "string",  "lastRefreshTime": "2019-08-24T14:15:22Z",  "lastSuccessTime": "2019-08-24T14:15:22Z",  "name": "string",  "nextRefreshTime": "2019-08-24T14:15:22Z",  "progress": "string",  "readBytes": "string",  "readRows": "string",  "refreshSettings": {    "appendMode": true,    "dependsOn": [      "string"    ],    "orderBy": "string",    "refreshInterval": "string",    "strategy": "EVERY"  },  "sql": "string",  "status": "string",  "totalRows": "string",  "writtenBytes": "string",  "writtenRows": "string"}