Environments-4
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET | |
GET | |
POST | |
GET | |
POST | |
DELETE | |
GET | |
POST | |
DELETE |
Create environments batch exports run test step new
Required API key scopes
INTERNALPath parameters
- project_idstring
Request parameters
- namestring
- model
- destination
- interval
- pausedboolean
- last_paused_atstring
- start_atstring
- end_atstring
- hogql_querystring
- filters
Example request
POST /api /environments /:project_id /batch_exports /run_test_step_newExample response
Status 200 No response body
Create environments batch exports run test step new
Required API key scopes
INTERNALPath parameters
- project_idstring
Request parameters
- namestring
- model
- destination
- interval
- pausedboolean
- last_paused_atstring
- start_atstring
- end_atstring
- hogql_querystring
- filters
Example request
POST /api /environments /:project_id /batch_exports /run_test_step_newExample response
Status 200 No response body
Retrieve environments batch exports test
Required API key scopes
INTERNALPath parameters
- project_idstring
Example request
GET /api /environments /:project_id /batch_exports /testExample response
Status 200 No response body
Retrieve environments batch exports test
Required API key scopes
INTERNALPath parameters
- project_idstring
Example request
GET /api /environments /:project_id /batch_exports /testExample response
Status 200 No response body
List all environments dashboards
Required API key scopes
dashboard:readPath parameters
- project_idstring
Query parameters
- formatstringOne of:
"json""txt" - limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /dashboardsExample response
Status 200
RESPONSE
List all environments dashboards
Required API key scopes
dashboard:readPath parameters
- project_idstring
Query parameters
- formatstringOne of:
"json""txt" - limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /dashboardsExample response
Status 200
RESPONSE
Create environments dashboards
Required API key scopes
dashboard:writePath parameters
- project_idstring
Query parameters
- formatstringOne of:
"json""txt"
Request parameters
- namestring
- descriptionstring
- pinnedboolean
- last_accessed_atstring
- deletedboolean
- breakdown_colors
- data_color_theme_idinteger
- tagsarray
- restriction_level
- last_refreshstring
- use_templatestring
- use_dashboardinteger
- delete_insightsbooleanDefault:
false - _create_in_folderstring
Response
Example request
POST /api /environments /:project_id /dashboardsExample response
Status 201
RESPONSE
Create environments dashboards
Required API key scopes
dashboard:writePath parameters
- project_idstring
Query parameters
- formatstringOne of:
"json""txt"
Request parameters
- namestring
- descriptionstring
- pinnedboolean
- last_accessed_atstring
- deletedboolean
- breakdown_colors
- data_color_theme_idinteger
- tagsarray
- restriction_level
- last_refreshstring
- use_templatestring
- use_dashboardinteger
- delete_insightsbooleanDefault:
false - _create_in_folderstring
Response
Example request
POST /api /environments /:project_id /dashboardsExample response
Status 201
RESPONSE
List all environments dashboards collaborators
Required API key scopes
dashboard:readPath parameters
- dashboard_idinteger
- project_idstring
Example request
GET /api /environments /:project_id /dashboards /:dashboard_id /collaboratorsExample response
Status 200
RESPONSE
List all environments dashboards collaborators
Required API key scopes
dashboard:readPath parameters
- dashboard_idinteger
- project_idstring
Example request
GET /api /environments /:project_id /dashboards /:dashboard_id /collaboratorsExample response
Status 200
RESPONSE
Create environments dashboards collaborators
Required API key scopes
dashboard:writePath parameters
- dashboard_idinteger
- project_idstring
Request parameters
- level
- user_uuidstring
Response
Example request
POST /api /environments /:project_id /dashboards /:dashboard_id /collaboratorsExample response
Status 201
RESPONSE
Create environments dashboards collaborators
Required API key scopes
dashboard:writePath parameters
- dashboard_idinteger
- project_idstring
Request parameters
- level
- user_uuidstring
Response
Example request
POST /api /environments /:project_id /dashboards /:dashboard_id /collaboratorsExample response
Status 201
RESPONSE
Delete environments dashboards collaborators
Required API key scopes
dashboard:writePath parameters
- dashboard_idinteger
- project_idstring
- user__uuidstring
Example request
DELETE /api /environments /:project_id /dashboards /:dashboard_id /collaborators /:user__uuidExample response
Status 204 No response body
Delete environments dashboards collaborators
Required API key scopes
dashboard:writePath parameters
- dashboard_idinteger
- project_idstring
- user__uuidstring
Example request
DELETE /api /environments /:project_id /dashboards /:dashboard_id /collaborators /:user__uuidExample response
Status 204 No response body
List all environments dashboards sharing
Required API key scopes
sharing_configuration:readPath parameters
- dashboard_idinteger
- project_idstring
Example request
GET /api /environments /:project_id /dashboards /:dashboard_id /sharingExample response
Status 200
RESPONSE
List all environments dashboards sharing
Required API key scopes
sharing_configuration:readPath parameters
- dashboard_idinteger
- project_idstring
Example request
GET /api /environments /:project_id /dashboards /:dashboard_id /sharingExample response
Status 200
RESPONSE
Create environments dashboards sharing passwords
Create a new password for the sharing configuration.
Required API key scopes
sharing_configuration:writePath parameters
- dashboard_idinteger
- project_idstring
Request parameters
- enabledboolean
- settings
- password_requiredboolean
Response
Example request
POST /api /environments /:project_id /dashboards /:dashboard_id /sharing /passwordsExample response
Status 200
RESPONSE
Create environments dashboards sharing passwords
Create a new password for the sharing configuration.
Required API key scopes
sharing_configuration:writePath parameters
- dashboard_idinteger
- project_idstring
Request parameters
- enabledboolean
- settings
- password_requiredboolean
Response
Example request
POST /api /environments /:project_id /dashboards /:dashboard_id /sharing /passwordsExample response
Status 200
RESPONSE
Delete environments dashboards sharing passwords
Delete a password from the sharing configuration.
Required API key scopes
sharing_configuration:writePath parameters
- dashboard_idinteger
- password_idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /dashboards /:dashboard_id /sharing /passwords /:password_idExample response
Status 204 No response body
Delete environments dashboards sharing passwords
Delete a password from the sharing configuration.
Required API key scopes
sharing_configuration:writePath parameters
- dashboard_idinteger
- password_idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /dashboards /:dashboard_id /sharing /passwords /:password_id