Import Monitors from Another Service
Goal: move the monitors you have at another uptime service into DownBad without typing them in again, and see exactly what will be made before anything is.
DownBad reads one file format, downbad.import.v1. You don’t write it by
hand: you give your AI assistant (ChatGPT, Claude or another) a prompt from
DownBad, and it turns your old service’s export into that format, asks
DownBad for a preview, and imports only after you say yes.
What you need
Section titled “What you need”- An API key for your DownBad account. A Read key is enough to preview; importing needs a Read and write key. See Create and Revoke API Keys.
- Your monitors from the other service: an export file (CSV or JSON), or that service’s API if your assistant can call it.
Any plan can import, Free included. On Free, the import creates what fits in the Free limits and lists the rest as skipped, so you can see what an upgrade would add.
Import with your AI assistant
Section titled “Import with your AI assistant”-
Open Account › Import from another service. Choose Account at the foot of the menu on the left (on a phone, tap your avatar, then Account), and choose Import from another service in the list of sections.
-
Choose Copy prompt. The prompt already names DownBad’s import endpoints for your account’s address.
-
Paste it into your AI assistant, with your export file or the name of your old service. Give it your DownBad API key when it asks; the prompt tells it never to repeat or store the key.
-
Read the preview it shows you. The preview changes nothing in your account. It lists:
- the bundles it will make, one for each site (a domain such as
example.com), or the bundle you already have for that domain; - each monitor it will create, with the check interval it will use;
- every interval it raised to your plan’s shortest one;
- everything it skipped, each with a reason and a link to the fix;
- anything over your plan’s limits.
- the bundles it will make, one for each site (a domain such as
-
Say yes to import, or ask the assistant to change the file and preview again.
Expected result: the assistant reports what was created and what was
skipped. The new monitors are in Watching within a few seconds, grouped
by site, and start checking at once. Each one remembers where it came from,
such as UptimeRobot. Account › API activity lists the import as
Imported monitors from, with that name.
The format
Section titled “The format”The full JSON Schema is at
https://downbad.app/api/public/v1/import/schema, and anyone can read it
without a key. A file looks like this:
{ "format": "downbad.import.v1", "source": "UptimeRobot", "monitors": [ { "name": "Shop home page", "kind": "url", "target": "https://shop.example.com/", "intervalSeconds": 60 }, { "name": "Shop API", "kind": "url", "target": "https://api.example.com/health", "bundle": "example.com" }, { "name": "Mail server", "kind": "port", "target": "mail.example.com", "port": 25 }, { "name": "Shop certificate", "kind": "ssl", "target": "shop.example.com" }, { "name": "Domain renewal", "kind": "whois", "target": "example.com" }, { "name": "Shop DNS", "kind": "dns", "target": "example.com" } ], "heartbeats": [ { "name": "Nightly backup", "schedule": { "type": "interval", "periodSeconds": 86400 }, "graceSeconds": 3600 } ]}sourceis the name of the service you’re leaving. Each imported monitor keeps it.kindis one ofurl,port,dns,sslorwhois. Anything else is listed in the preview as skipped, with the reason.targetis a fullhttps://orhttp://address forurl, a host forport(withportbeside it), and a domain fordns,sslandwhois.intervalSecondsis optional. Leave it out and the monitor uses your plan’s usual interval for its kind.bundleis optional, and is a domain. Leave it out and the monitor goes in the bundle for its target’s domain, soshop.example.comandapi.example.comboth go inexample.com. A target that is an IP address goes in no bundle.heartbeatsare for jobs that report in, such as backups. A schedule is{"type": "interval", "periodSeconds": …}or{"type": "cron", "expression": "0 3 * * *", "timezone": "UTC"}.
A file holds up to 500 monitors and 200 heartbeats.
Preview and import with the API yourself
Section titled “Preview and import with the API yourself”If you’d rather not use an assistant, send the file yourself. Preview it with any key:
curl -s https://downbad.app/api/public/v1/import/preview \ -H "Authorization: Bearer $DOWNBAD_API_KEY" \ -H "Content-Type: application/json" \ --data @import.jsonThe answer holds a previewId, what it will create, and a skipped list
whose items each carry a reason, a message and a helpUrl. Then import
exactly that preview with a Read and write key:
curl -s https://downbad.app/api/public/v1/import/apply \ -H "Authorization: Bearer $DOWNBAD_API_KEY" \ -H "Content-Type: application/json" \ -d '{"previewId": "0b9c6f3e-5d0a-4d8e-9a51-6f1f2f0c7a10"}'- A preview lasts one hour. After that, preview the file again.
- Importing creates what the preview showed, all at once or not at all. If your account changed since the preview (you added monitors, say), a limit is checked again and anything that no longer fits is skipped.
- A new bundle is only created along with a monitor in it. If every monitor
for a bundle is skipped when you import, the bundle isn’t created either:
the result lists it under
skippedwith"section": "bundles"and the reason its monitors were skipped. - Importing the same preview twice is safe: the second time creates nothing
and answers with what the first one created, with
"replayed": true.
When something is skipped or refused
Section titled “When something is skipped or refused”Each skip reason and refusal has its own section in Monitor Import Skipped or Refused: