Supercheck LogoSupercheck
Monitors API

Get monitor details

Retrieve full details for a monitor including recent check results.

GET
/api/monitors/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

CLI token (sck_live_*) for full API access, or trigger key (sck_trigger_* / legacy job_*) for job trigger endpoint only.

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"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "target": "http://example.com",
  "type": "http_request",
  "status": "up",
  "frequencyMinutes": 0,
  "timeout": 0,
  "method": "string",
  "active": true,
  "lastCheckAt": "2019-08-24T14:15:22Z",
  "responseTime": 0,
  "createdAt": "2019-08-24T14:15:22Z"
}
{
  "error": "Unauthorized"
}
{
  "error": "Not found"
}