Skip to content
TriedDocs
Account

List alert events

Read the alert history: triggers, resolutions and tests.

GEThttps://api.tried.com.au/alert-events

Returns alert events for the workspace, newest first. An event is recorded each time a rule triggers, resolves or sends a test.

Request#

Field Type Required Description
alert_id string No Only events for this alert rule.
limit integer No 1 to 500. Default 100.

Both are query parameters.

Example request#

curl "https://api.tried.com.au/alert-events?alert_id=alert_3f9a1c7e2b8d4a6f0e1c5b92&limit=20" \
  -H "Authorization: Bearer $TRIED_API_KEY"
const res = await fetch("https://api.tried.com.au/alert-events?alert_id=alert_3f9a1c7e2b8d4a6f0e1c5b92&limit=20", {
  headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
const events = await res.json();
import os, requests

res = requests.get(
    "https://api.tried.com.au/alert-events",
    headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
    params={
        "alert_id": "alert_3f9a1c7e2b8d4a6f0e1c5b92",
        "limit": 20,
    },
)
events = res.json()

Response#

200 OK

[
  {
    "alert_event_id": "alert_event_8c2e4f6a1b3d5c7e9f0a2b4c",
    "alert_id": "alert_3f9a1c7e2b8d4a6f0e1c5b92",
    "alert_name": "High p90 latency",
    "kind": "triggered",
    "value": 1720,
    "threshold": 1500,
    "message": "High p90 latency: e2e_latency_p90 is 1720 (> 1500) over the last 60 min",
    "created_timestamp": 1792398600000
  }
]
Field Type Description
alert_event_id string Event ID, prefixed alert_event_.
kind string triggered, resolved or test.
value number or null Metric value at the time of the event.
threshold number The rule's threshold at the time of the event.
message string Text used in the email and webhook.

Errors#

Status When
400 limit is outside 1 to 500 or not an integer.
401 Missing or invalid API key.
403 The key's IP allowlist or scopes reject the request. This route needs the analytics scope.
429 Rate limit exceeded. See Rate limits.

See Errors for the body format.

Retell compatibility#

Retell's public API reference has no alerting endpoints, so this route has no Retell SDK equivalent.