Skip to main content
GET
/
health
Typescript (SDK)
import { Screenshothis } from "@screenshothis/sdk";

const screenshothis = new Screenshothis();

async function run() {
  const result = await screenshothis.health.get();

  console.log(result);
}

run();
{
  "status": "healthy",
  "timestamp": "<string>",
  "uptime": 123,
  "checks": [
    {
      "name": "<string>",
      "status": "pass",
      "duration": 123,
      "details": {},
      "error": "<string>"
    }
  ],
  "version": "1.0.0"
}

Response

Health check passed

Performs a comprehensive health check of all critical system components including database connectivity, storage availability, job queue status, and S3 functionality. Returns detailed status information for monitoring and alerting systems.

status
enum<string>
required

Overall health status of the system

Available options:
healthy,
degraded,
unhealthy
timestamp
string
required

Timestamp of the health check

uptime
number
required

Uptime of the service in seconds

checks
object[]
required

Array of health check results

version
string

Application version or commit hash

Example:

"1.0.0"