list_telemetry_alert_rules
const url = 'https://api.siteqwality.com/alert-rules/v2';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.siteqwality.com/alert-rules/v2 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”OK
object
object
object
object
object
Not used: a resolve goes to every channel told the episode fired.
object
Zero disables reminders. Timers use evaluated input time, never retries.
object
A log, span or trace query: the explorer URL, a saved view, a widget, an
alert rule and an MCP call all carry this. text and filters are AND-combined.
object
The signal of an [EventQuery].
The text grammar (6.5.2).
The f grammar (6.5.1), parsed for the signal’s scope.
A window of T2 tokens (now, now-2h) or instants (ISO 8601, epoch milliseconds), resolved
when the query is compiled, so a stored view stays rolling.
object
Group-by analytics over an [EventQuery]: a time series or a top list.
object
Up to three fields, in the f field syntax (service, @http.route).
object
A numeric field (duration, @db.rows); none for count.
A T2 bucket interval or auto; absent means auto.
Groups returned, 1 to 100; absent means 10.
object
A metrics query: lettered queries, formulas over them, one window.
object
object
The f grammar in metrics scope.
Top N series, at most 500.
A window of T2 tokens (now, now-2h) or instants (ISO 8601, epoch milliseconds), resolved
when the query is compiled, so a stored view stays rolling.
object
A T2 bucket interval or auto.
Overlay the same query this long ago, as 1w.
Query and formula ids to draw; empty draws the formulas, or every query when none.
object
Recompute this bounded recent interval; older late data never reissues a notification.
object
object
object
object
Not used: a resolve goes to every channel told the episode fired.
object
Zero disables reminders. Timers use evaluated input time, never retries.
Observed monitor health seconds, excluding maintenance and unobserved minutes.
object
object
object
A log, span or trace query: the explorer URL, a saved view, a widget, an
alert rule and an MCP call all carry this. text and filters are AND-combined.
object
The signal of an [EventQuery].
The text grammar (6.5.2).
The f grammar (6.5.1), parsed for the signal’s scope.
A window of T2 tokens (now, now-2h) or instants (ISO 8601, epoch milliseconds), resolved
when the query is compiled, so a stored view stays rolling.
object
Group-by analytics over an [EventQuery]: a time series or a top list.
object
Up to three fields, in the f field syntax (service, @http.route).
object
A numeric field (duration, @db.rows); none for count.
A T2 bucket interval or auto; absent means auto.
Groups returned, 1 to 100; absent means 10.
object
A metrics query: lettered queries, formulas over them, one window.
object
object
The f grammar in metrics scope.
Top N series, at most 500.
A window of T2 tokens (now, now-2h) or instants (ISO 8601, epoch milliseconds), resolved
when the query is compiled, so a stored view stays rolling.
object
A T2 bucket interval or auto.
Overlay the same query this long ago, as 1w.
Query and formula ids to draw; empty draws the formulas, or every query when none.
object
A log, span or trace query: the explorer URL, a saved view, a widget, an
alert rule and an MCP call all carry this. text and filters are AND-combined.
object
The signal of an [EventQuery].
The text grammar (6.5.2).
The f grammar (6.5.1), parsed for the signal’s scope.
A window of T2 tokens (now, now-2h) or instants (ISO 8601, epoch milliseconds), resolved
when the query is compiled, so a stored view stays rolling.
object
Group-by analytics over an [EventQuery]: a time series or a top list.
object
Up to three fields, in the f field syntax (service, @http.route).
object
A numeric field (duration, @db.rows); none for count.
A T2 bucket interval or auto; absent means auto.
Groups returned, 1 to 100; absent means 10.
object
A metrics query: lettered queries, formulas over them, one window.
object
object
The f grammar in metrics scope.
Top N series, at most 500.
A window of T2 tokens (now, now-2h) or instants (ISO 8601, epoch milliseconds), resolved
when the query is compiled, so a stored view stays rolling.
object
A T2 bucket interval or auto.
Overlay the same query this long ago, as 1w.
Query and formula ids to draw; empty draws the formulas, or every query when none.
object
A metrics query: lettered queries, formulas over them, one window.
object
object
The f grammar in metrics scope.
Top N series, at most 500.
A window of T2 tokens (now, now-2h) or instants (ISO 8601, epoch milliseconds), resolved
when the query is compiled, so a stored view stays rolling.
object
A T2 bucket interval or auto.
Overlay the same query this long ago, as 1w.
Query and formula ids to draw; empty draws the formulas, or every query when none.
object
object
Acknowledgment and resolution use the existing /incident/{id} actions.
Example
[ { "definition": { "definition": { "query": { "query": { "signal": "logs", "analytics": { "measure": { "op": "count" }, "display": "timeseries" } }, "type": "event" }, "comparison": { "type": "difference" }, "threshold": { "direction": "above", "missing_data": "keep" } }, "kind": "threshold" } }]