Edge Delta API
Reference for the Edge Delta API
less than a minute
See here for information on how to create an API token.
Click Admin - My Organization to view your Organization ID.
Example API Call
These examples require an API Token configured with Read and Write access to the Monitors Resource.
Replace <ORG_ID>
and <APIToken>
.
List Alerts
curl -X 'GET' \
'https://api.edgedelta.com/v1/orgs/<ORG_ID>/alert_definitions' \
-H 'accept: application/json' \
-H 'X-ED-API-Token: <APIToken>'
The output lists multiple statements each starting with orgID
:
{"orgID":"<ORG_ID>","id":"THE_ALERT_ID","name":"Pattern check alert","creator":"Edge Delta","created":"2022-07-19 16:43:18.189963247 +0000 UTC","updated":"2022-07-19 16:43:18.190276027 +0000 UTC","enabled":true,"type":"pattern-check","payload":"{\"tag\":\"linux_sumo\",\"merge_level\":\"none\",\"lookback\":\"1h\",\"source_filters\":{\"sourcetype\":\"File\"},\"group_bys\":[\"source\"],\"mail_recipients\":\"\",\"triggers\":[],\"suppression_window\":\"3h\",\"timezone\":\"America/Denver\",\"minimum_count\":2,\"minimum_proportion\":3,\"anomaly_threshold\":90,\"delta_threshold\":50}"}]