Notifications
Notification history for a rule
Paginated history of notifications actually sent for this rule, newest first. Each row includes the metric value at fire time, the full context snapshot that was rendered into the notification, and the per-action delivery log (status, delivered / failed counts, error messages).
This is what powers the "History" tab in the rule detail dialog.
Authorization
bearerAuth AuthorizationBearer <token>
API token generated from the fastmon dashboard (Account → API Token). Send as Authorization: Bearer fm_... or paste the full token (including the fm_ prefix) into the Authorize dialog.
In: header
Path Parameters
rule_id*Rule Id
Format
uuidQuery Parameters
offset?Offset
Range
0 <= valueDefault
0limit?Limit
Range
1 <= value <= 100Default
50Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/notification-rules/497f6eca-6276-4993-bfeb-53cbbbba6f08/sends"{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60", "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811", "sent_at": "2019-08-24T14:15:22Z", "metric_value": 0, "context": {}, "delivery_log": [ null ] } ], "meta": { "total": 0, "limit": 0, "offset": 0, "has_more": true }}{ "error": { "code": "string", "message": "string", "request_id": "string", "doc_url": "string", "details": {} }}{ "error": { "code": "string", "message": "string", "request_id": "string", "doc_url": "string", "details": {} }}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}{ "error": { "code": "string", "message": "string", "request_id": "string", "doc_url": "string", "details": {} }}