Environments-15
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
GET | |
GET | |
PATCH | |
DELETE | |
GET | |
GET | |
GET | |
POST |
List all environments insights thresholds
Required API key scopes
alert:readPath parameters
- insight_idinteger
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /insights /:insight_id /thresholdsExample response
Status 200
RESPONSE
List all environments insights thresholds
Required API key scopes
alert:readPath parameters
- insight_idinteger
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /insights /:insight_id /thresholdsExample response
Status 200
RESPONSE
Retrieve environments insights thresholds
Required API key scopes
alert:readPath parameters
- idstring
- insight_idinteger
- project_idstring
Response
Example request
GET /api /environments /:project_id /insights /:insight_id /thresholds /:idExample response
Status 200
RESPONSE
Retrieve environments insights thresholds
Required API key scopes
alert:readPath parameters
- idstring
- insight_idinteger
- project_idstring
Response
Example request
GET /api /environments /:project_id /insights /:insight_id /thresholds /:idExample response
Status 200
RESPONSE
Retrieve environments insights
Required API key scopes
insight:readPath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json" - from_dashboardinteger
- refreshstringDefault:
force_cacheOne of:"async""async_except_on_cache_miss""blocking""force_async""force_blocking""force_cache""lazy_async"
Response
Example request
GET /api /environments /:project_id /insights /:idExample response
Status 200
RESPONSE
Retrieve environments insights
Required API key scopes
insight:readPath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json" - from_dashboardinteger
- refreshstringDefault:
force_cacheOne of:"async""async_except_on_cache_miss""blocking""force_async""force_blocking""force_cache""lazy_async"
Response
Example request
GET /api /environments /:project_id /insights /:idExample response
Status 200
RESPONSE
Update environments insights
Required API key scopes
insight:writePath 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
Response
Example request
PATCH /api /environments /:project_id /insights /:idExample response
Status 200
RESPONSE
Update environments insights
Required API key scopes
insight:writePath 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
Response
Example request
PATCH /api /environments /:project_id /insights /:idExample response
Status 200
RESPONSE
Delete environments insights
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
insight:writePath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
DELETE /api /environments /:project_id /insights /:idExample response
Status 405 No response body
Delete environments insights
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
insight:writePath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
DELETE /api /environments /:project_id /insights /:idExample response
Status 405 No response body
Retrieve environments insights activity retrieve
Required API key scopes
activity_log:readPath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /insights /:id /activityExample response
Status 200 No response body
Retrieve environments insights activity retrieve
Required API key scopes
activity_log:readPath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /insights /:id /activityExample response
Status 200 No response body
Retrieve environments insights analyze
Path parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /insights /:id /analyzeExample response
Status 200 No response body
Retrieve environments insights analyze
Path parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /insights /:id /analyzeExample response
Status 200 No response body
Retrieve environments insights suggestions
Path parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /insights /:id /suggestionsExample response
Status 200 No response body
Retrieve environments insights suggestions
Path parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /insights /:id /suggestionsExample response
Status 200 No response body
Create environments 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 environments 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 /suggestions