observability

List alerts in a project

Changed on

Return all alerts configured in the project, including their sub_type (normal | significant_change | threshold), source metric, current Slack/notification config, and trigger counters. Use before creating a new alert to check if one already exists on the same metric.

get/observability/v1/alerts/

Request

  • Base URL
    https://api.cekura.ai
  • URL
    https://api.cekura.ai/observability/v1/alerts/
  • Auth
    • API key in header X-CEKURA-API-KEY
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Query parameters

project_idinteger

Project this alert belongs to

source_type'metric'

Type of data source: metric, duration, call_volume, etc.

  • metric - Metric
enabledboolean
searchstring

A search term.

orderingstring

Which field to use when ordering the results.

Response

idinteger
namestring required

Alert name

enabledboolean

Enable/disable alert

projectinteger required

Project this alert belongs to

source_type'metric' required

Type of data source: metric, duration, call_volume, etc.

  • metric - Metric
source_idinteger nullable

ID of monitored object

source_object_namestring
source_object_eval_typestring
sourceunknown
thresholdunknown
notificationsunknown
trigger_countinteger

Total triggers count

last_triggered_atstring date-time nullable

Last trigger timestamp

last_triggered_at_formattedstring

Return human-readable last triggered time

created_atstring date-time
updated_atstring date-time

Changes