Environments-5
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
List all environments exports
Required API key scopes
export:readPath parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Query parameters
- limitintegerNumber of results to return per page. 
- offsetintegerThe initial index from which to return the results. 
Response
Request
GET 
Response
Status 200
List all environments exports
Required API key scopes
export:readPath parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Query parameters
- limitintegerNumber of results to return per page. 
- offsetintegerThe initial index from which to return the results. 
Response
Request
GET 
Response
Status 200
Create environments exports
Required API key scopes
export:writePath parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request parameters
- dashboardinteger
- insightinteger
- export_format
- export_context
- expires_afterstring
Response
Request
POST 
Response
Status 201
Create environments exports
Required API key scopes
export:writePath parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request parameters
- dashboardinteger
- insightinteger
- export_format
- export_context
- expires_afterstring
Response
Request
POST 
Response
Status 201
Retrieve environments exports
Required API key scopes
export:readPath parameters
- idintegerA unique integer value identifying this exported asset. 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Response
Request
GET 
Response
Status 200
Retrieve environments exports
Required API key scopes
export:readPath parameters
- idintegerA unique integer value identifying this exported asset. 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Response
Request
GET 
Response
Status 200
Retrieve environments exports content
Required API key scopes
export:readPath parameters
- idintegerA unique integer value identifying this exported asset. 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request
GET 
Response
Status 200 No response body
Retrieve environments exports content
Required API key scopes
export:readPath parameters
- idintegerA unique integer value identifying this exported asset. 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request
GET 
Response
Status 200 No response body
List all environments groups
List all groups of a specific group type. You must pass ?group_type_index= in the URL. To get a list of valid group types, call /api/:project_id/groups_types/
Required API key scopes
group:readPath parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Query parameters
- cursorstringThe pagination cursor value. 
- group_type_indexintegerSpecify the group type to list 
- searchstringSearch the group name 
Response
Request
GET 
Response
Status 200
List all environments groups
List all groups of a specific group type. You must pass ?group_type_index= in the URL. To get a list of valid group types, call /api/:project_id/groups_types/
Required API key scopes
group:readPath parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Query parameters
- cursorstringThe pagination cursor value. 
- group_type_indexintegerSpecify the group type to list 
- searchstringSearch the group name 
Response
Request
GET 
Response
Status 200
Retrieve environments groups find
Path parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Query parameters
- group_keystringSpecify the key of the group to find 
- group_type_indexintegerSpecify the group type to find 
Request
GET 
Response
Status 200 No response body
Retrieve environments groups find
Path parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Query parameters
- group_keystringSpecify the key of the group to find 
- group_type_indexintegerSpecify the group type to find 
Request
GET 
Response
Status 200 No response body
Retrieve environments groups property definitions
Path parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request
GET 
Response
Status 200 No response body
Retrieve environments groups property definitions
Path parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request
GET 
Response
Status 200 No response body
Retrieve environments groups property values
Path parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request
GET 
Response
Status 200 No response body
Retrieve environments groups property values
Path parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request
GET 
Response
Status 200 No response body
List all environments insights
Adds an "access_controls" action to the viewset that handles access control for the given resource
Why a mixin? We want to easily add this to any existing resource, including providing easy helpers for adding access control info such as the current users access level to any response.
Required API key scopes
insight:readPath parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Query parameters
- created_byinteger
- formatstringOne of:"csv""json"
- limitintegerNumber of results to return per page. 
- offsetintegerThe initial index from which to return the results. 
- refreshstringDefault:force_cacheOne of:"async""async_except_on_cache_miss""blocking""force_async""force_blocking""force_cache""lazy_async"Whether to refresh the retrieved insights, how aggresively, and if sync or async: - 'force_cache'- return cached data or a cache miss; always completes immediately as it never calculates
- 'blocking'- calculate synchronously (returning only when the query is done), UNLESS there are very fresh results in the cache
- 'async'- kick off background calculation (returning immediately with a query status), UNLESS there are very fresh results in the cache
- 'lazy_async'- kick off background calculation, UNLESS there are somewhat fresh results in the cache
- 'force_blocking'- calculate synchronously, even if fresh results are already cached
- 'force_async'- kick off background calculation, even if fresh results are already cached Background calculation can be tracked using the- query_statusresponse field.
 
- short_idstring
Response
Request
GET 
Response
Status 200
List all environments insights
Adds an "access_controls" action to the viewset that handles access control for the given resource
Why a mixin? We want to easily add this to any existing resource, including providing easy helpers for adding access control info such as the current users access level to any response.
Required API key scopes
insight:readPath parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Query parameters
- created_byinteger
- formatstringOne of:"csv""json"
- limitintegerNumber of results to return per page. 
- offsetintegerThe initial index from which to return the results. 
- refreshstringDefault:force_cacheOne of:"async""async_except_on_cache_miss""blocking""force_async""force_blocking""force_cache""lazy_async"Whether to refresh the retrieved insights, how aggresively, and if sync or async: - 'force_cache'- return cached data or a cache miss; always completes immediately as it never calculates
- 'blocking'- calculate synchronously (returning only when the query is done), UNLESS there are very fresh results in the cache
- 'async'- kick off background calculation (returning immediately with a query status), UNLESS there are very fresh results in the cache
- 'lazy_async'- kick off background calculation, UNLESS there are somewhat fresh results in the cache
- 'force_blocking'- calculate synchronously, even if fresh results are already cached
- 'force_async'- kick off background calculation, even if fresh results are already cached Background calculation can be tracked using the- query_statusresponse field.
 
- short_idstring
Response
Request
GET 
Response
Status 200