Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.lumina-org.com/llms.txt

Use this file to discover all available pages before exploring further.

The Lumina API exposes a single status endpoint. There’s no separate status page provider — /health is the source of truth, and you can poll it directly:
curl https://lumina-api-production-ac85.up.railway.app/health

Live response

What the fields mean

FieldMeaning
statusok if the service is processing requests; degraded otherwise
chain.chainIdAlways 84532 (Base Sepolia) on the current deploy
chain.blockThe most recent block the API has observed via RPC
chain.rpcConnectedfalse indicates the upstream RPC is unreachable — buys/triggers will start failing soon
relayer.addressThe wallet that signs purchasePolicyFor
relayer.balanceWeiRefresh budget for gas. Below ~0.005 ETH means re-fund is overdue
contractsMap of canonical contract addresses

Programmatic monitoring

import { LuminaClient } from '@lumina-org/sdk'

const lumina = new LuminaClient({ apiKey: '' })
const h = await lumina.health()

if (!h.chain.rpcConnected) alert('RPC down')
if (BigInt(h.relayer.balanceWei) < 5_000_000_000_000_000n) alert('relayer low gas')

Schema

The full response schema is in the OpenAPI spec at /openapi.json (search components.schemas.Health).