Monitors API
Get monitor details
Retrieve full details for a monitor including recent check results. Request authentication credentials, request headers, and request bodies are omitted from config unless the caller has monitor:update permission. Users with update permission receive the full configuration for editing.
GET
bearerAuthheader
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.
id*stringMonitor ID
Format
uuidMonitor details
application/json- response
id?stringFormat
uuidorganizationId?stringFormat
uuidprojectId?stringFormat
uuidcreatedByUserId?stringFormat
uuidcreatedByName?stringcreatedByImage?stringname?stringdescription?stringtarget?stringURL, host, or synthetic test target being monitored
type?stringValue in
"http_request""website""ping_host""port_check""synthetic_test"status?stringValue in
"up""down""paused""pending""maintenance""error"frequencyMinutes?integerCheck interval in minutes
enabled?booleanconfig?|nullalertConfig?|nulllastCheckAt?stringFormat
date-timelastStatusChangeAt?stringFormat
date-timemutedUntil?stringFormat
date-timescheduledJobId?stringrecentResults?array<>createdAt?stringFormat
date-timeupdatedAt?stringFormat
date-timecurl -X GET 'https://demo.supercheck.dev/api/monitors/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8", "createdByUserId": "4d2aef9a-17b0-44e6-902e-616812033620", "createdByName": "string", "createdByImage": "string", "name": "string", "description": "string", "target": "string", "type": "http_request", "status": "up", "frequencyMinutes": 0, "enabled": true, "config": { "method": "GET", "headers": { "property1": "string", "property2": "string" }, "body": "string", "expectedStatusCodes": "string", "keywordInBody": "string", "keywordInBodyShouldBePresent": true, "auth": { "type": "none", "username": "string", "password": "string", "token": "string" }, "port": 0, "protocol": "tcp", "expectClosed": true, "enableSslCheck": true, "sslDaysUntilExpirationWarning": 0, "sslCheckFrequencyHours": 0, "sslLastCheckedAt": "2019-08-24T14:15:22Z", "timeoutSeconds": 1, "regions": [ "string" ], "locationConfig": { "enabled": true, "locations": [ "string" ], "threshold": 0, "strategy": "all" }, "alertChannels": [ "string" ], "testId": "82d0c3c7-a664-4ee3-9f0e-ea5738ca0af0", "testTitle": "string", "playwrightOptions": { "headless": true, "timeout": 0, "retries": 0 } }, "alertConfig": { "enabled": true, "notificationProviders": [ "9b51326e-6c58-4421-93f5-8536d56072b8" ], "alertOnFailure": true, "alertOnRecovery": true, "alertOnSslExpiration": true, "failureThreshold": 1, "recoveryThreshold": 1, "customMessage": "string", "incidentEnabled": true, "incidentSeverity": "sev1", "autoResolveIncident": true }, "lastCheckAt": "2019-08-24T14:15:22Z", "lastStatusChangeAt": "2019-08-24T14:15:22Z", "mutedUntil": "2019-08-24T14:15:22Z", "scheduledJobId": "string", "recentResults": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "monitorId": "075fef10-8522-4c43-ac39-f1796133943e", "checkedAt": "2019-08-24T14:15:22Z", "location": "string", "status": "up", "responseTimeMs": 0, "details": { "statusCode": 0, "statusText": "string", "errorMessage": "string", "responseHeaders": { "property1": "string", "property2": "string" }, "responseBodySnippet": "string", "ipAddress": "string", "location": "string", "sslCertificate": { "valid": true, "issuer": "string", "subject": "string", "validFrom": "string", "validTo": "string", "daysRemaining": 0 } }, "isUp": true, "isStatusChange": true, "consecutiveFailureCount": 0, "consecutiveSuccessCount": 0, "alertsSentForFailure": 0, "alertsSentForRecovery": 0, "testExecutionId": "string", "testReportS3Url": "string", "executionGroupId": "string" } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}