Alerts
Generated from openapi.json (API version 0.54.3). 23 endpoints. See the API overview for the base URL and how to sign requests.
Fetch Alert Facet Options
Section titled “Fetch Alert Facet Options”POST /alerts/facets/options
Needs read:alert.
Query alert facet options. Accepts dictionary where key is facet id and value is cel to query facet
Body (application/json, required): FacetOptionsQueryDto
| Field | Type | Required | Description |
|---|---|---|---|
cel |
string or null | no | |
facet_queries |
object or null | no |
Responses
200Successful Response: object
Fetch Alert Facets
Section titled “Fetch Alert Facets”GET /alerts/facets
Needs read:alert.
Get alert facets
Responses
200Successful Response: array of object
Fetch Alert Facet Fields
Section titled “Fetch Alert Facet Fields”GET /alerts/facets/fields
Needs read:alert.
Get potential fields for alert facets
Responses
200Successful Response: array of object
Query Alerts
Section titled “Query Alerts”POST /alerts/query
Needs read:alert.
Get last alerts occurrence
Body (application/json, required): QueryDto
| Field | Type | Required | Description |
|---|---|---|---|
cel |
string or null | no | |
limit |
integer or null | no | |
offset |
integer or null | no | |
sort_by |
string or null | no | |
sort_dir |
string or null | no | |
sort_options |
array of SortOptionsDto or null |
no |
Responses
200Successful Response: object
Get All Alerts
Section titled “Get All Alerts”GET /alerts
Needs read:alert.
Get last alerts occurrence
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit |
integer | no |
Responses
200Successful Response: array ofAlertDto
Delete Alert
Section titled “Delete Alert”DELETE /alerts
Needs delete:alert.
Delete alert by finerprint and last received time
Body (application/json, required): DeleteRequestBody
| Field | Type | Required | Description |
|---|---|---|---|
fingerprint |
string | yes | |
lastReceived |
string | yes | |
restore |
boolean | no |
Responses
200Successful Response: object
Get Alerts By Fingerprints Batch
Section titled “Get Alerts By Fingerprints Batch”POST /alerts/batch
Needs read:alert.
Get alerts by fingerprints
Body (application/json, required): array of string
Responses
200Successful Response: array ofAlertDto
Get Alert History
Section titled “Get Alert History”GET /alerts/{fingerprint}/history
Needs read:alert.
Get alert history
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
fingerprint |
string | yes |
Responses
200Successful Response: array ofAlertDto
Assign Alert
Section titled “Assign Alert”POST /alerts/{fingerprint}/assign/{last_received}
Needs read:alert.
Assign alert to user
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
fingerprint |
string | yes | |
last_received |
string | yes |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
unassign |
boolean | no |
Responses
200Successful Response: object
Receive Generic Event
Section titled “Receive Generic Event”POST /alerts/event
Needs write:alert.
Receive a generic alert event
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
provider_id |
string or null | no | |
fingerprint |
string or null | no |
Body (application/json, required): AlertDto or array of AlertDto or object
Responses
202Successful Response:AlertDtoor array ofAlertDto
Webhook Challenge
Section titled “Webhook Challenge”GET /alerts/event/netdata
No sign-in needed.
Helper function to complete Netdata webhook challenge
Responses
200Successful Response: object
Receive Event
Section titled “Receive Event”POST /alerts/event/{provider_type}
Needs write:alert.
Receive an alert event from a provider
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
provider_type |
string | yes |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
provider_id |
string or null | no | |
provider_name |
string or null | no | |
fingerprint |
string or null | no |
Responses
202Successful Response: object
Get Alert
Section titled “Get Alert”GET /alerts/{fingerprint}
Needs read:alert.
Get alert by fingerprint
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
fingerprint |
string | yes |
Responses
200Successful Response:AlertDto
Enrich Alert Note
Section titled “Enrich Alert Note”POST /alerts/enrich/note
Needs read:alert.
Enrich an alert note
Body (application/json, required): EnrichAlertNoteRequestBody
| Field | Type | Required | Description |
|---|---|---|---|
note |
string | yes | |
fingerprint |
string | yes |
Responses
200Successful Response: object
Batch Enrich Alerts
Section titled “Batch Enrich Alerts”POST /alerts/batch_enrich
Needs write:alert.
Enrich alerts by providing either a list of fingerprints or a CEL expression to select alerts. Examples for CEL: “name.contains(‘CPU’)”, “labels.severity == ‘critical’”, “name.contains(‘Memory’) && labels.region == ‘us-east-1’”
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
dispose_on_new_alert |
boolean or null | no | Dispose on new alert |
Body (application/json, required): BatchEnrichAlertRequestBody
| Field | Type | Required | Description |
|---|---|---|---|
enrichments |
object | yes | |
fingerprints |
array of string or null | no | |
cel |
string or null | no |
Responses
200Successful Response: object
Enrich Alert
Section titled “Enrich Alert”POST /alerts/enrich
Needs write:alert.
Enrich an alert
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
dispose_on_new_alert |
boolean or null | no | Dispose on new alert |
Body (application/json, required): EnrichAlertRequestBody
| Field | Type | Required | Description |
|---|---|---|---|
enrichments |
object | yes | |
fingerprint |
string | yes |
Responses
200Successful Response: object
Unenrich Alert
Section titled “Unenrich Alert”POST /alerts/unenrich
Needs write:alert.
Un-Enrich an alert
Body (application/json, required): UnEnrichAlertRequestBody
| Field | Type | Required | Description |
|---|---|---|---|
enrichments |
array of string | yes | |
fingerprint |
string | yes |
Responses
200Successful Response: object
Search Alerts
Section titled “Search Alerts”POST /alerts/search
Needs read:alert.
Search alerts
Body (application/json, required): SearchAlertsRequest
| Field | Type | Required | Description |
|---|---|---|---|
query |
PresetSearchQuery |
yes | |
timeframe |
integer | yes |
Responses
200Successful Response: array ofAlertDto
Get Multiple Fingerprint Alert Audit
Section titled “Get Multiple Fingerprint Alert Audit”POST /alerts/audit
Needs read:alert.
Get alert timeline audit trail for multiple fingerprints
Body (application/json, required): array of string
Responses
200Successful Response: array ofAlertAuditDto
Get Alert Audit
Section titled “Get Alert Audit”GET /alerts/{fingerprint}/audit
Needs read:alert.
Get alert timeline audit trail
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
fingerprint |
string | yes |
Responses
200Successful Response: array ofAlertAuditDto
Get Alert Quality
Section titled “Get Alert Quality”GET /alerts/quality/metrics
Needs read:alert.
Get alert quality
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
fields |
array of string or null | no | |
time_stamp |
string or null | no |
Responses
200Successful Response: object
Get Error Alerts
Section titled “Get Error Alerts”GET /alerts/event/error
Needs read:alert.
Get alerts that Avacom failed to process
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit |
integer | no |
Responses
200Successful Response: array ofAlertErrorDto
Dismiss Error Alerts
Section titled “Dismiss Error Alerts”POST /alerts/event/error/dismiss
Needs write:alert.
Dismiss error alerts. If alert_id is provided, dismisses that specific alert. If no alert_id is provided, dismisses all alerts.
Body (application/json): DismissAlertRequest
| Field | Type | Required | Description |
|---|---|---|---|
alert_id |
string or null | no |
Responses
200Successful Response: object