> For the complete documentation index, see [llms.txt](https://developers.whaly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.whaly.io/api-reference/warehouses/persistence-engine.md).

# Persistence Engine

## POST /v1/warehouses/{warehouseId}/persistence-engine/run

>

```json
{"openapi":"3.0.0","info":{"title":"Whaly API","version":"1.0"},"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http","description":"Pass a Service Account Key as the Bearer token to authenticate. e.g. 'sk:xxxxxxx'"}},"schemas":{"RunPersistenceEngineDto":{"type":"object","properties":{}},"WarehouseDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique ID"},"name":{"type":"string","description":"Name of Warehouse"},"is_managed":{"type":"boolean","description":"If true, it means that this Warehouse is provided by Whaly, so access is limited."},"is_bi_enabled":{"type":"boolean","description":"If true, it means that BI is enabled on this Warehouse."},"is_data_loading_enabled":{"type":"boolean","description":"If true, it means that Connectors are enabled on this Warehouse."},"is_persistence_engine_enabled":{"type":"boolean","description":"If true, it means that Persistence Engine is enabled on this Warehouse."},"warehouse_type":{"type":"string","description":"Type of the Warehouse","enum":["BIGQUERY","SNOWFLAKE","POSTGRES","REDSHIFT","UNKNOWN"]}},"required":["id","name","is_managed","is_bi_enabled","is_data_loading_enabled","is_persistence_engine_enabled","warehouse_type"]}}},"paths":{"/v1/warehouses/{warehouseId}/persistence-engine/run":{"post":{"operationId":"WarehousesController_runPersistenceEngine","parameters":[{"name":"warehouseId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunPersistenceEngineDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseDto"}}}}}}}}}
```
