Environments-24
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
POST | |
POST | |
GET | |
POST | |
POST | |
POST | |
POST | |
GET |
Create environments user interviews
Required API key scopes
user_interview_DO_NOT_USE:writePath parameters
- project_idstring
Request parameters
- interviewee_emailsarray
- summarystring
- audiostring
Response
Example request
POST /api /environments /:project_id /user_interviewsExample response
Status 201
Retrieve environments user interviews
Required API key scopes
user_interview_DO_NOT_USE:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /user_interviews /:idExample response
Status 200
Update environments user interviews
Required API key scopes
user_interview_DO_NOT_USE:writePath parameters
- idstring
- project_idstring
Request parameters
- interviewee_emailsarray
- summarystring
- audiostring
Response
Example request
PATCH /api /environments /:project_id /user_interviews /:idExample response
Status 200
Delete environments user interviews
Required API key scopes
user_interview_DO_NOT_USE:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /user_interviews /:idExample response
Status 204 No response body
List all environments warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:readPath parameters
- project_idstring
Query parameters
- pageinteger
- searchstring
Response
Example request
GET /api /environments /:project_id /warehouse_saved_queriesExample response
Status 200
Create environments warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:writePath parameters
- project_idstring
Request parameters
- deletedboolean
- namestring
- query
- edited_history_idstring
- soft_updateboolean
Response
Example request
POST /api /environments /:project_id /warehouse_saved_queriesExample response
Status 201
Retrieve environments warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /warehouse_saved_queries /:idExample response
Status 200
Update environments warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:writePath parameters
- idstring
- project_idstring
Request parameters
- deletedboolean
- namestring
- query
- edited_history_idstring
- soft_updateboolean
Response
Example request
PATCH /api /environments /:project_id /warehouse_saved_queries /:idExample response
Status 200
Delete environments warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /warehouse_saved_queries /:idExample response
Status 204 No response body
Retrieve environments warehouse saved queries activity
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
activity_log:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /warehouse_saved_queries /:id /activityExample response
Status 200
Create environments 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
- project_idstring
Request parameters
- deletedboolean
- namestring
- query
- edited_history_idstring
- soft_updateboolean
Response
Example request
POST /api /environments /:project_id /warehouse_saved_queries /:id /ancestorsExample response
Status 200
Create environments warehouse saved queries cancel
Cancel a running saved query workflow.
Path parameters
- idstring
- project_idstring
Request parameters
- deletedboolean
- namestring
- query
- edited_history_idstring
- soft_updateboolean
Response
Example request
POST /api /environments /:project_id /warehouse_saved_queries /:id /cancelExample response
Status 200
Retrieve environments warehouse saved queries dependencies
Return the count of immediate upstream and downstream dependencies for this saved query.
Path parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /warehouse_saved_queries /:id /dependenciesExample response
Status 200
Create environments 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
- project_idstring
Request parameters
- deletedboolean
- namestring
- query
- edited_history_idstring
- soft_updateboolean
Response
Example request
POST /api /environments /:project_id /warehouse_saved_queries /:id /descendantsExample response
Status 200
Create environments warehouse saved queries materialize
Enable materialization for this saved query with a 24-hour sync frequency.
Path parameters
- idstring
- project_idstring
Request parameters
- deletedboolean
- namestring
- query
- edited_history_idstring
- soft_updateboolean
Response
Example request
POST /api /environments /:project_id /warehouse_saved_queries /:id /materializeExample response
Status 200
Create environments warehouse saved queries revert materialization
Undo materialization, revert back to the original view. (i.e. delete the materialized table and the schedule)
Path parameters
- idstring
- project_idstring
Request parameters
- deletedboolean
- namestring
- query
- edited_history_idstring
- soft_updateboolean
Response
Example request
POST /api /environments /:project_id /warehouse_saved_queries /:id /revert_materializationExample response
Status 200
Create environments warehouse saved queries run
Run this saved query.
Path parameters
- idstring
- project_idstring
Request parameters
- deletedboolean
- namestring
- query
- edited_history_idstring
- soft_updateboolean
Response
Example request
POST /api /environments /:project_id /warehouse_saved_queries /:id /runExample response
Status 200
Retrieve environments warehouse saved queries run history
Return the recent run history (up to 5 most recent) for this materialized view.
Path parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /warehouse_saved_queries /:id /run_history