Skip to main content

Alerts

List Alerts

Returns the alerts visible to the caller, newest first. Use starting_after or ending_before to page.

Create an Alert

Creates a threshold alert in a project. The alert’s query is validated against the Reporting API metric catalogue and the evaluation schedule starts immediately when enabled is true. Plan limits apply to the number of alerts and the minimum evaluation interval.

Retrieve an Alert

Retrieves an alert by ID.

Delete an Alert

Permanently deletes an alert together with its trigger history and events, and stops the evaluation schedule.

Update an Alert

Updates alert metadata, query, condition, notifiers, or enabled state. Query and condition changes restart the evaluation schedule; disabling stops it. project_id is immutable.

List Triggers

Returns the trigger history of an alert, newest first. A trigger is one breach incident: it opens when the threshold is first crossed and resolves when the value recovers.

List Trigger Events

Returns the evaluation events recorded while a trigger was open, newest first. Each event carries the observed value and, when available, exemplar traces that contributed to the breach.