Skip to main content

Monitoring alerts

When a monitoring ruleset fires for a customer, Walker Street Data sends a monitoring.rule.triggered webhook event. This page covers subscribing to it and reading its payload. For how metrics, rules and rulesets work, see Monitoring in the Overview.

Subscribing​

Subscribe to the monitoring.rule.triggered event the same way as any other webhook event (see Create a subscription). The event is accepted only once monitoring is enabled on your account.

One subscription receives firings for all rulesets on your account. Pass customerIds to scope it to particular customers, or leave it empty for a catch-all (see Scoping to customers).

The payload​

Each ruleset that fires raises one webhook event, so three rulesets containing the same rule send three events. A ruleset that stays true re-fires on each evaluation. If the ruleset has a cooldown, after it fires for a customer, it stays quiet for that customer for the agreed number of hours. Changing a ruleset's definition resets its cooldown.

The payload is the common webhook envelope (eventType, eventId, clientId, customerId, timestamp) plus a ruleset object. It does not carry the job fields (jobId, abn, jobType).

FieldTypeDescription
eventIduuidIdentifier of this ruleset evaluation
ruleset.iduuidIdentifier of the ruleset
ruleset.slugstringStable machine-readable ruleset slug
ruleset.namestringHuman-readable name of the ruleset
ruleset.recommendedActionsstring[]Actions agreed for when this ruleset fires
ruleset.metrics[].iduuidA metric the ruleset references
ruleset.metrics[].evidence[].kindstringKind of evidence, currently transactions
ruleset.metrics[].evidence[].countintegerHow many transactions the metric was calculated from
ruleset.metrics[].evidence[].urlstringWhere to fetch those transactions
{
"eventType": "monitoring.rule.triggered",
"eventId": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
"clientId": "a0ced7e1-da3a-40ea-a18f-4c829f816c6a",
"customerId": "524ba9bc-06e7-417e-bd54-b99785f5194a",
"timestamp": "2026-07-13T02:15:00Z",
"ruleset": {
"id": "184ba9bc-06e7-417e-bd54-b99785f5199a",
"slug": "REVENUE_DROP",
"name": "Revenue drop detected",
"recommendedActions": ["Review the customer's recent statements"],
"metrics": [
{
"id": "7c1e2f3a-4b5d-4e6f-8a9b-0c1d2e3f4a5b",
"evidence": [
{
"kind": "transactions",
"count": 42,
"url": "https://api.walkerstdata.com.au/v1/rulesets/evaluations/b2c3d4e5-f6a7-8901-bcde-f23456789012/evidence?metricId=7c1e2f3a-4b5d-4e6f-8a9b-0c1d2e3f4a5b&kind=transactions"
}
]
}
]
}
}

The webhook tells you which ruleset fired, not which rule within it. Route on ruleset.slug (stable) - ruleset.name is display text that may change. Every metric the ruleset references is listed under ruleset.metrics, with an empty evidence list when it has none. Follow an evidence url (Get ruleset evaluation evidence) to fetch the transactions behind a value or pull the customer's Insights for the wider picture.

Reading your metrics​

You can read your metrics through the API with the metrics:read scope: Get metric catalogue lists the templates, List metrics return the metrics configured and Get metric return the metric value on your account.

  • Webhooks - Subscribe, verify signatures, and handle deliveries
  • Insights - Pull a customer's Completeness, Risk Score and Aggregate on demand