observability

Get an alert's full config

Changed on

Return one alert with its source / threshold / notifications JSON expanded. Use this before updating to confirm the current shape — partial_update merges into existing JSON, so you need to know what's already there.

get/observability/v1/alerts/{id}/

Request

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

Path parameters

idinteger required

A unique integer value identifying this alert.

Response

idinteger
namestring required

Alert name

enabledboolean

Enable/disable alert

projectinteger required

Project this alert belongs to

project_namestring
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_detailsobject

Get basic details about the source object

sourceunknown
thresholdunknown
notificationsunknown
last_triggered_atstring date-time nullable

Last trigger timestamp

trigger_countinteger

Total triggers count

created_atstring date-time
updated_atstring date-time
last_updated_byinteger nullable

User who last updated this alert

last_updated_by_emailstring nullable

Changes