Manually trigger sending of scheduled alerts.Uses current datetime to determine which alerts are ready to be sent.This matches the behavior of the scheduled cron job.Returns-------success : bool True if successful, False if notmessages : list of str List of human-readable error messagesdata : dict Statistics about the operation: - sent_count: Number of alerts successfully sent - skipped_count: Number of alerts this run neither sent nor dead-lettered (no alert_email was set, a fresh re-read showed the note or its reference had recovered, or the guarded dead-letter update matched no row because the alert had since been corrected, rescheduled, retired, or deleted) - error_count: Number of alerts whose processing ended in an error (the send failed or had no deliverable recipient, or an exception was raised anywhere in the per-alert processing - lookup, dead-lettering, sending, or the post-send retirement) - dead_lettered_count: Number of alerts permanently retired without sending (e.g. the note's reference no longer resolves)
send_scheduled_alerts › Request Body
Request Schema for /api/v2/alerts/send_scheduled_alerts