API referenceMonitors
Export the project's monitors as config
Returns every live monitor in the project as a versioned, portable config document — name, type, target, cadence, timeout, failure threshold, heartbeat schedule and label names. Ids, slugs, incoming-request secrets, current status and incident history are deliberately absent: they mean nothing outside this project, and a secret does not belong in an exported file. The document is deterministic (entries sorted by name, no timestamp) so it can be committed to a repository and diffed. Post it back to /v1/monitors/import, here or in another project.
Authorization
bearerAuth AuthorizationBearer <token>
An uptimely_live_ project API key (Settings → API Keys).
In: header
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/monitors/export"{ "version": 1, "monitors": [ { "name": "string", "monitor_type": "string", "description": "string", "url": "string", "host": "string", "port": 1, "dns_record_type": "string", "monitoring_interval": "string", "request_timeout_seconds": 1, "failure_threshold": 1, "heartbeat_interval_minutes": 1, "heartbeat_grace_minutes": 0, "labels": [ "string" ] } ]}