3001) for health checks, monitor state inspection, and manual trigger operations.
Base URL
SCHEDULER_URL environment variable.
Endpoints
GET /health
Health check endpoint that returns the scheduler status and region information. Responsestatus(string): Always returns"ok"if the scheduler is runningregion(string): The region identifier for this scheduler instance (fromPONGO_REGION,FLY_REGION, or"default")
GET /monitors
List all monitors with their current state. Responsemonitors(array): List of monitor statesid(string): Monitor identifierregion(string): Scheduler regionlastRun(string|null): ISO 8601 timestamp of last executionlastStatus(string|null): Last status result ("up","down", or"degraded")isRunning(boolean): Whether the monitor is currently executingconsecutiveFailures(number): Number of consecutive failures
region(string): The scheduler’s region identifier
GET /monitors/:id
Get detailed state for a single monitor. Parametersid(path): Monitor identifier
404
Fields
id(string): Monitor identifierlastRun(string|null): ISO 8601 timestamp of last executionlastStatus(string|null): Last status result ("up","down", or"degraded")lastResponseTime(number|null): Response time in millisecondslastMessage(string|null): Optional status message from the monitor handlerisRunning(boolean): Whether the monitor is currently executingconsecutiveFailures(number): Number of consecutive failures
POST /monitors/:id/trigger
Manually trigger a single monitor execution. Parametersid(path): Monitor identifier
404
Fields
triggered(boolean): Alwaystrueon successid(string): Monitor identifierstatus(string|null): Status result after execution ("up","down", or"degraded")responseTime(number|null): Response time in milliseconds
POST /monitors/trigger
Manually trigger multiple monitors in parallel. Used by the dashboard for bulk operations. Request Body400
Fields
triggered(boolean): Alwaystrueon successresults(array): Results for each monitorid(string): Monitor identifierstatus(string|null): Status result ("up","down", or"degraded"), orerrorfield if not foundresponseTime(number|null): Response time in millisecondserror(string): Error message if monitor not found
Multi-Region Behavior
Each scheduler instance includes its region identifier in responses. This is useful when running multiple schedulers across different geographic regions:regionThreshold option on alerts to control when they fire based on regional failures.
Manual Trigger from Dashboard
To enable the manual run button in the dashboard UI, set:/monitors/:id/trigger and /monitors/trigger endpoints for manual executions.