Environments-27
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
POST | |
GET | |
PATCH |
List all environments user interviews
Required API key scopes
user_interview_DO_NOT_USE:read
Path 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
- limitinteger
Number of results to return per page.
- offsetinteger
The initial index from which to return the results.
Response
Example request
GET
/api /environments /:project_id /user_interviews
Example response
Status 200
Create environments user interviews
Required API key scopes
user_interview_DO_NOT_USE:write
Path 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_interviews
Example response
Status 201
Create environments user interviews
Required API key scopes
user_interview_DO_NOT_USE:write
Path 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_interviews
Example response
Status 201
Retrieve environments user interviews
Required API key scopes
user_interview_DO_NOT_USE:read
Path 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 /:id
Example response
Status 200
Retrieve environments user interviews
Required API key scopes
user_interview_DO_NOT_USE:read
Path 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 /:id
Example response
Status 200
Update environments user interviews
Required API key scopes
user_interview_DO_NOT_USE:write
Path 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 /:id
Example response
Status 200
Update environments user interviews
Required API key scopes
user_interview_DO_NOT_USE:write
Path 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 /:id
Example response
Status 200
Delete environments user interviews
Required API key scopes
user_interview_DO_NOT_USE:write
Path 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 /:id
Example response
Status 204 No response body
Delete environments user interviews
Required API key scopes
user_interview_DO_NOT_USE:write
Path 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 /:id
Example 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:read
Path 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_queries
Example response
Status 200
List all environments warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:read
Path 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_queries
Example response
Status 200
Create environments warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:write
Path 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_queries
Example response
Status 201
Create environments warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:write
Path 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_queries
Example response
Status 201
Retrieve environments warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:read
Path 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 /:id
Example response
Status 200
Retrieve environments warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:read
Path 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 /:id
Example response
Status 200
Update environments warehouse saved queries
Create, Read, Update and Delete Warehouse Tables.
Required API key scopes
warehouse_view:write
Path 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