Skip to Content
API ReferenceGet Check

Get Check

Retrieve details for a single monitoring check.

Endpoint

GET /v1/public/checks/{id}

Path Parameters

ParameterTypeDescription
idstringThe unique check identifier

Response

{ "data": { "id": "abc123", "name": "Production Website", "url": "https://example.com", "type": "website", "method": "GET", "status": "up", "interval": 120, "region": "us-central", "expectedStatus": 200, "headers": {}, "body": null, "responseValidation": null, "consecutiveFailures": 0, "consecutiveFailureThreshold": 1, "lastChecked": "2025-01-15T14:30:00Z", "lastResponseTime": 245, "lastStatusCode": 200, "uptime": 99.95, "ssl": { "valid": true, "issuer": "Let's Encrypt", "subject": "example.com", "validFrom": "2025-01-15T00:00:00Z", "validTo": "2025-04-15T00:00:00Z", "serialNumber": "03:a1:b2:c3:d4", "fingerprint": "AB:CD:EF:12:34:56:78:90" }, "domain": { "name": "example.com", "registrar": "Namecheap", "expiresAt": "2026-06-01T00:00:00Z", "updatedAt": "2025-01-01T00:00:00Z" }, "createdAt": "2024-06-01T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z" } }

Error Responses

Check Not Found

{ "error": { "code": 404, "message": "Check not found" } }

Code Examples

cURL

curl -H "X-Api-Key: ek_live_your_key_here" \ "https://us-central1-exit1-dev.cloudfunctions.net/publicApi/v1/public/checks/abc123"

JavaScript

const response = await fetch( "https://us-central1-exit1-dev.cloudfunctions.net/publicApi/v1/public/checks/abc123", { headers: { "X-Api-Key": "ek_live_your_key_here", }, } ); const check = await response.json(); console.log(check.data);

Python

import requests response = requests.get( "https://us-central1-exit1-dev.cloudfunctions.net/publicApi/v1/public/checks/abc123", headers={"X-Api-Key": "ek_live_your_key_here"} ) check = response.json() print(check["data"])
Last updated on