Hog
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
PATCH | |
DELETE | |
POST | |
GET | |
POST | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
GET | |
GET | |
POST | |
PATCH | |
GET | |
GET | |
POST | |
GET |
Update environments hog flows schedules
Required API key scopes
hog_flow:writePath parameters
- idstring
- schedule_idstring
Request parameters
- rrulestring
- starts_atstring
- timezonestring
- variables
Response
Example request
PATCH /api /environments /:environment_id /hog_flows /:id /schedules /:schedule_idExample response
Status 200
RESPONSE
Delete environments hog flows schedules
Required API key scopes
hog_flow:writePath parameters
- idstring
- schedule_idstring
Example request
DELETE /api /environments /:environment_id /hog_flows /:id /schedules /:schedule_idExample response
Status 204 No response body
Create environments hog flows bulk delete
Required API key scopes
hog_flow:writeRequest parameters
- namestringnull
- descriptionstringDefault:
- status
- trigger_masking
- conversion
- exit_condition
- edgesarray
- actionsarray
- variablesarray
Response
Example request
POST /api /environments /:environment_id /hog_flows /bulk_deleteExample response
Status 200
RESPONSE
Retrieve environments hog flows metrics global
Required API key scopes
hog_flow:readQuery parameters
- afterstringDefault:
-7d - beforestring
Example request
GET /api /environments /:environment_id /hog_flows /metrics /globalExample response
Status 200
RESPONSE
Create environments hog flows user blast radius
Required API key scopes
hog_flow:readperson:readRequest parameters
- filtersobject
- group_type_indexintegernull
- dedupe_key
Response
Example request
POST /api /environments /:environment_id /hog_flows /user_blast_radiusExample response
Status 200
RESPONSE
List all hog flows
Required API key scopes
hog_flow:readQuery parameters
- created_atstring
- created_byinteger
- idstring
- limitinteger
- offsetinteger
- statusstringOne of:
"active""archived""draft" - updated_atstring
Response
Example request
GET /api /projects /:project_id /hog_flowsExample response
Status 200
RESPONSE
Create hog flows
Required API key scopes
hog_flow:writeRequest parameters
- namestringnull
- descriptionstringDefault:
- status
- trigger_masking
- conversion
- exit_condition
- edgesarray
- actionsarray
- variablesarray
Response
Example request
POST /api /projects /:project_id /hog_flowsExample response
Status 201
RESPONSE
Retrieve hog flows
Required API key scopes
hog_flow:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /hog_flows /:idExample response
Status 200
RESPONSE
Update hog flows
Required API key scopes
hog_flow:writePath parameters
- idstring
Request parameters
- namestringnull
- descriptionstringDefault:
- status
- trigger_masking
- conversion
- exit_condition
- edgesarray
- actionsarray
- variablesarray
Response
Example request
PATCH /api /projects /:project_id /hog_flows /:idExample response
Status 200
RESPONSE
Delete hog flows
Required API key scopes
hog_flow:writePath parameters
- idstring
Example request
DELETE /api /projects /:project_id /hog_flows /:idExample response
Status 204 No response body
Retrieve hog flows assets
Required API key scopes
hog_flow:readperson:readPath parameters
- idstring
Query parameters
- action_idstring
- afterstringDefault:
-30d - beforestring
- distinct_idstring
- invocation_idstring
- limitintegerDefault:
50 - offsetintegerDefault:
0 - parent_run_idstring
- searchstring
Example request
GET /api /projects /:project_id /hog_flows /:id /assetsExample response
Status 200
RESPONSE
Retrieve hog flows asset content
Required API key scopes
hog_flow:readperson:readPath parameters
- idstring
Query parameters
- action_idstringDefault:
- invocation_idstring
Example request
GET /api /projects /:project_id /hog_flows /:id /assets /contentExample response
Status 200
List all hog flows batch jobs
Required API key scopes
hog_flow:readPath parameters
- idstring
Example request
GET /api /projects /:project_id /hog_flows /:id /batch_jobsExample response
Status 200
RESPONSE
Create hog flows batch jobs
Required API key scopes
hog_flow:writePath parameters
- idstring
Request parameters
- status
- hog_flowstring
- filters
- variables
Response
Example request
POST /api /projects /:project_id /hog_flows /:id /batch_jobsExample response
Status 200
RESPONSE
Update hog flows graph
Required API key scopes
hog_flow:writePath parameters
- idstring
Request parameters
- operationsarray
Response
Example request
PATCH /api /projects /:project_id /hog_flows /:id /graphExample response
Status 200
RESPONSE
Retrieve hog flows invocation results
Required API key scopes
hog_flow:readperson:readPath parameters
- idstring
Query parameters
- afterstringDefault:
-7d - beforestring
- distinct_idstring
- limitintegerDefault:
50 - statusstring
Example request
GET /api /projects /:project_id /hog_flows /:id /invocation_resultsExample response
Status 200
RESPONSE
Retrieve hog flows invocation result
Required API key scopes
hog_flow:readperson:readPath parameters
- idstring
- invocation_idstring
Response
Example request
GET /api /projects /:project_id /hog_flows /:id /invocation_results /:invocation_idExample response
Status 200
RESPONSE
Create hog flows invocations
Required API key scopes
hog_flow:writegroup:readPath parameters
- idstring
Request parameters
- configuration
- globalsobject
- mock_async_functionsbooleanDefault:
true - current_action_idstring
Example request
POST /api /projects /:project_id /hog_flows /:id /invocationsExample response
Status 200 No response body
Retrieve hog flows logs
Required API key scopes
hog_flow:readPath parameters
- idstring
Query parameters
- afterstring
- beforestring
- instance_idstring
- levelstring
- limitintegerDefault:
50 - searchstring
Example request
GET /api /projects /:project_id /hog_flows /:id /logs