Sweep stale analysis jobs (GET)
GET
/cron/analysis-jobs
const url = 'https://example.com/api/cron/analysis-jobs';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/analysis-jobsDaily backstop for analysis_jobs nobody is polling: requeues+kicks interrupted runs with retry budget left, fails the rest and writes through to their domain tables. Protected by CRON_SECRET via x-cron-secret header.
Responses
Section titled “ Responses ”Sweep result
Media type application/json
object
ok
required
boolean
requeued
required
integer
failed
required
integer
Missing or invalid CRON_SECRET