Docs
Documentation
Everything you need to set up monitors, alerts and status pages.
Getting started
- Create an account and confirm your email address.
- Open Monitors → New monitor and enter the URL to check, or choose Heartbeat for a scheduled job.
- Your account email is added as an alert channel automatically. Add more under Alerts.
- Optionally publish a status page under Status pages.
HTTP monitors
At every interval we send a GET or HEAD request to your URL and evaluate the response:
- Expected status codes: a list such as
200-299or200-399,401. Anything else counts as a failure. - Keyword: optionally require that the body contains (or does not contain) a word, case-insensitive. The first 1 MB of the body is checked.
- Timeout: from 1 to 30 seconds. Timeouts, DNS errors, refused connections and invalid TLS certificates are failures.
- Redirects: followed (up to 5) unless you turn this off.
- Confirmation: the monitor is marked down only after the configured number of consecutive failures (1 to 5). You get one alert when it goes down and one when it recovers.
Only public internet addresses can be monitored. Private ranges (such as 10.0.0.0/8 or 192.168.0.0/16), loopback and link-local addresses are blocked, including after redirects.
API checks
Open Request headers, body & JSON check on an HTTP monitor to test authenticated or POST endpoints:
- Method: GET, HEAD or POST.
- Headers: one
Name: valueper line, up to 20. Values are encrypted at rest and never displayed again. When editing, leave••••••to keep a saved value. - Body: sent as-is for POST requests, up to 10 KB. Set
Content-Typeyourself. - JSON check: a field such as
statusordata.items[0].idmust exist, and optionally equal a value such asokortrue.
AI model APIs
Choose AI model API when creating a monitor, then pick a provider, enter the model ID and an API key. The first check runs within seconds of saving; use Test connection to try the settings before you save.
| Provider | Model responds (inference) | API & key are valid |
|---|---|---|
| OpenAI-compatible | POST /chat/completions | GET /models |
| Anthropic | POST /v1/messages | GET /v1/models |
| Google Gemini | POST /v1beta/models/{model}:generateContent | GET /v1beta/models/{model} |
- Inference checks send the fixed prompt
pingwith a limit of one output token, at most every 5 minutes. They prove the model can answer and record end-to-end latency. They use a small number of tokens on your provider account. - API & key checks use no tokens. They confirm the endpoint is reachable and the key is accepted.
- A check fails on timeouts, non-2xx responses (for example
401invalid key,404unknown model,429rate limit or quota) or an unexpected response format. The provider's error message is shown with your key redacted. - The Base URL can point to a gateway or relay that speaks the same API, for example an OpenAI-compatible proxy.
- Keys are encrypted with AES-256-GCM, shown only as
sk-p…1234after saving, and are never included in alerts or webhooks. We never store or display model output. Use a dedicated key with a spending limit.
Cron heartbeats
A heartbeat monitor expects your job to call its unique URL. You choose the expected interval and a grace period. If no ping arrives within interval + grace, the monitor goes down.
# Ping after a successful run
curl -fsS --retry 3 https://lunaailab.com/api/heartbeat/<token>
# GET, POST and HEAD are all accepted
wget -q -O /dev/null https://lunaailab.com/api/heartbeat/<token>A successful ping returns 200 OK. An unknown token returns 404. Pings to a paused monitor are accepted but not evaluated.
Alert channels
- Email (all plans). Additional addresses must be confirmed by clicking a link we send them.
- Slack: create an Incoming Webhook in Slack and paste its
https://hooks.slack.com/…URL. - Discord: in channel settings, create a webhook and paste its
https://discord.com/api/webhooks/…URL. - Webhook: any HTTPS endpoint that accepts a JSON
POST. Respond with a 2xx status within 10 seconds.
Use Send test alert on the Alerts page to check a channel. The delivery log shows the result of each alert.
Webhook payload
Events: monitor.down, monitor.up, monitor.ssl_expiry and test.
{
"event": "monitor.down",
"occurred_at": "2026-01-15T08:31:02.114Z",
"monitor": {
"id": "9b0c…",
"name": "Public API",
"url": "https://api.example.com/health",
"type": "http"
},
"cause": "Unexpected HTTP status 503 (expected 200-399).",
"downtime_seconds": null,
"ssl_expires_at": null,
"dashboard_url": "https://lunaailab.com/app/monitors/9b0c…"
}Status pages
Each status page has a public address like https://lunaailab.com/s/your-company. Choose which monitors to show and the name displayed for each. Visitors see the current state, the 90-day uptime history and an optional announcement, for example a maintenance notice. URLs of your monitors are never shown on the status page.
SSL expiry alerts
On Starter and higher plans, we read the certificate of every HTTPS monitor about twice a day and alert you once when it expires within 14 days.
Our checks & firewalls
Every check is sent with this user agent, which you can allowlist in your firewall or exclude from analytics:
PingwardBot/1.0 (+https://lunaailab.com/docs#bot)