Developers · API docs

REST API reference

Manage monitors and maintenance windows and read incidents and check history from your own code. The base URL is https://www.uptimetimmy.com/api/v1, every request and response is JSON, and the full OpenAPI description is at /openapi.json.

Reference

Endpoints

Base URL https://www.uptimetimmy.com/api/v1. The full schema is in the OpenAPI document, which tools like Postman and Insomnia can import.

GET/monitorsList monitors

Every monitor in the workspace, domain monitors included.

  • kind (query) one of http port ping dns heartbeat domain
  • status (query) one of pending up degraded down

POST/monitorsAdd a monitor

Needs a read/write key. Validated exactly as the dashboard's forms. A new heartbeat's response includes its ping_url, shown once.

JSON body: MonitorInput (see the OpenAPI document for its fields)

GET/monitors/{id}Get a monitor

  • id (path, required)

PATCH/monitors/{id}Change a monitor

Needs a read/write key. Send only what changes. Pause or resume with paused. Domain monitors can't be changed here.

  • id (path, required)

JSON body: MonitorUpdate (see the OpenAPI document for its fields)

DELETE/monitors/{id}Delete a monitor

Needs a read/write key. Its check history and incidents go with it.

  • id (path, required)

GET/monitors/{id}/checksA monitor's checks

Newest first, one row per platform that checked. Checks are kept 90 days.

  • id (path, required)
  • limit (query)
  • cursor (query) — From next_cursor of the previous page.

GET/monitors/{id}/statsA monitor's stats

Uptime, incidents and response times over a recent period or a calendar month in a single request, with the response times down-sampled for a chart. For 7 or 30 days this replaces paging through the checks. Send period or month, not both. Checks are kept 90 days, so response times reach no further back; uptime and incidents come from incidents and cover any month.

  • id (path, required)
  • period (query) one of 1h 24h 7d 30d 90d — How far back from now. Default 24h when month isn't sent.
  • month (query) — A calendar month (YYYY-MM), for a monthly report: its first day to the next month's, or to now for the current month. Past months work too.
  • tz (query) — With month: the IANA time zone its days are counted in, e.g. Africa/Johannesburg.
  • region (query) one of lhr1 iad1 fra1 sin1 — Narrow the response times to one platform. Uptime is the monitor's either way.

GET/incidentsList incidents

Newest first.

  • status (query) one of open resolved
  • monitor_id (query)
  • limit (query)
  • cursor (query) — From next_cursor of the previous page.

GET/incidents/{id}Get an incident

  • id (path, required)

GET/maintenance-windowsList maintenance windows

POST/maintenance-windowsAdd a maintenance window

Needs a read/write key. No incidents open and no alerts go out for the covered monitors while it runs; uptime skips it.

JSON body: MaintenanceWindowInput (see the OpenAPI document for its fields)

GET/maintenance-windows/{id}Get a maintenance window

  • id (path, required)

PATCH/maintenance-windows/{id}Change a maintenance window

Needs a read/write key. Takes effect at once, even for a window that's running.

  • id (path, required)

JSON body: MaintenanceWindowUpdate (see the OpenAPI document for its fields)

DELETE/maintenance-windows/{id}Delete a maintenance window

Needs a read/write key. Deleting a running window ends it.

  • id (path, required)

GET/statusWorkspace status

The workspace at a glance.

Highlights

  • Authentication

    Send Authorization: Bearer utk_… with a workspace API key. Owners and admins make keys under API in the account menu: read-only, or read and write. Up to 20 per workspace, each shown once.

  • Rate limits

    60 requests a minute per key. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset; past the limit you get 429 with a Retry-After header.

  • Pagination

    Lists return { data, next_cursor }. Pass ?limit= from 1 to 200 (default 50) and send next_cursor back to get the next page; it's null on the last one.

  • Errors

    Errors return an HTTP status and { error: { code, message } }. Request bodies are limited to 64 KB.

  • Status pages, alert contacts and members

    Coming soon

    Managing these through the API.

ALL ABOARD

Start monitoring in 30 seconds

There’s nothing to install and no card to enter. The free plan stays free.

Get started free