Emit stale in-progress handoff notifications (GET)
GET
/cron/stale-in-progress
const url = 'https://example.com/api/cron/stale-in-progress';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/cron/stale-in-progressChecks for handoff tickets stuck in in_progress beyond threshold and emits notifications. Protected by CRON_SECRET via x-cron-secret header or token query parameter.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” token
string
Optional CRON_SECRET for GET callers
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