Import one or more alert rules from a JSON array. Returns the result for each rule, indicating success or failure.
Documentation Index
Fetch the complete documentation index at: https://docs.flashcat.cloud/llms.txt
Use this file to discover all available pages before exploring further.
| Aspect | Value |
|---|---|
| Rate limits | 20 requests/minute; 2 requests/second per account |
| Permissions | Alerting Rules Manage (monit) |
POST /monit/rule/export).folder_id, ds_type, and either ds_list or ds_ids.App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.
Folder the rule belongs to.
Rule name.
Custom labels.
Data source type.
Data source name patterns (supports wildcards).
Specific data source IDs.
Rule evaluation configuration.
5-field cron schedule.
Time windows when the rule is active.
text, markdown Channel IDs to send alerts to.
Notification repeat interval in seconds.
Max number of repeat notifications.
Success
Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.