Environments-17
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET | |
POST | |
GET | |
POST | |
GET | |
POST | |
GET | |
DELETE | |
GET | |
GET | |
GET | |
GET | |
PATCH | |
POST |
Create insights suggestions
Path parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- namestring
- derived_namestring
- queryobject
- orderinteger
- deletedboolean
- dashboardsarray
- descriptionstring
- tagsarray
- favoritedboolean
- _create_in_folderstring
Example request
POST /api /environments /:project_id /insights /:id /suggestionsExample response
Status 200 No response body
Create insights suggestions
Path parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- namestring
- derived_namestring
- queryobject
- orderinteger
- deletedboolean
- dashboardsarray
- descriptionstring
- tagsarray
- favoritedboolean
- _create_in_folderstring
Example request
POST /api /environments /:project_id /insights /:id /suggestionsExample response
Status 200 No response body
Retrieve insights activity
Required API key scopes
activity_log:readPath parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /insights /activityExample response
Status 200 No response body
Retrieve insights activity
Required API key scopes
activity_log:readPath parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /insights /activityExample response
Status 200 No response body
Create insights cancel
Path parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- namestring
- derived_namestring
- queryobject
- orderinteger
- deletedboolean
- dashboardsarray
- descriptionstring
- tagsarray
- favoritedboolean
- _create_in_folderstring
Example request
POST /api /environments /:project_id /insights /cancelExample response
Status 200 No response body
Create insights cancel
Path parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- namestring
- derived_namestring
- queryobject
- orderinteger
- deletedboolean
- dashboardsarray
- descriptionstring
- tagsarray
- favoritedboolean
- _create_in_folderstring
Example request
POST /api /environments /:project_id /insights /cancelExample response
Status 200 No response body
Retrieve insights my last viewed
Returns basic details about the last 5 insights viewed by this user. Most recently viewed first.
Path parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /insights /my_last_viewedExample response
Status 200 No response body
Retrieve insights my last viewed
Returns basic details about the last 5 insights viewed by this user. Most recently viewed first.
Path parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /insights /my_last_viewedExample response
Status 200 No response body
Create insights viewed
Update insight view timestamps. Expects: {"insight_ids": [1, 2, 3, ...]}
Required API key scopes
insight:readPath parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- namestring
- derived_namestring
- queryobject
- orderinteger
- deletedboolean
- dashboardsarray
- descriptionstring
- tagsarray
- favoritedboolean
- _create_in_folderstring
Example request
POST /api /environments /:project_id /insights /viewedExample response
Status 200 No response body
Create insights viewed
Update insight view timestamps. Expects: {"insight_ids": [1, 2, 3, ...]}
Required API key scopes
insight:readPath parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- namestring
- derived_namestring
- queryobject
- orderinteger
- deletedboolean
- dashboardsarray
- descriptionstring
- tagsarray
- favoritedboolean
- _create_in_folderstring
Example request
POST /api /environments /:project_id /insights /viewedExample response
Status 200 No response body
List all integrations
Required API key scopes
integration:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /integrationsExample response
Status 200
RESPONSE
Create integrations
Required API key scopes
integration:writePath parameters
- project_idstring
Request parameters
- kind
- config
Response
Example request
POST /api /environments /:project_id /integrationsExample response
Status 201
RESPONSE
Retrieve integrations
Required API key scopes
integration:readPath parameters
- idinteger
- project_idstring
Response
Example request
GET /api /environments /:project_id /integrations /:idExample response
Status 200
RESPONSE
Delete integrations
Required API key scopes
integration:writePath parameters
- idinteger
- project_idstring
Example request
DELETE /api /environments /:project_id /integrations /:idExample response
Status 204 No response body
Retrieve integrations channels
Path parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /integrations /:id /channelsExample response
Status 200 No response body
List all integrations clickup lists
Path parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /integrations /:id /clickup_listsExample response
Status 200 No response body
Retrieve integrations clickup spaces
Path parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /integrations /:id /clickup_spacesExample response
Status 200 No response body
Retrieve integrations clickup workspaces
Path parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /integrations /:id /clickup_workspacesExample response
Status 200 No response body
Update integrations email
Path parameters
- idinteger
- project_idstring
Request parameters
- kind
- config
Response
Example request
PATCH /api /environments /:project_id /integrations /:id /emailExample response
Status 200
RESPONSE
Create integrations email verify
Path parameters
- idinteger
- project_idstring
Request parameters
- kind
- config
Example request
POST /api /environments /:project_id /integrations /:id /email /verify