Emit stale in-progress handoff notifications (POST)
POST
/cron/stale-in-progress
const url = 'https://example.com/api/cron/stale-in-progress';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/cron/stale-in-progressProtected by CRON_SECRET via x-cron-secret header or token query parameter.
Responses
Section titled “ Responses ”Notification sweep result
Media type application/json
object
ok
required
boolean
notified
required
integer
errors
required
integer
Missing or invalid CRON_SECRET