Admin
Get a packed snapshot of all monitor states (admin only)
Returns a packed snapshot of the current in-memory state for every monitor across every account. The response uses a compact columnar encoding to minimise payload size over the wire: states is the ordered string palette of status values, and each monitors tuple is [monitorID, accountID, stateIndex] where stateIndex is a zero-based index into states.
Requires admin auth via the same auth.RequireAdmin middleware that gates /api/v1/admin/ping.
get/api/v1/admin/monitors/state
Request
- Base URL: https://api.uptimemonitoring.com
- URL: https://api.uptimemonitoring.com/api/v1/admin/monitors/state
- Auth: HTTP bearer
Response
Packed monitor state snapshot.
Example response
{
"schema": "v1-packed",
"states": [
"unknown",
"up",
"down",
"paused",
"flapping"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.