Monitors API
Get monitor location stats
Return per-location aggregated statistics (uptime, response times) for a monitor over the requested window.
Authorization
bearerAuth AuthorizationBearer <token>
Project-scoped CLI token (sck_live_* or sck_test_*) for documented API operations that accept bearer authentication. Interactive browser operations may require a session cookie. Trigger keys (sck_trigger_* / legacy job_*) are accepted only by job trigger endpoints.
In: header
Path Parameters
id*string
Monitor ID
Format
uuidQuery Parameters
days?integer
Number of days to look back (1-90)
Default
7Range
1 <= value <= 90Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://demo.supercheck.dev/api/monitors/497f6eca-6276-4993-bfeb-53cbbbba6f08/location-stats"[
{
"location": "string",
"totalChecks": 0,
"upChecks": 0,
"uptimePercentage": 0,
"avgResponseTime": 0,
"minResponseTime": 0,
"maxResponseTime": 0
}
]Empty
{
"error": "Unauthorized"
}{
"error": "string"
}{
"error": "Not found"
}Empty