Environments-28
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
POST | |
GET | |
PATCH |
Create environments user interviews
Required API key scopes
user_interview_DO_NOT_USE:writePath parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- interviewee_emailsarray
- summarystring
- audiostring
Response
Example request
POST /api /environments /:project_id /user_interviewsExample response
Status 201
Create environments user interviews
Required API key scopes
user_interview_DO_NOT_USE:writePath parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
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
A UUID string identifying this user interview.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Response
Example request
GET /api /environments /:project_id /user_interviews /:idExample response
Status 200
Retrieve environments user interviews
Required API key scopes
user_interview_DO_NOT_USE:readPath parameters
- idstring
A UUID string identifying this user interview.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
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
A UUID string identifying this user interview.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- interviewee_emailsarray
- summarystring
- audiostring
Response
Example request
PATCH /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
A UUID string identifying this user interview.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
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
A UUID string identifying this user interview.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
DELETE /api /environments /:project_id /user_interviews /:idExample response
Status 204 No response body
Delete environments user interviews
Required API key scopes
user_interview_DO_NOT_USE:writePath parameters
- idstring
A UUID string identifying this user interview.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
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
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
- pageinteger
A page number within the paginated result set.
- searchstring
A search term.
Response
Example request
GET /api /environments /:project_id /warehouse_saved_queriesExample response
Status 200
List all environments warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:readPath parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
- pageinteger
A page number within the paginated result set.
- searchstring
A search term.
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
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- deletedboolean
- namestring
- query
HogQL query
- edited_history_idstring
- soft_updateboolean
Response
Example request
POST /api /environments /:project_id /warehouse_saved_queriesExample response
Status 201
Create environments warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:writePath parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- deletedboolean
- namestring
- query
HogQL 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
A UUID string identifying this data warehouse saved query.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Response
Example request
GET /api /environments /:project_id /warehouse_saved_queries /:idExample response
Status 200
Retrieve environments warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:readPath parameters
- idstring
A UUID string identifying this data warehouse saved query.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
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
A UUID string identifying this data warehouse saved query.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- deletedboolean
- namestring
- query
HogQL query
- edited_history_idstring
- soft_updateboolean
Response
Example request
PATCH /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
A UUID string identifying this data warehouse saved query.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- deletedboolean
- namestring
- query
HogQL query
- edited_history_idstring
- soft_updateboolean
Response
Example request
PATCH /api /environments /:project_id /warehouse_saved_queries /:id