Better Stack: API Design & Resource Model
Docs-backedThe REST API at uptime.betterstack.com/api/v2 follows conventional REST patterns: monitors, monitor_groups, heartbeats, incidents, on_call_calendars, and status_pages are top-level resources. CRUD operations use standard HTTP verbs with JSON payloads. Pagination uses cursor-based pagination with next and prev URLs in the response. The Logs API at logs.betterstack.com uses a separate endpoint for log ingestion and querying. Status page updates support incident creation and component status changes. Heartbeat monitoring (cron job verification) uses simple HTTP pings to unique URLs — agents just hit the URL on success. The API surface is small enough to learn quickly but lacks the depth of enterprise monitoring APIs.