2 Data sources alerts
Forgejo Actions edited this page 2026-11-18 21:50:59 +00:00

xyops_alerts (Data Source)

Searches alert invocations (firing events of alert definitions) with search_alerts. Useful queries include active:true, alert:<alert id> and server:<server id>.

Schema

Optional

  • limit (Number) Maximum number of rows to return. Defaults to 100.
  • offset (Number) Zero-based row offset for pagination. Defaults to 0.
  • query (String) Search query in the xyOps index syntax, e.g. active:true, alert:<alert id>, server:<server id>, start:>=today. Defaults to all records.

Read-Only

  • alerts (List of Object) Matching alert invocation records in the order xyOps returned. (see below for nested schema)
  • total (Number) Total number of matching records, without pagination.

Nested Schema for alerts

Read-Only:

  • active (Boolean)
  • alert (String)
  • count (Number)
  • date (Number)
  • exp (String)
  • groups (List of String)
  • id (String)
  • jobs (List of String)
  • message (String)
  • modified (Number)
  • notified (Boolean)
  • server (String)
  • tickets (List of String)