UpHeron API and agent guide
UpHeron checks websites, APIs, certificates, DNS, mail servers and more from several locations, and tells you when something breaks. The API lets your scripts and AI agents do everything the dashboard does: read the status of every monitor, look at results and incidents, and add or change monitors.
- Reading is free. Status, results, uptime and incidents cost nothing, within the rate limits.
- Monitors come with your plan. A workspace has as many monitors as its plan has slots. Premium monitors (multi-step transactions and code repositories) have slots of their own, on Pro (20) and Business (100); every other kind is a standard monitor. For more, upgrade your plan.
- Every request needs a token of an UpHeron account. The API and the MCP server work within the plan of the token's workspace: its slots, check intervals and locations.
- Alert timing and escalation. Wait before the first alert and repeat it until someone acknowledges (Pro plans), or alert an escalation policy that pages whoever is on call (Business). See Alert timing and escalation.
- Vulnerability alerts (every plan, right away: the website is scanned weekly on Free, daily on Pro and Business). Website monitors can alert when a vulnerability is published for the software the site runs, found by scanning it and, on Pro and Business, imported from a lockfile, Dockerfile or a list an agent writes. See Software lists.
- Prometheus and Grafana. Scrape every monitor from
https://upheron.com/api/v1/metricsand import the ready Grafana dashboard. See Prometheus and Grafana. - Command-line tool.
upheronlists and checks monitors and keeps contacts, monitors, status pages and maintenance windows in a YAML file you apply from CI. See Command-line tool. - MCP server. Connect Claude, Cursor or any MCP client to
https://upheron.com/mcp. See MCP server. - Agents sign up by themselves. With auth.md, an agent gets access for its user, who signs in and types a 6-digit code, without anyone creating a token. Agents start at
/auth.md. - Terraform. An UpHeron Terraform provider for monitors, notification contacts, monitor tabs, status pages, maintenance windows and the software vulnerability alerts watch is coming to the Terraform Registry.
Quick start
Create a token. In the dashboard, open Settings → API tokens and create a token. Give it the
writescope if it should create or change monitors;readis enough for status. The token is shown once.Read your monitors.
curl https://upheron.com/api/v1/monitors \ -H "X-API-Key: $UPTIME_MONITOR_API_KEY"Add a monitor.
curl https://upheron.com/api/v1/monitors \ -H "X-API-Key: $UPTIME_MONITOR_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{"name": "Example", "url": "https://example.com", "interval_seconds": 300}'While your plan has a free slot this returns
201 Created. When every slot is in use, it returns422with"error": "monitor_limit_reached"; a bigger plan on the pricing page has more.
Plans and limits
The API costs nothing beyond your plan. Reading, creating, changing and deleting monitors are all within the rate limits, and new monitors take a slot of your plan. GET /api/v1/account returns your plan and its free slots, standard and premium apart. Plans and their slots are on the pricing page.
Conventions
- Base URL:
https://upheron.com/api/v1 - Authentication: an API token in the
X-API-Keyheader. See Authentication. - Format: JSON in and out, UTF-8. Timestamps are ISO 8601 in UTC.
- Errors: a JSON body with a machine-readable
errorand a human-readablemessage. See API reference. - Retries: send an
Idempotency-Keyheader when creating monitors, so a retry never creates a second one.
For AI agents
Everything here is available in a form agents read well:
- Ask for any page with
Accept: text/markdown, or add.mdto its URL, to get Markdown instead of HTML:/docs/api.md. /llms.txtlists every page;/llms-full.txtis the whole documentation in one file./openapi.jsondescribes the API.
Using UpHeron from an AI agent has a recommended workflow and instructions you can give your agent.
Pages
- Authentication: tokens, scopes and headers
- MCP server: connect AI agents as tools
- API reference: every endpoint with examples
- Rate limits: limits, headers and fair use
- Switching from UptimeRobot, Better Stack or Uptime Kuma: import your monitors in one step, from an API key, an export file or a CSV
- Reports: uptime reports by email, SLA reports, raw check export and your brand on reports
- AI agents: discovery, workflow and agent instructions
- Software lists: telling a monitor what a website runs, for vulnerability alerts: the list format and supported files