Supercheck LogoSupercheck
Monitors API

Get monitor statistics

Returns performance statistics including uptime percentage, average response time, and p95 latency.

GET
/api/monitors/{id}/stats

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

Formatuuid

Response Body

application/json

application/json

application/json

curl -X GET "https://demo.supercheck.dev/api/monitors/497f6eca-6276-4993-bfeb-53cbbbba6f08/stats"
{
  "uptimePercent": 0.1,
  "avgResponseTime": 0.1,
  "p95ResponseTime": 0.1,
  "totalChecks": 0,
  "successfulChecks": 0,
  "failedChecks": 0
}
{
  "error": "Unauthorized"
}
{
  "error": "Not found"
}