Synpath
Venues

Health check

Whether your server is up, without calling any venue.

GET/healthself-hosted · no auth

Self-hosted. Served by synpath serve on your own machine or host, which must be running. Nothing on this page runs on Synpath's servers.

Answers from the server alone, so it stays useful when a venue is down. Use it for uptime checks and load balancers.

Response

Always 200 while the server runs.

import httpx

r = httpx.get("http://127.0.0.1:8000/health")
r.raise_for_status()
print(r.json())
200
{
  "status": "ok",
  "version": "0.1.0"
}