Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: JNexum Health API
version: 0.2.0
tags:
- name: Health
paths:
/health:
get:
summary: Health
operationId: health_health_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Health
/health/db:
get:
summary: Health Db
description: 'Pro monitor externo de uptime (Better Stack) — diferente do /health acima,
que não toca no banco de propósito (é o healthcheck do próprio Railway; não
pode derrubar o container por causa do Postgres). Esse aqui faz um SELECT 1
real com timeout curto: se o banco estiver fora do ar ou travado, retorna 503
em vez de "ok" (achado do incidente de 27h40 em 09/09 — ninguém percebeu
porque o /health ficou "saudável" o tempo todo com o banco morto).'
operationId: health_db_health_db_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Health