Tool
observe_alerts_get
Read one alert rule of this product, with its current state and last firing.
Read one alert rule of this product, with its current state and last firing.
Behavior
- HTTP
GET /observe/alerts/:id
Arguments
Name | Type | Required | Description |
|---|---|---|---|
id | string | • | Identifier of the rule |
Response
Field | Type | Always | Description |
|---|---|---|---|
id | string | • | Identifier of the rule |
kind | string | • | What the rule measures |
name | string | • | Human name the rule was registered under |
state | string | • | firing means the condition is met right now |
enabled | boolean | • | Whether the evaluator measures it every minute |
condition | object | • | The kind’s parameters: threshold and window, plus q for log_match |
createdAt | string | • | ISO 8601 creation timestamp |
updatedAt | string | • | ISO 8601 timestamp of the last change |
lastFiredAt | string | • | ISO 8601 time it last fired, or null |
throttleMinutes | number | • | How long after firing the rule stays quiet |
Try it
Read one alert rule of this product, with its current state and last firing.