Spoar
Jobs

Queue and send alerts

POST
/v2/admin/jobs/alerts

Queues new issues and regressions, up to 100 per run, and speed drops (yesterday's Real Experience Score against the 7 days before it), as one delivery per subscribed alert target, then sends every due delivery, one mail or request per target, retrying failures by the retry policy; rowsWritten is the number sent. Answers 503 when alerts() is not in the config. Needs the cron secret.

Authorization

cronSecret
AuthorizationBearer <token>

The CRON_SECRET the scheduled jobs workflow sends.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v2/admin/jobs/alerts"
{  "data": {    "job": "rollup",    "status": "ok",    "startDay": "2026-09-19",    "days": 8,    "rowsWritten": 1880,    "durationMs": 4120  }}