Persistence Engine

POST/v1/warehouses/{warehouseId}/persistence-engine/run
Authorization
Path parameters
warehouseId*string
Body
RunPersistenceEngineDto (object)
Response
Body
id*string

Unique ID

name*string

Name of Warehouse

is_managed*boolean

If true, it means that this Warehouse is provided by Whaly, so access is limited.

is_bi_enabled*boolean

If true, it means that BI is enabled on this Warehouse.

is_data_loading_enabled*boolean

If true, it means that Connectors are enabled on this Warehouse.

is_persistence_engine_enabled*boolean

If true, it means that Persistence Engine is enabled on this Warehouse.

warehouse_type*enum

Type of the Warehouse

BIGQUERYSNOWFLAKEPOSTGRESREDSHIFTUNKNOWN
Request
const response = await fetch('/v1/warehouses/{warehouseId}/persistence-engine/run', {
    method: 'POST',
    headers: {
      "Authorization": "Bearer JWT",
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "id": "text",
  "name": "text",
  "is_managed": false,
  "is_bi_enabled": false,
  "is_data_loading_enabled": false,
  "is_persistence_engine_enabled": false,
  "warehouse_type": "BIGQUERY"
}

Last updated