{"openapi":"3.1.0","info":{"title":"Uptenna API","version":"1.0.0","description":"Manage Uptenna monitors and read incidents, status pages and your account. Timestamps are ISO 8601 in UTC; errors are { error: { code, message } }."},"externalDocs":{"url":"https://uptenna.com/docs/api"},"servers":[{"url":"https://uptenna.com"}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"An API key from Dashboard → API keys (upt_live_…)."}},"schemas":{"monitor":{"type":"object","description":"An HTTP check (a URL requested on a schedule) or a heartbeat (a URL your cron job pings). Fields that don't apply to the monitor's kind are null.","properties":{"id":{"type":"string","description":"Starts with mon_."},"kind":{"type":"string","enum":["http","heartbeat"],"description":"Fixed at creation."},"name":{"type":"string","description":"Up to 80 characters. HTTP monitors default to the URL's hostname."},"status":{"type":"string","enum":["pending","up","degraded","down"],"description":"pending until the first check (or ping)."},"paused":{"type":"boolean","description":"Paused monitors aren't checked and don't alert."},"over_limit":{"type":"boolean","description":"Past your plan's monitor limit (the newest ones): kept, shown, not checked."},"url":{"type":["string","null"],"description":"The URL checked. HTTP monitors only; null for heartbeats."},"method":{"type":["string","null"],"enum":["GET","HEAD","POST",null],"description":"HTTP monitors only; null for heartbeats."},"expect_status":{"type":["string","null"],"description":"Accepted status codes, like 200-399 or 200,204. HTTP monitors only; null for heartbeats."},"keyword":{"type":["string","null"],"description":"Text the body must contain (case-sensitive)."},"keyword_absent":{"type":["string","null"],"description":"Text the body must not contain."},"timeout_ms":{"type":["integer","null"],"description":"1000 to 30000. HTTP monitors only; null for heartbeats."},"interval_s":{"type":["integer","null"],"description":"Requested check interval: 30, 60, 180, 300, 600. HTTP monitors only; null for heartbeats."},"effective_interval_s":{"type":["integer","null"],"description":"The interval actually used: interval_s, or your plan's fastest interval if that is slower."},"ssl_check":{"type":["boolean","null"],"description":"Warn before the TLS certificate expires (Pro and Team)."},"heartbeat_url":{"type":["string","null"],"description":"The URL your job pings. Keep it secret. Heartbeats only; null for HTTP monitors."},"period_s":{"type":["integer","null"],"description":"How often the job runs, 60 to 2678400 seconds. Heartbeats only; null for HTTP monitors."},"grace_s":{"type":["integer","null"],"description":"How late a ping may be before an incident opens, 0 to 604800 seconds. Heartbeats only; null for HTTP monitors."},"last_ping_at":{"type":["string","null"],"format":"date-time","description":"Heartbeats only; null for HTTP monitors."},"last_checked_at":{"type":["string","null"],"format":"date-time","description":"When the last check ran."},"last_latency_ms":{"type":["integer","null"],"description":"Response time of the last check."},"last_status_code":{"type":["integer","null"],"description":"HTTP status of the last check (null when there was no response)."},"last_reason":{"type":["string","null"],"description":"Machine reason of the last failure, like status_503, timeout, keyword_missing."},"reason_text":{"type":["string","null"],"description":"The same in words, while the monitor is degraded or down."},"cert_expires_at":{"type":["string","null"],"format":"date-time","description":"TLS certificate expiry, when known."},"cert_issuer":{"type":["string","null"],"description":"TLS certificate issuer, when known."},"open_incident_id":{"type":["string","null"],"description":"The incident open right now, if any."},"uptime_24h":{"type":["number","null"],"description":"Share of checks not down in the last 24 hours, 0 to 1."},"uptime_30d":{"type":["number","null"],"description":"The same over the last 30 days."},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time","description":"Last change to the monitor's settings."}},"required":["id","kind","name","status","paused","over_limit","url","method","expect_status","keyword","keyword_absent","timeout_ms","interval_s","effective_interval_s","ssl_check","heartbeat_url","period_s","grace_s","last_ping_at","last_checked_at","last_latency_ms","last_status_code","last_reason","reason_text","cert_expires_at","cert_issuer","open_incident_id","uptime_24h","uptime_30d","created_at","updated_at"]},"incident":{"type":"object","description":"Opened after two consecutive failed checks (heartbeats: when a ping is late), resolved on the first success.","properties":{"id":{"type":"string","description":"Starts with inc_."},"monitor_id":{"type":"string"},"monitor_name":{"type":"string","description":"The monitor's current name."},"kind":{"type":"string","enum":["http","heartbeat"]},"status":{"type":"string","enum":["open","resolved"]},"severity":{"type":"string","enum":["degraded","down"],"description":"The worst seen while open."},"reason":{"type":["string","null"],"description":"Machine reason, like status_503, timeout or late (heartbeats)."},"reason_text":{"type":["string","null"],"description":"The same in words."},"status_code":{"type":["integer","null"],"description":"HTTP status that opened it, when there was one."},"started_at":{"type":"string","format":"date-time"},"resolved_at":{"type":["string","null"],"format":"date-time","description":"Null while open."}},"required":["id","monitor_id","monitor_name","kind","status","severity","reason","reason_text","status_code","started_at","resolved_at"]},"status_page":{"type":"object","description":"A public page showing some of your monitors under public names.","properties":{"id":{"type":"string","description":"Starts with sp_."},"slug":{"type":"string","description":"The page lives at <slug>.uptenna.com and uptenna.com/status/<slug>."},"title":{"type":"string"},"description":{"type":["string","null"]},"website_url":{"type":["string","null"],"description":"The page's “Back to” link."},"url":{"type":"string","description":"The page's public address."},"published":{"type":"boolean","description":"False when the page is past your plan's status page limit (the newest ones go offline)."},"monitors":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Monitor id."},"name":{"type":"string","description":"The monitor's own name."},"display_name":{"type":["string","null"],"description":"Public name on the page (null: the monitor's name)."}},"required":["id","name","display_name"]},"description":"The monitors shown, in order."},"custom_domain":{"type":["object","null"],"properties":{"hostname":{"type":"string","description":"Like status.acme.com."},"status":{"type":"string","enum":["pending_dns","issuing_certificate","active","error","paused"]},"url":{"type":"string"}},"required":["hostname","status","url"],"description":"The page's own domain, if one is set up."},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["id","slug","title","description","website_url","url","published","monitors","custom_domain","created_at","updated_at"]},"account":{"type":"object","description":"The account the key belongs to: plan, limits and what is used.","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":["string","null"]},"created_at":{"type":"string","format":"date-time"},"plan":{"type":"object","properties":{"tier":{"type":"string","enum":["free","trial","pro","team","early_access"]},"name":{"type":"string"},"subscription_status":{"type":["string","null"],"description":"Stripe's status for paid plans, like active or past_due."},"interval":{"type":["string","null"],"enum":["month","year",null]},"current_period_end":{"type":["string","null"],"format":"date-time"},"cancel_at":{"type":["string","null"],"format":"date-time","description":"Set when the plan is cancelled and ends then."},"trial_ends_at":{"type":["string","null"],"format":"date-time"}},"required":["tier","name","subscription_status","interval","current_period_end","cancel_at","trial_ends_at"],"description":"The plan in effect right now."},"limits":{"type":"object","properties":{"monitors":{"type":"integer","description":"Monitors that are checked."},"min_interval_s":{"type":"integer","description":"Fastest check interval."},"status_pages":{"type":"integer","description":"Published status pages."},"alert_channel_types":{"type":"array","items":{"type":"string"},"description":"Alert channel types that deliver."},"ssl_checks":{"type":"boolean","description":"SSL expiry warnings."},"custom_domains":{"type":"boolean","description":"Custom domains for status pages."}},"required":["monitors","min_interval_s","status_pages","alert_channel_types","ssl_checks","custom_domains"],"description":"What the plan allows."},"usage":{"type":"object","properties":{"monitors":{"type":"integer"},"status_pages":{"type":"integer"},"alert_channels":{"type":"integer"},"open_incidents":{"type":"integer"},"api_keys":{"type":"integer","description":"Active API keys."}},"required":["monitors","status_pages","alert_channels","open_incidents","api_keys"],"description":"What the account has now."}},"required":["id","email","name","created_at","plan","limits","usage"]},"error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}},"paths":{"/v1/monitors":{"get":{"operationId":"listMonitors","summary":"List monitors","description":"Every monitor in your account, oldest first, with its current status and uptime.","externalDocs":{"url":"https://uptenna.com/docs/api-list-monitors"},"security":[{"bearer":[]}],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/monitor"}}}},"example":{"data":[{"id":"mon_Xk3v9QmT2bLp","kind":"http","name":"API","status":"up","paused":false,"over_limit":false,"url":"https://api.example.com/health","method":"GET","expect_status":"200-399","keyword":null,"keyword_absent":null,"timeout_ms":10000,"interval_s":60,"effective_interval_s":60,"ssl_check":true,"heartbeat_url":null,"period_s":null,"grace_s":null,"last_ping_at":null,"last_checked_at":"2026-12-01T09:41:00.000Z","last_latency_ms":182,"last_status_code":200,"last_reason":null,"reason_text":null,"cert_expires_at":"2027-02-14T23:59:59.000Z","cert_issuer":"Let's Encrypt","open_incident_id":null,"uptime_24h":1,"uptime_30d":0.9993,"created_at":"2026-11-02T14:03:11.000Z","updated_at":"2026-11-20T08:15:42.000Z"},{"id":"mon_P7wq2NcY8sRd","kind":"heartbeat","name":"Nightly backup","status":"pending","paused":false,"over_limit":false,"url":null,"method":null,"expect_status":null,"keyword":null,"keyword_absent":null,"timeout_ms":null,"interval_s":null,"effective_interval_s":null,"ssl_check":null,"heartbeat_url":"https://uptenna.com/hb/4fQ0dJx8m2VtR7kLs9aB1cZe","period_s":86400,"grace_s":3600,"last_ping_at":null,"last_checked_at":null,"last_latency_ms":null,"last_status_code":null,"last_reason":null,"reason_text":null,"cert_expires_at":null,"cert_issuer":null,"open_incident_id":null,"uptime_24h":null,"uptime_30d":null,"created_at":"2026-12-01T09:42:05.000Z","updated_at":"2026-12-01T09:42:05.000Z"}]}}}},"401":{"description":"unauthorized: The Authorization header is missing, malformed, or the key is unknown or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"unauthorized":{"value":{"error":{"code":"unauthorized","message":"The Authorization header is missing, malformed, or the key is unknown or revoked."}}}}}}},"429":{"description":"rate_limited: More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"rate_limited":{"value":{"error":{"code":"rate_limited","message":"More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds."}}}}}}}}},"post":{"operationId":"createMonitor","summary":"Create a monitor","description":"Add an HTTP monitor or a heartbeat. The same validation and plan limits apply as in the dashboard; the first check runs within a minute.","externalDocs":{"url":"https://uptenna.com/docs/api-create-monitor"},"security":[{"bearer":[]}],"parameters":[],"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/monitor"},"example":{"id":"mon_Xk3v9QmT2bLp","kind":"http","name":"API","status":"pending","paused":false,"over_limit":false,"url":"https://api.example.com/health","method":"GET","expect_status":"200-399","keyword":null,"keyword_absent":null,"timeout_ms":10000,"interval_s":60,"effective_interval_s":60,"ssl_check":true,"heartbeat_url":null,"period_s":null,"grace_s":null,"last_ping_at":null,"last_checked_at":null,"last_latency_ms":null,"last_status_code":null,"last_reason":null,"reason_text":null,"cert_expires_at":null,"cert_issuer":null,"open_incident_id":null,"uptime_24h":null,"uptime_30d":null,"created_at":"2026-12-01T09:40:12.000Z","updated_at":"2026-12-01T09:40:12.000Z"}}}},"400":{"description":"invalid_monitor: A field is missing or invalid; the message says which.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"invalid_monitor":{"value":{"error":{"code":"invalid_monitor","message":"A field is missing or invalid; the message says which."}}}}}}},"401":{"description":"unauthorized: The Authorization header is missing, malformed, or the key is unknown or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"unauthorized":{"value":{"error":{"code":"unauthorized","message":"The Authorization header is missing, malformed, or the key is unknown or revoked."}}}}}}},"402":{"description":"monitor_limit: Your plan's monitor limit is reached. Upgrade, or delete a monitor first. / interval_not_in_plan: interval_s is faster than your plan allows (Free: 5 minutes, Pro: 1 minute, Team: 30 seconds).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"monitor_limit":{"value":{"error":{"code":"monitor_limit","message":"Your plan's monitor limit is reached. Upgrade, or delete a monitor first."}}},"interval_not_in_plan":{"value":{"error":{"code":"interval_not_in_plan","message":"interval_s is faster than your plan allows (Free: 5 minutes, Pro: 1 minute, Team: 30 seconds)."}}}}}}},"429":{"description":"rate_limited: More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"rate_limited":{"value":{"error":{"code":"rate_limited","message":"More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds."}}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"type":"string","enum":["http","heartbeat"],"description":"Default http."},"name":{"type":"string","description":"Up to 80 characters. Required for heartbeats; HTTP monitors default to the URL's hostname."},"url":{"type":"string","description":"HTTP: required. A public http:// or https:// URL; private and internal addresses are refused."},"method":{"type":"string","enum":["GET","HEAD","POST"],"description":"HTTP. Default GET."},"expect_status":{"type":"string","description":"HTTP. Codes or ranges, comma separated. Default 200-399."},"keyword":{"type":["string","null"],"description":"HTTP. Text the body must contain (needs GET or POST)."},"keyword_absent":{"type":["string","null"],"description":"HTTP. Text the body must not contain."},"timeout_ms":{"type":"integer","description":"HTTP. 1000 to 30000. Default 10000."},"interval_s":{"type":"integer","enum":[30,60,180,300,600],"description":"HTTP. Default 60. Must be allowed by your plan."},"ssl_check":{"type":"boolean","description":"HTTP. Default true."},"period_s":{"type":"integer","description":"Heartbeat: required. How often the job runs, 60 to 2678400 seconds."},"grace_s":{"type":"integer","description":"Heartbeat. 0 to 604800 seconds. Default 20% of the period, between 1 minute and 1 hour."}},"required":[]},"example":{"name":"API","url":"https://api.example.com/health","interval_s":60}}}}}},"/v1/monitors/{id}":{"get":{"operationId":"getMonitor","summary":"Get a monitor","description":"One monitor with its settings, current status and uptime.","externalDocs":{"url":"https://uptenna.com/docs/api-get-monitor"},"security":[{"bearer":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"The monitor's id (mon_…).","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/monitor"},"example":{"id":"mon_Xk3v9QmT2bLp","kind":"http","name":"API","status":"up","paused":false,"over_limit":false,"url":"https://api.example.com/health","method":"GET","expect_status":"200-399","keyword":null,"keyword_absent":null,"timeout_ms":10000,"interval_s":60,"effective_interval_s":60,"ssl_check":true,"heartbeat_url":null,"period_s":null,"grace_s":null,"last_ping_at":null,"last_checked_at":"2026-12-01T09:41:00.000Z","last_latency_ms":182,"last_status_code":200,"last_reason":null,"reason_text":null,"cert_expires_at":"2027-02-14T23:59:59.000Z","cert_issuer":"Let's Encrypt","open_incident_id":null,"uptime_24h":1,"uptime_30d":0.9993,"created_at":"2026-11-02T14:03:11.000Z","updated_at":"2026-11-20T08:15:42.000Z"}}}},"401":{"description":"unauthorized: The Authorization header is missing, malformed, or the key is unknown or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"unauthorized":{"value":{"error":{"code":"unauthorized","message":"The Authorization header is missing, malformed, or the key is unknown or revoked."}}}}}}},"404":{"description":"not_found: No monitor with this id in your account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"not_found":{"value":{"error":{"code":"not_found","message":"No monitor with this id in your account."}}}}}}},"429":{"description":"rate_limited: More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"rate_limited":{"value":{"error":{"code":"rate_limited","message":"More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds."}}}}}}}}},"patch":{"operationId":"updateMonitor","summary":"Update a monitor","description":"Change any of a monitor's settings. Send only the fields to change; the others keep their values. A monitor's kind can't change.","externalDocs":{"url":"https://uptenna.com/docs/api-update-monitor"},"security":[{"bearer":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"The monitor's id (mon_…).","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/monitor"},"example":{"id":"mon_Xk3v9QmT2bLp","kind":"http","name":"API","status":"up","paused":false,"over_limit":false,"url":"https://api.example.com/health","method":"GET","expect_status":"200-399","keyword":"ok","keyword_absent":null,"timeout_ms":10000,"interval_s":300,"effective_interval_s":300,"ssl_check":true,"heartbeat_url":null,"period_s":null,"grace_s":null,"last_ping_at":null,"last_checked_at":"2026-12-01T09:41:00.000Z","last_latency_ms":182,"last_status_code":200,"last_reason":null,"reason_text":null,"cert_expires_at":"2027-02-14T23:59:59.000Z","cert_issuer":"Let's Encrypt","open_incident_id":null,"uptime_24h":1,"uptime_30d":0.9993,"created_at":"2026-11-02T14:03:11.000Z","updated_at":"2026-11-20T08:15:42.000Z"}}}},"400":{"description":"invalid_monitor: A field is missing or invalid; the message says which.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"invalid_monitor":{"value":{"error":{"code":"invalid_monitor","message":"A field is missing or invalid; the message says which."}}}}}}},"401":{"description":"unauthorized: The Authorization header is missing, malformed, or the key is unknown or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"unauthorized":{"value":{"error":{"code":"unauthorized","message":"The Authorization header is missing, malformed, or the key is unknown or revoked."}}}}}}},"402":{"description":"interval_not_in_plan: interval_s is faster than your plan allows (Free: 5 minutes, Pro: 1 minute, Team: 30 seconds).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"interval_not_in_plan":{"value":{"error":{"code":"interval_not_in_plan","message":"interval_s is faster than your plan allows (Free: 5 minutes, Pro: 1 minute, Team: 30 seconds)."}}}}}}},"404":{"description":"not_found: No monitor with this id in your account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"not_found":{"value":{"error":{"code":"not_found","message":"No monitor with this id in your account."}}}}}}},"429":{"description":"rate_limited: More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"rate_limited":{"value":{"error":{"code":"rate_limited","message":"More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds."}}}}}}}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Up to 80 characters. Required for heartbeats; HTTP monitors default to the URL's hostname."},"url":{"type":"string","description":"HTTP: required. A public http:// or https:// URL; private and internal addresses are refused."},"method":{"type":"string","enum":["GET","HEAD","POST"],"description":"HTTP. Default GET."},"expect_status":{"type":"string","description":"HTTP. Codes or ranges, comma separated. Default 200-399."},"keyword":{"type":["string","null"],"description":"HTTP. Text the body must contain (needs GET or POST)."},"keyword_absent":{"type":["string","null"],"description":"HTTP. Text the body must not contain."},"timeout_ms":{"type":"integer","description":"HTTP. 1000 to 30000. Default 10000."},"interval_s":{"type":"integer","enum":[30,60,180,300,600],"description":"HTTP. Default 60. Must be allowed by your plan."},"ssl_check":{"type":"boolean","description":"HTTP. Default true."},"period_s":{"type":"integer","description":"Heartbeat: required. How often the job runs, 60 to 2678400 seconds."},"grace_s":{"type":"integer","description":"Heartbeat. 0 to 604800 seconds. Default 20% of the period, between 1 minute and 1 hour."},"paused":{"type":"boolean","description":"Pause or resume (same as the pause and resume endpoints)."}},"required":[]},"example":{"interval_s":300,"keyword":"ok"}}}}},"delete":{"operationId":"deleteMonitor","summary":"Delete a monitor","description":"Remove a monitor with its check history and incidents, and take it off any status page. This can't be undone.","externalDocs":{"url":"https://uptenna.com/docs/api-delete-monitor"},"security":[{"bearer":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"The monitor's id (mon_…).","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"deleted":{"type":"boolean"}}},"example":{"id":"mon_Xk3v9QmT2bLp","deleted":true}}}},"401":{"description":"unauthorized: The Authorization header is missing, malformed, or the key is unknown or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"unauthorized":{"value":{"error":{"code":"unauthorized","message":"The Authorization header is missing, malformed, or the key is unknown or revoked."}}}}}}},"404":{"description":"not_found: No monitor with this id in your account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"not_found":{"value":{"error":{"code":"not_found","message":"No monitor with this id in your account."}}}}}}},"429":{"description":"rate_limited: More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"rate_limited":{"value":{"error":{"code":"rate_limited","message":"More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds."}}}}}}}}}},"/v1/monitors/{id}/pause":{"post":{"operationId":"pauseMonitor","summary":"Pause a monitor","description":"Stop checking a monitor (during maintenance, say). It keeps its settings and history and sends no alerts while paused. Pausing a paused monitor is fine.","externalDocs":{"url":"https://uptenna.com/docs/api-pause-monitor"},"security":[{"bearer":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"The monitor's id (mon_…).","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/monitor"},"example":{"id":"mon_Xk3v9QmT2bLp","kind":"http","name":"API","status":"up","paused":true,"over_limit":false,"url":"https://api.example.com/health","method":"GET","expect_status":"200-399","keyword":null,"keyword_absent":null,"timeout_ms":10000,"interval_s":60,"effective_interval_s":60,"ssl_check":true,"heartbeat_url":null,"period_s":null,"grace_s":null,"last_ping_at":null,"last_checked_at":"2026-12-01T09:41:00.000Z","last_latency_ms":182,"last_status_code":200,"last_reason":null,"reason_text":null,"cert_expires_at":"2027-02-14T23:59:59.000Z","cert_issuer":"Let's Encrypt","open_incident_id":null,"uptime_24h":1,"uptime_30d":0.9993,"created_at":"2026-11-02T14:03:11.000Z","updated_at":"2026-11-20T08:15:42.000Z"}}}},"401":{"description":"unauthorized: The Authorization header is missing, malformed, or the key is unknown or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"unauthorized":{"value":{"error":{"code":"unauthorized","message":"The Authorization header is missing, malformed, or the key is unknown or revoked."}}}}}}},"404":{"description":"not_found: No monitor with this id in your account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"not_found":{"value":{"error":{"code":"not_found","message":"No monitor with this id in your account."}}}}}}},"429":{"description":"rate_limited: More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"rate_limited":{"value":{"error":{"code":"rate_limited","message":"More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds."}}}}}}}}}},"/v1/monitors/{id}/resume":{"post":{"operationId":"resumeMonitor","summary":"Resume a monitor","description":"Start checking a paused monitor again. The next check runs within a minute; a resumed heartbeat gets a full period before it counts as late.","externalDocs":{"url":"https://uptenna.com/docs/api-resume-monitor"},"security":[{"bearer":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"The monitor's id (mon_…).","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/monitor"},"example":{"id":"mon_Xk3v9QmT2bLp","kind":"http","name":"API","status":"up","paused":false,"over_limit":false,"url":"https://api.example.com/health","method":"GET","expect_status":"200-399","keyword":null,"keyword_absent":null,"timeout_ms":10000,"interval_s":60,"effective_interval_s":60,"ssl_check":true,"heartbeat_url":null,"period_s":null,"grace_s":null,"last_ping_at":null,"last_checked_at":"2026-12-01T09:41:00.000Z","last_latency_ms":182,"last_status_code":200,"last_reason":null,"reason_text":null,"cert_expires_at":"2027-02-14T23:59:59.000Z","cert_issuer":"Let's Encrypt","open_incident_id":null,"uptime_24h":1,"uptime_30d":0.9993,"created_at":"2026-11-02T14:03:11.000Z","updated_at":"2026-11-20T08:15:42.000Z"}}}},"401":{"description":"unauthorized: The Authorization header is missing, malformed, or the key is unknown or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"unauthorized":{"value":{"error":{"code":"unauthorized","message":"The Authorization header is missing, malformed, or the key is unknown or revoked."}}}}}}},"404":{"description":"not_found: No monitor with this id in your account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"not_found":{"value":{"error":{"code":"not_found","message":"No monitor with this id in your account."}}}}}}},"429":{"description":"rate_limited: More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"rate_limited":{"value":{"error":{"code":"rate_limited","message":"More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds."}}}}}}}}}},"/v1/incidents":{"get":{"operationId":"listIncidents","summary":"List incidents","description":"Your incidents, newest first, optionally for one monitor or only open or resolved ones. Paginated with a cursor.","externalDocs":{"url":"https://uptenna.com/docs/api-list-incidents"},"security":[{"bearer":[]}],"parameters":[{"name":"monitor_id","in":"query","required":false,"description":"Only this monitor's incidents.","schema":{"type":"string"}},{"name":"status","in":"query","required":false,"description":"Only open or only resolved incidents.","schema":{"type":"string","enum":["open","resolved"]}},{"name":"limit","in":"query","required":false,"description":"1 to 100. Default 50.","schema":{"type":"integer"}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor of the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/incident"}},"next_cursor":{"type":["string","null"]}}},"example":{"data":[{"id":"inc_b8Q2mXz4LkTe","monitor_id":"mon_Xk3v9QmT2bLp","monitor_name":"API","kind":"http","status":"resolved","severity":"down","reason":"status_503","reason_text":"Got HTTP 503 (expected 2xx or 3xx)","status_code":503,"started_at":"2026-11-28T03:12:00.000Z","resolved_at":"2026-11-28T03:16:00.000Z"}],"next_cursor":"MTc2NDI5OTUyMDAwMC5pbmNfYjhRMm1YejRMa1Rl"}}}},"400":{"description":"invalid_parameter: status, limit or cursor isn't valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"invalid_parameter":{"value":{"error":{"code":"invalid_parameter","message":"status, limit or cursor isn't valid."}}}}}}},"401":{"description":"unauthorized: The Authorization header is missing, malformed, or the key is unknown or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"unauthorized":{"value":{"error":{"code":"unauthorized","message":"The Authorization header is missing, malformed, or the key is unknown or revoked."}}}}}}},"429":{"description":"rate_limited: More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"rate_limited":{"value":{"error":{"code":"rate_limited","message":"More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds."}}}}}}}}}},"/v1/status-pages":{"get":{"operationId":"listStatusPages","summary":"List status pages","description":"Every status page in your account, oldest first, with the monitors it shows and its custom domain.","externalDocs":{"url":"https://uptenna.com/docs/api-list-status-pages"},"security":[{"bearer":[]}],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/status_page"}}}},"example":{"data":[{"id":"sp_Hn4c7VtQ1wXa","slug":"acme","title":"Acme status","description":"Live status of the Acme API and dashboard.","website_url":"https://acme.com/","url":"https://acme.uptenna.com","published":true,"monitors":[{"id":"mon_Xk3v9QmT2bLp","name":"API","display_name":"Public API"}],"custom_domain":{"hostname":"status.acme.com","status":"active","url":"https://status.acme.com"},"created_at":"2026-11-02T14:10:40.000Z","updated_at":"2026-11-15T10:02:13.000Z"}]}}}},"401":{"description":"unauthorized: The Authorization header is missing, malformed, or the key is unknown or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"unauthorized":{"value":{"error":{"code":"unauthorized","message":"The Authorization header is missing, malformed, or the key is unknown or revoked."}}}}}}},"429":{"description":"rate_limited: More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"rate_limited":{"value":{"error":{"code":"rate_limited","message":"More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds."}}}}}}}}}},"/v1/status-pages/{id}":{"get":{"operationId":"getStatusPage","summary":"Get a status page","description":"One status page with the monitors it shows and its custom domain.","externalDocs":{"url":"https://uptenna.com/docs/api-get-status-page"},"security":[{"bearer":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"The status page's id (sp_…).","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/status_page"},"example":{"id":"sp_Hn4c7VtQ1wXa","slug":"acme","title":"Acme status","description":"Live status of the Acme API and dashboard.","website_url":"https://acme.com/","url":"https://acme.uptenna.com","published":true,"monitors":[{"id":"mon_Xk3v9QmT2bLp","name":"API","display_name":"Public API"}],"custom_domain":{"hostname":"status.acme.com","status":"active","url":"https://status.acme.com"},"created_at":"2026-11-02T14:10:40.000Z","updated_at":"2026-11-15T10:02:13.000Z"}}}},"401":{"description":"unauthorized: The Authorization header is missing, malformed, or the key is unknown or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"unauthorized":{"value":{"error":{"code":"unauthorized","message":"The Authorization header is missing, malformed, or the key is unknown or revoked."}}}}}}},"404":{"description":"not_found: No status page with this id in your account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"not_found":{"value":{"error":{"code":"not_found","message":"No status page with this id in your account."}}}}}}},"429":{"description":"rate_limited: More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"rate_limited":{"value":{"error":{"code":"rate_limited","message":"More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds."}}}}}}}}}},"/v1/account":{"get":{"operationId":"getAccount","summary":"Get the account","description":"The account the key belongs to: its plan, the plan's limits and what is used. Handy to check room for more monitors before creating one.","externalDocs":{"url":"https://uptenna.com/docs/api-get-account"},"security":[{"bearer":[]}],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/account"},"example":{"id":"acc_r2Lq8XvB4nTk","email":"ana@acme.com","name":"Ana","created_at":"2026-11-02T13:58:20.000Z","plan":{"tier":"pro","name":"Pro","subscription_status":"active","interval":"month","current_period_end":"2026-12-02T13:58:20.000Z","cancel_at":null,"trial_ends_at":"2026-11-16T13:58:20.000Z"},"limits":{"monitors":50,"min_interval_s":60,"status_pages":5,"alert_channel_types":["email","slack","discord","telegram","webhook"],"ssl_checks":true,"custom_domains":true},"usage":{"monitors":12,"status_pages":2,"alert_channels":3,"open_incidents":0,"api_keys":1}}}}},"401":{"description":"unauthorized: The Authorization header is missing, malformed, or the key is unknown or revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"unauthorized":{"value":{"error":{"code":"unauthorized","message":"The Authorization header is missing, malformed, or the key is unknown or revoked."}}}}}}},"429":{"description":"rate_limited: More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"},"examples":{"rate_limited":{"value":{"error":{"code":"rate_limited","message":"More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds."}}}}}}}}}}}}