Data
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
POST | |
POST | |
GET | |
POST | |
POST | |
POST |
Retrieve external data sources wizard
Create, Read, Update and Delete External data Sources.
Required API key scopes
external_data_source:readExample request
GET /api /projects /:project_id /external_data_sources /wizardExample response
Status 200 No response body
List all insight variables
Required API key scopes
insight_variable:readQuery parameters
- pageinteger
Response
Example request
GET /api /projects /:project_id /insight_variablesExample response
Status 200
Create insight variables
Required API key scopes
insight_variable:writeRequest parameters
- namestring
- type
- default_value
- values
Response
Example request
POST /api /projects /:project_id /insight_variablesExample response
Status 201
Retrieve insight variables
Required API key scopes
insight_variable:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /insight_variables /:idExample response
Status 200
Update insight variables
Required API key scopes
insight_variable:writePath parameters
- idstring
Request parameters
- namestring
- type
- default_value
- values
Response
Example request
PATCH /api /projects /:project_id /insight_variables /:idExample response
Status 200
Delete insight variables
Required API key scopes
insight_variable:writePath parameters
- idstring
Example request
DELETE /api /projects /:project_id /insight_variables /:idExample response
Status 204 No response body
List all warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:readQuery parameters
- pageinteger
- searchstring
Response
Example request
GET /api /projects /:project_id /warehouse_saved_queriesExample response
Status 200
Create warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:writeRequest parameters
- deletedbooleannull
- namestring
- queryobject
- folder_idstringnull
- edited_history_idstringnull
- soft_updatebooleannull
- dag_idstringnull
- is_testboolean
Response
Example request
POST /api /projects /:project_id /warehouse_saved_queriesExample response
Status 201
Retrieve warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /warehouse_saved_queries /:idExample response
Status 200
Update warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:writePath parameters
- idstring
Request parameters
- deletedbooleannull
- namestring
- queryobject
- folder_idstringnull
- edited_history_idstringnull
- soft_updatebooleannull
- dag_idstringnull
- is_testboolean
Response
Example request
PATCH /api /projects /:project_id /warehouse_saved_queries /:idExample response
Status 200
Delete warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:writePath parameters
- idstring
Example request
DELETE /api /projects /:project_id /warehouse_saved_queries /:idExample response
Status 204 No response body
Retrieve warehouse saved queries activity
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
activity_log:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /warehouse_saved_queries /:id /activityExample response
Status 200
Create warehouse saved queries ancestors
Return the ancestors of this saved query.
By default, we return the immediate parents. The level parameter can be used to
look further back into the ancestor tree. If level overshoots (i.e. points to only
ancestors beyond the root), we return an empty list.
Path parameters
- idstring
Request parameters
- deletedbooleannull
- namestring
- queryobject
- folder_idstringnull
- edited_history_idstringnull
- soft_updatebooleannull
- dag_idstringnull
- is_testboolean
Response
Example request
POST /api /projects /:project_id /warehouse_saved_queries /:id /ancestorsExample response
Status 200
Create warehouse saved queries cancel
Cancel a running saved query workflow.
Path parameters
- idstring
Request parameters
- deletedbooleannull
- namestring
- queryobject
- folder_idstringnull
- edited_history_idstringnull
- soft_updatebooleannull
- dag_idstringnull
- is_testboolean
Response
Example request
POST /api /projects /:project_id /warehouse_saved_queries /:id /cancelExample response
Status 200
Retrieve warehouse saved queries dependencies
Return the count of immediate upstream and downstream dependencies for this saved query.
Path parameters
- idstring
Response
Example request
GET /api /projects /:project_id /warehouse_saved_queries /:id /dependenciesExample response
Status 200
Create warehouse saved queries descendants
Return the descendants of this saved query.
By default, we return the immediate children. The level parameter can be used to
look further ahead into the descendants tree. If level overshoots (i.e. points to only
descendants further than a leaf), we return an empty list.
Path parameters
- idstring
Request parameters
- deletedbooleannull
- namestring
- queryobject
- folder_idstringnull
- edited_history_idstringnull
- soft_updatebooleannull
- dag_idstringnull
- is_testboolean
Response
Example request
POST /api /projects /:project_id /warehouse_saved_queries /:id /descendantsExample response
Status 200
Create warehouse saved queries materialize
Enable materialization for this saved query with a 24-hour sync frequency.
Required API key scopes
warehouse_view:writePath parameters
- idstring
Request parameters
- deletedbooleannull
- namestring
- queryobject
- folder_idstringnull
- edited_history_idstringnull
- soft_updatebooleannull
- dag_idstringnull
- is_testboolean
Response
Example request
POST /api /projects /:project_id /warehouse_saved_queries /:id /materializeExample response
Status 200
Create warehouse saved queries revert materialization
Undo materialization, revert back to the original view. (i.e. delete the materialized table and the schedule)
Required API key scopes
warehouse_view:writePath parameters
- idstring
Request parameters
- deletedbooleannull
- namestring
- queryobject
- folder_idstringnull
- edited_history_idstringnull
- soft_updatebooleannull
- dag_idstringnull
- is_testboolean
Response
Example request
POST /api /projects /:project_id /warehouse_saved_queries /:id /revert_materialization