Environments-15
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET | |
GET | |
GET | |
GET | |
GET | |
PATCH | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET |
Create hog functions invocations
Path parameters
- idstring
- project_idstring
Request parameters
- type
- namestring
- descriptionstring
- enabledboolean
- deletedboolean
- hogstring
- inputs_schemaarray
- inputsobject
- filters
- masking
- mappingsarray
- icon_urlstring
- template_idstring
- execution_orderinteger
- _create_in_folderstring
Example request
POST /api /environments /:project_id /hog_functions /:id /invocationsExample response
Status 200 No response body
Retrieve hog functions logs
Path parameters
- idstring
- project_idstring
Example request
GET /api /environments /:project_id /hog_functions /:id /logsExample response
Status 200 No response body
Retrieve hog functions metrics
Path parameters
- idstring
- project_idstring
Example request
GET /api /environments /:project_id /hog_functions /:id /metricsExample response
Status 200 No response body
Retrieve hog functions metrics totals
Path parameters
- idstring
- project_idstring
Example request
GET /api /environments /:project_id /hog_functions /:id /metrics /totalsExample response
Status 200 No response body
Retrieve hog functions icon
Path parameters
- project_idstring
Example request
GET /api /environments /:project_id /hog_functions /iconExample response
Status 200 No response body
Retrieve hog functions icons
Path parameters
- project_idstring
Example request
GET /api /environments /:project_id /hog_functions /iconsExample response
Status 200 No response body
Update hog functions rearrange
Update the execution order of multiple HogFunctions.
Path parameters
- project_idstring
Request parameters
- type
- namestring
- descriptionstring
- enabledboolean
- deletedboolean
- hogstring
- inputs_schemaarray
- inputsobject
- filters
- masking
- mappingsarray
- icon_urlstring
- template_idstring
- execution_orderinteger
- _create_in_folderstring
Example request
PATCH /api /environments /:project_id /hog_functions /rearrangeExample response
Status 200 No response body
List all insight variables
Required API key scopes
insight_variable:readPath parameters
- project_idstring
Query parameters
- pageinteger
Response
Example request
GET /api /environments /:project_id /insight_variablesExample response
Status 200
RESPONSE
List all insight variables
Required API key scopes
insight_variable:readPath parameters
- project_idstring
Query parameters
- pageinteger
Response
Example request
GET /api /environments /:project_id /insight_variablesExample response
Status 200
RESPONSE
Create insight variables
Required API key scopes
insight_variable:writePath parameters
- project_idstring
Request parameters
- namestring
- type
- default_value
- values
Response
Example request
POST /api /environments /:project_id /insight_variablesExample response
Status 201
RESPONSE
Create insight variables
Required API key scopes
insight_variable:writePath parameters
- project_idstring
Request parameters
- namestring
- type
- default_value
- values
Response
Example request
POST /api /environments /:project_id /insight_variablesExample response
Status 201
RESPONSE
Retrieve insight variables
Required API key scopes
insight_variable:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /insight_variables /:idExample response
Status 200
RESPONSE
Retrieve insight variables
Required API key scopes
insight_variable:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /insight_variables /:idExample response
Status 200
RESPONSE
Update insight variables
Required API key scopes
insight_variable:writePath parameters
- idstring
- project_idstring
Request parameters
- namestring
- type
- default_value
- values
Response
Example request
PATCH /api /environments /:project_id /insight_variables /:idExample response
Status 200
RESPONSE
Update insight variables
Required API key scopes
insight_variable:writePath parameters
- idstring
- project_idstring
Request parameters
- namestring
- type
- default_value
- values
Response
Example request
PATCH /api /environments /:project_id /insight_variables /:idExample response
Status 200
RESPONSE
Delete insight variables
Required API key scopes
insight_variable:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /insight_variables /:idExample response
Status 204 No response body
Delete insight variables
Required API key scopes
insight_variable:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /insight_variables /:idExample response
Status 204 No response body
List all insights
Required API key scopes
insight:readPath parameters
- project_idstring
Query parameters
- basicboolean
- formatstringOne of:
"csv""json" - limitinteger
- offsetinteger
- refreshstringDefault:
force_cacheOne of:"async""async_except_on_cache_miss""blocking""force_async""force_blocking""force_cache""lazy_async" - short_idstring
Response
Example request
GET /api /environments /:project_id /insightsExample response
Status 200
RESPONSE