List events for an alert
Return raw events for an alert with cursor or page-number pagination.
Restrictions
| Aspect | Value |
|---|---|
| Rate limits | 1,000 requests/minute; 50 requests/second per account |
| Permissions | Channels Read (on-call) |
Usage
- Results are newest-first by default. Set
asc=trueto read events oldest-first. - Use
limitwithsearch_after_ctxfrom the previous response to fetch the next page. - Classic page-number pagination is also supported with
p, butp * limitmust stay within 10,000 records. - Each alert can accumulate a large raw event history; prefer cursor pagination for hot alerts.
Authorizations
App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.
Body
Alert ID (MongoDB ObjectID).
^[0-9a-fA-F]{24}$When true, return events oldest-first. Defaults to newest-first.
Page size. Defaults to 20 and cannot exceed 100.
0 <= x <= 100Page number starting at 1. Used when search_after_ctx is omitted.
x >= 0Cursor returned by the previous page. When supplied, cursor pagination is used instead of page-number pagination.
^[0-9a-fA-F]{24}$Response
Success
Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.