Skip to main content

Health

GET /health
Returns a static liveness indicator. Implementation:
router.get("/", (_req, res) => {
  res.json({ status: "UP" });
});
Response 200
{ "status": "UP" }
The TypeScript SDK’s HealthApi.health() return type (HealthStatus) additionally models optional version and timestamp fields, but the current route implementation only ever returns status.

Version

GET /version
Implementation:
router.get("/", (_req, res) => {
  res.json({ name: "Parmana", version: "0.4.0", api: "v1" });
});
Response 200
{ "name": "Parmana", "version": "0.4.0", "api": "v1" }
This value is currently hardcoded in the route handler rather than sourced from package.json (which is at 0.1.0 at the monorepo root) — the two numbers are not the same thing and shouldn’t be assumed to move together.