Create a monitor
Create a new uptime or performance monitor. For type: heartbeat the target is empty and the response adds heartbeat.pingUrl (returned only here). New heartbeat monitors default to a sev2 incident on a missed run and the heartbeat_late warning off. See /docs/app/heartbeat.
bearerAuthAuthorizationBearer <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.
application/json- body
name*stringdescription?stringtype*stringMonitor type. A heartbeat monitor cannot change to another type, and no other type can change to heartbeat.
"http_request""http_request""website""ping_host""port_check""synthetic_test""heartbeat""mcp_server"target?stringURL, host, or synthetic test target. Empty (or omitted on create) for heartbeat monitors, which receive pings instead.
frequencyMinutes?integerCheck interval in minutes. Whole minutes, 1 to 1440; for heartbeat the expected ping interval, 1 to 44640 (31 days). config.timeoutSeconds must not exceed this interval in seconds.
1 <= value <= 446405enabled?booleantrueconfig?alertConfig?Monitor created
application/json- response
id?stringuuidorganizationId?stringuuidprojectId?stringuuidcreatedByUserId?stringuuidcreatedByName?stringcreatedByImage?stringname?stringdescription?string|nulltarget?stringURL, host, or synthetic test target. Empty (or omitted on create) for heartbeat monitors, which receive pings instead.
type?string"http_request""website""ping_host""port_check""synthetic_test""heartbeat""mcp_server"status?string"up""down""paused""pending""maintenance""error"frequencyMinutes?integerCheck interval in minutes; for heartbeat the expected ping interval
enabled?booleanconfig?|nullalertConfig?|nulllastCheckAt?|date-timelastStatusChangeAt?|date-timeinMaintenance?booleanList responses only. True while a maintenance window covers the monitor; status keeps the real up/down value.
scheduledJobId?string|nullcreatedAt?stringdate-timeupdatedAt?stringdate-timeheartbeat?Present for heartbeat monitors only.
curl -X POST 'https://app.supercheck.io/api/monitors' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "type": "http_request"}'{ "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", "secretKey": "string" }, "aiEndpoint": { "secretKey": "string", "keyHeader": "Authorization", "model": "string", "prompt": "Reply with the single word OK.", "maxTokens": 16, "expectText": "string", "firstTokenTimeoutMs": 15000, "warnFirstTokenMs": 100, "warnTotalTokens": 1 }, "aiEndpointState": { "lastServedModel": "string" }, "mcp": { "auth": { "type": "none", "secretKey": "string", "headerName": "string" }, "protocol": "auto", "requiredTools": [ "string" ], "toolCall": { "name": "string", "arguments": {}, "expectText": "string" }, "slowMs": 100 }, "mcpState": { "detectedProtocol": "2025", "baseline": { "hash": "string", "takenAt": "2019-08-24T14:15:22Z", "tools": [ { "name": "string", "fingerprint": "string" } ] }, "changes": [ { "at": "2019-08-24T14:15:22Z", "added": [ "string" ], "removed": [ "string" ], "changed": [ { "name": "string", "reasons": [ "description" ] } ] } ] }, "port": 0, "protocol": "tcp", "expectClosed": true, "enableSslCheck": true, "sslDaysUntilExpirationWarning": 0, "sslCheckFrequencyHours": 0, "sslLastCheckedAt": "2019-08-24T14:15:22Z", "sslProbeFailure": { "since": "2019-08-24T14:15:22Z", "host": "string" }, "sslCertificate": { "valid": true, "issuer": "string", "subject": "string", "validFrom": "2019-08-24T14:15:22Z", "validTo": "2019-08-24T14:15:22Z", "daysRemaining": 0, "host": "string" }, "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 }, "heartbeat": { "graceMinutes": 1 } }, "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, "warnings": { "property1": true, "property2": true } }, "lastCheckAt": "2019-08-24T14:15:22Z", "lastStatusChangeAt": "2019-08-24T14:15:22Z", "inMaintenance": true, "scheduledJobId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "heartbeat": { "state": "pending", "lastPingAt": "2019-08-24T14:15:22Z", "lastPingKind": "ping", "lastStartAt": "2019-08-24T14:15:22Z", "nextExpectedAt": "2019-08-24T14:15:22Z", "graceMinutes": 0, "pingUrl": "http://example.com" }}