fastmon Docs
Notifications

Evaluate now (dry-run)

Fehler melden

Run a single dry-run of the rule against live analytics data and return the observed value per site plus whether the condition is currently satisfied. No notification is dispatched and no state is written; useful for answering "would this fire right now?" without waiting for the worker or changing anything.

Authentifizierung

bearerAuth
headerAuthentifizierungBearer <token>

API token generated from the fastmon dashboard (Account → API Token) or at organization level (fmo_…, one that outlives its creator). Send as Authorization: Bearer fm_... or paste the full token (including its prefix) into the Authorize dialog.

Pfad-Parameter

rule_id*Rule Id
Formatuuid

Response-Body

Successful Response

application/json
  1. response
rule_id*Rule Id
Formatuuid
evaluated_at*Evaluated At
Formatdate-time
results*array<>
POST
/notification-rules/{rule_id}/evaluate
curl -X POST 'https://api.fastmon.eu/notification-rules/497f6eca-6276-4993-bfeb-53cbbbba6f08/evaluate'
{  "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60",  "evaluated_at": "2019-08-24T14:15:22Z",  "results": [    {      "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",      "domain": "string",      "value": 0,      "is_condition_met": true,      "reason": "string"    }  ]}