Open app
Moonborn — API · system

Liveness probe — always 200 if the process is up

GET/v1/healthscope · Public (no auth)

Responses

200Process is alive
Body
FieldTypeDescription
statusreqobject
tsreqstring

Examples

cURL
curl -X GET https://api.moonborn.co/v1/health \
  -H "Authorization: Bearer $MOONBORN_API_KEY"
TypeScript
import Moonborn from '@moonborn/sdk';

const client = new Moonborn({ apiKey: process.env.MOONBORN_API_KEY });

const result = await client.system.getHealth();
Python
import os
from moonborn import Moonborn

client = Moonborn(api_key=os.environ["MOONBORN_API_KEY"])

result = client.system.get_health()