observability

GET /observability/v1/alerts/trigger_summary/

Changed on

Return fire counts per alert over a time window.

Powers the "Last 24h" status pill on the alerts list. Counts CallLogAlert rows linked to each alert in the project, scoped to the window.

Query params: project_id: required, scopes the result to alerts in this project. hours: optional, defaults to 24. Window size in hours.

Returns: { "<alert_id>": <fire_count>, ... }

Request

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

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