StatusOK

Your service's heartbeat, in one clean JSON.

GET /status returns 200 OK with { "status": "ok", "uptime": 123 }. Content-Type: application/json — always. Uptime counts in seconds since the service started. No timestamps, no confusion.

Endpoints

MethodPathDescription
GET/statusService heartbeat — JSON with status and uptime in seconds
GET/healthSimple health check — {"status":"ok"}
GET/healthzPlatform probe — identical to /health
GET/metricsPrometheus text-format metrics (uptime, goroutines, heap)
GET/This documentation page

Quick Start

$ curl /status
{ "status": "ok", "uptime": 1324 }
$ curl -H "Accept: text/html" /status

Opens the live dashboard with the pulse-line visualisation.

$ curl /status?pretty

Pretty-prints the JSON with 2-space indentation for readability.

Integration

Go

resp, _ := http.Get("/status") var s struct { Status string Uptime int } json.NewDecoder(resp.Body).Decode(&s)

Python

import requests r = requests.get("/status") data = r.json() assert data["status"] == "ok"

curl + jq

curl -s /status | jq '.uptime' # → 1324

Try It

Click "Send" to see the response.