Help API and Claude Code
REST API
The API returns JSON. Send the token as a header:
curl -H "Authorization: Bearer nmon_…" https://temedum-xuvul.185-94-252-101.webspace123.de/api.php/v1/status
| Request | Meaning |
|---|---|
GET /v1/status | Overview |
GET /v1/websites, /v1/checks, /v1/servers | Monitors, filter with ?status= and ?tag= |
GET /v1/websites/{id} | Details with availability (24 h, 7 and 30 days) and recent incidents |
POST /v1/websites | Add a monitor, e.g. {"name":"Shop","url":"https://…"} |
PATCH /v1/websites/{id} | Change fields |
GET /v1/incidents | Open incidents |
POST /v1/incidents/website/{id}/ack | Acknowledge an incident (or /resolve) |
GET/POST /v1/maintenance | List and add maintenance windows |
GET /v1/report?period=2026-W41 | Availability report for a week or a month (2026-09) |
If the web server does not support paths after api.php, use api.php?r=/v1/status.