deepalive API
en

deepalive API

With the API, scripts, Terraform and other systems can read and change an organisation's checks, alert receivers, suppliers, status pages, incidents and maintenance. Everything here matches what you can do in the portal.

OpenAPI spec (JSON)

Access

Make an API key under Settings in the portal and send it as Authorization: Bearer. A read key can use GET. A write key can also change things. Each key may make 120 calls a minute, and every change is written to the organisation's audit log with the key's name. The organisation's IP restriction applies to keys too.

curl -H "Authorization: Bearer dak_..." https://api.deepalive.net/v1/overview

Changes are sent as JSON. Fields the API does not know are refused, so a typo is never silently ignored.

curl -X POST -H "Authorization: Bearer dak_..." -H "Content-Type: application/json" \
  -d '{"title":"Hjemmesiden svarer langsomt","impact":"minor","body":"Vi undersøger sagen.","notify":true}' \
  https://api.deepalive.net/v1/incidents

Errors

Errors have an HTTP status and a JSON answer with a readable message and a stable code.

{"error": "unknown or expired API key", "code": "unauthorized"}

Organisation

GET /v1/org

The organisation, its plan, limits and usage, and the key in use.

GET /v1/overview

Everything that is wrong right now: checks that are down and their possible supplier causes, suppliers with problems, open incidents and maintenance.

POST /v1/maintenance-mode write key

Turn maintenance mode for the whole organisation on for a while, or off. Every alert is held meanwhile; checks keep running.

FieldType
minutes requiredinteger Hold every alert in the organisation for this many minutes, at most 480 (8 hours). 0 ends maintenance mode. An outage still on when it ends is alerted then.

Checks

GET /v1/checks

List checks with their live status.

Parameter
statusOnly checks with this status: ok, down, pending, unknown or paused.

POST /v1/checks write key

Make a check. Agent and heartbeat checks answer with their push token, shown this once.

FieldType
name requiredstring Name shown in the portal, on status pages and in alerts.
idstring Short id of the check, used in URLs. Made from the name when left out. Cannot change later.
typestring What to check. Required when making a check; cannot change later.
http, tcp, dns, nameservers, tls, ping, domain, blacklist, agent, heartbeat
targetstring URL for http, host:port for tcp and tls, host name for dns, ping, domain and blacklist, domain name for nameservers. Not used by agent and heartbeat checks.
interval_secondsinteger How often to check. Defaults to the shortest the plan allows. Domain checks always run every 6 hours and blacklist checks at most every 15 minutes.
receiverslist Names of the receivers to alert. Empty alerts every receiver the org has, including ones added later.
enabledboolean Whether the check runs. Defaults to true when making a check and to unchanged when replacing one.
body_containsstring http: text the response body must contain.
json_pathstring http: a value in a JSON body, as keys and list indexes with dots between (data.0.status).
json_equalsstring http: what the value at json_path must equal.
record_typestring dns: the record type to look up (A by default).
A, AAAA, CNAME, MX, TXT, NS
min_cert_daysinteger http and tls: fail when the certificate expires within this many days.
min_domain_daysinteger domain: fail when the registration expires within this many days.
max_latency_msinteger Fail when an answer takes longer than this many milliseconds (0: off).
grace_secondsinteger agent and heartbeat: down when nothing arrived for this long. Defaults to 180 for agents and 3600 for heartbeats.
max_disk_pctnumber agent: fail when a disk is fuller than this percentage (default 90).
max_mem_pctnumber agent: fail when memory is fuller than this percentage (0: off).
expect_nslist nameservers: the name servers the domain must be delegated to. Required when making a nameservers check; left out when replacing one: unchanged.
methodstring http: the request method, GET by default. Left out when replacing a check: unchanged.
GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS
headersobject http: request headers, like Authorization. Left out: unchanged. Never returned, only their names (header_names).
bodystring http: request body for POST, PUT and PATCH, at most 8 KB. Content-Type is application/json when it starts with { or [ unless a header says otherwise. Left out: unchanged.
expect_statuslist http: the statuses that count as up, e.g. [200, 204]. Empty: 200 to 399. Left out: unchanged.
body_not_containsstring http: text the response body must not contain. Left out: unchanged.
starttlsstring tls: talk smtp, imap or pop3 in plain text and upgrade with STARTTLS, checking the greeting too; none is TLS from the first byte. Empty picks by port (25, 587, 2525, 143, 110). Left out: unchanged.
smtp, imap, pop3, none
expectlist dns: values the answer must contain, e.g. an IP address or a TXT value. Empty: any answer. Left out: unchanged.
degraded_latency_msinteger http, tcp, tls, dns and ping: slower answers mark the check degraded, not down (0: off). Left out: unchanged.
systemstring Id of the system the check is part of; empty takes it out of its system. Left out: unchanged.
timeout_secondsinteger http, tcp, dns, tls and ping: how long to wait for an answer, 1 to 30 seconds and shorter than the interval (10 by default). Left out: unchanged.
listslist blacklist: the DNS blocklists to look in: zen.spamhaus.org, bl.spamcop.net, b.barracudacentral.org, psbl.surriel.com, dnsbl-1.uceprotect.net, dbl.spamhaus.org, dnsbl.dronebl.org, ix.dnsbl.manitu.net, multi.surbl.org. Empty: the usual ones for an address or a name. Left out: unchanged.
escalationlist Alert more receivers while the check stays down, at most 5 steps with growing after_minutes. Empty removes escalation. Left out: unchanged.
max_cpu_pctnumber agent: fail when the processor is busier than this percentage for 5 minutes (0: off). Left out: unchanged.
max_net_mbpsnumber agent: fail when network traffic is above this many Mbit/s (0: off). Left out: unchanged.
max_disk_tempnumber agent: fail when a disk is warmer than this many degrees Celsius, or SMART reports a failing disk (0: off). Left out: unchanged.
max_swap_pctnumber agent: fail when swap is fuller than this percentage (0: off). Left out: unchanged.
max_loadnumber agent: fail when the one-minute load average per CPU reaches this, e.g. 2 on a 4-CPU server means a load of 8 (0: off). Left out: unchanged.
net_linkboolean agent: fail when a network interface loses its link. Left out: unchanged.
ops_warningsboolean agent: warn about pending updates, reboots, failed services, out-of-memory kills and clock drift (default true). Left out: unchanged.
serviceslist agent: services that must be running (systemd units, launchd labels or Windows services), at most 20. Left out: unchanged.
processeslist agent: process names that must be running, at most 20. Left out: unchanged.
containerslist agent: Docker containers that must run and be healthy, by container name or Compose service, at most 20. Agent 1.2.0 or later. Left out: unchanged.
docker_allboolean agent: fail when any Docker container on the server is unhealthy, restarting or exited with an error code. Left out: unchanged.
logslist agent: logs to watch for matching lines, at most 10. Agent 1.2.0 or later. Empty removes them. Left out: unchanged.
ip_versionstring http, tcp and tls: connect over IPv4 (4) or IPv6 (6) only; empty takes whichever answers. Left out: unchanged.
4, 6
no_redirectsboolean http: take a redirect as the answer instead of following it. Left out: unchanged.

GET /v1/checks/{id}

One check with its live status.

PUT /v1/checks/{id} write key

Replace a check's settings. Its id and type stay, and settings the API does not carry, like escalation, are kept.

FieldType
name requiredstring Name shown in the portal, on status pages and in alerts.
idstring Short id of the check, used in URLs. Made from the name when left out. Cannot change later.
typestring What to check. Required when making a check; cannot change later.
http, tcp, dns, nameservers, tls, ping, domain, blacklist, agent, heartbeat
targetstring URL for http, host:port for tcp and tls, host name for dns, ping, domain and blacklist, domain name for nameservers. Not used by agent and heartbeat checks.
interval_secondsinteger How often to check. Defaults to the shortest the plan allows. Domain checks always run every 6 hours and blacklist checks at most every 15 minutes.
receiverslist Names of the receivers to alert. Empty alerts every receiver the org has, including ones added later.
enabledboolean Whether the check runs. Defaults to true when making a check and to unchanged when replacing one.
body_containsstring http: text the response body must contain.
json_pathstring http: a value in a JSON body, as keys and list indexes with dots between (data.0.status).
json_equalsstring http: what the value at json_path must equal.
record_typestring dns: the record type to look up (A by default).
A, AAAA, CNAME, MX, TXT, NS
min_cert_daysinteger http and tls: fail when the certificate expires within this many days.
min_domain_daysinteger domain: fail when the registration expires within this many days.
max_latency_msinteger Fail when an answer takes longer than this many milliseconds (0: off).
grace_secondsinteger agent and heartbeat: down when nothing arrived for this long. Defaults to 180 for agents and 3600 for heartbeats.
max_disk_pctnumber agent: fail when a disk is fuller than this percentage (default 90).
max_mem_pctnumber agent: fail when memory is fuller than this percentage (0: off).
expect_nslist nameservers: the name servers the domain must be delegated to. Required when making a nameservers check; left out when replacing one: unchanged.
methodstring http: the request method, GET by default. Left out when replacing a check: unchanged.
GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS
headersobject http: request headers, like Authorization. Left out: unchanged. Never returned, only their names (header_names).
bodystring http: request body for POST, PUT and PATCH, at most 8 KB. Content-Type is application/json when it starts with { or [ unless a header says otherwise. Left out: unchanged.
expect_statuslist http: the statuses that count as up, e.g. [200, 204]. Empty: 200 to 399. Left out: unchanged.
body_not_containsstring http: text the response body must not contain. Left out: unchanged.
starttlsstring tls: talk smtp, imap or pop3 in plain text and upgrade with STARTTLS, checking the greeting too; none is TLS from the first byte. Empty picks by port (25, 587, 2525, 143, 110). Left out: unchanged.
smtp, imap, pop3, none
expectlist dns: values the answer must contain, e.g. an IP address or a TXT value. Empty: any answer. Left out: unchanged.
degraded_latency_msinteger http, tcp, tls, dns and ping: slower answers mark the check degraded, not down (0: off). Left out: unchanged.
systemstring Id of the system the check is part of; empty takes it out of its system. Left out: unchanged.
timeout_secondsinteger http, tcp, dns, tls and ping: how long to wait for an answer, 1 to 30 seconds and shorter than the interval (10 by default). Left out: unchanged.
listslist blacklist: the DNS blocklists to look in: zen.spamhaus.org, bl.spamcop.net, b.barracudacentral.org, psbl.surriel.com, dnsbl-1.uceprotect.net, dbl.spamhaus.org, dnsbl.dronebl.org, ix.dnsbl.manitu.net, multi.surbl.org. Empty: the usual ones for an address or a name. Left out: unchanged.
escalationlist Alert more receivers while the check stays down, at most 5 steps with growing after_minutes. Empty removes escalation. Left out: unchanged.
max_cpu_pctnumber agent: fail when the processor is busier than this percentage for 5 minutes (0: off). Left out: unchanged.
max_net_mbpsnumber agent: fail when network traffic is above this many Mbit/s (0: off). Left out: unchanged.
max_disk_tempnumber agent: fail when a disk is warmer than this many degrees Celsius, or SMART reports a failing disk (0: off). Left out: unchanged.
max_swap_pctnumber agent: fail when swap is fuller than this percentage (0: off). Left out: unchanged.
max_loadnumber agent: fail when the one-minute load average per CPU reaches this, e.g. 2 on a 4-CPU server means a load of 8 (0: off). Left out: unchanged.
net_linkboolean agent: fail when a network interface loses its link. Left out: unchanged.
ops_warningsboolean agent: warn about pending updates, reboots, failed services, out-of-memory kills and clock drift (default true). Left out: unchanged.
serviceslist agent: services that must be running (systemd units, launchd labels or Windows services), at most 20. Left out: unchanged.
processeslist agent: process names that must be running, at most 20. Left out: unchanged.
containerslist agent: Docker containers that must run and be healthy, by container name or Compose service, at most 20. Agent 1.2.0 or later. Left out: unchanged.
docker_allboolean agent: fail when any Docker container on the server is unhealthy, restarting or exited with an error code. Left out: unchanged.
logslist agent: logs to watch for matching lines, at most 10. Agent 1.2.0 or later. Empty removes them. Left out: unchanged.
ip_versionstring http, tcp and tls: connect over IPv4 (4) or IPv6 (6) only; empty takes whichever answers. Left out: unchanged.
4, 6
no_redirectsboolean http: take a redirect as the answer instead of following it. Left out: unchanged.

DELETE /v1/checks/{id} write key

Delete a check.

POST /v1/checks/{id}/pause write key

Pause a check's alerts for a while, or resume them. The check keeps running.

FieldType
minutes requiredinteger Pause the check's alerts for this many minutes, at most 10080 (7 days). 0 resumes them. The check keeps running.

POST /v1/checks/{id}/token write key

Renew an agent or heartbeat check's push token. The old one stops working.

Systems

GET /v1/systems

List systems (groups of checks of one thing, such as a server) with their combined status.

POST /v1/systems write key

Make a system, optionally with its checks.

FieldType
name requiredstring Name of the system, for example "Web server 1". Unique in the organisation.
descriptionstring Text shown under the name.
down_whenstring all (default): down when all its running checks are down, partly down when some are. any: down as soon as one check is down.
all, any
checkslist Ids of the checks in the system. Checks in another system move here. Left out: unchanged.

GET /v1/systems/{id}

One system with its checks, supplier dependencies and combined status.

PUT /v1/systems/{id} write key

Replace a system's settings, and its checks when given.

FieldType
name requiredstring Name of the system, for example "Web server 1". Unique in the organisation.
descriptionstring Text shown under the name.
down_whenstring all (default): down when all its running checks are down, partly down when some are. any: down as soon as one check is down.
all, any
checkslist Ids of the checks in the system. Checks in another system move here. Left out: unchanged.

DELETE /v1/systems/{id} write key

Delete a system. Its checks carry on without one.

Receivers

GET /v1/receivers

List alert receivers.

POST /v1/receivers write key

Make an alert receiver.

FieldType
namestring Name checks use to pick the receiver. Required when making one; cannot change later.
emaillist Mail addresses to alert.
smslist Phone numbers to text, with country code (+4512345678).
webhookstring HTTPS URL to post alerts to.
formatstring Webhook body format (json by default).
json, slack, teams, discord, mattermost, rocketchat, googlechat, zulip, webex, matrix, ntfy, pagerduty, ilert, signl4
tokenstring Secret for pagerduty (routing key), ilert (integration key) and matrix (access token). Write-only; leave it out to keep the saved one.
languagestring Language of the alerts (Danish by default).
da, en

GET /v1/receivers/{id}

One receiver, by id or name.

PUT /v1/receivers/{id} write key

Replace where a receiver sends alerts. Its name stays.

FieldType
namestring Name checks use to pick the receiver. Required when making one; cannot change later.
emaillist Mail addresses to alert.
smslist Phone numbers to text, with country code (+4512345678).
webhookstring HTTPS URL to post alerts to.
formatstring Webhook body format (json by default).
json, slack, teams, discord, mattermost, rocketchat, googlechat, zulip, webex, matrix, ntfy, pagerduty, ilert, signl4
tokenstring Secret for pagerduty (routing key), ilert (integration key) and matrix (access token). Write-only; leave it out to keep the saved one.
languagestring Language of the alerts (Danish by default).
da, en

DELETE /v1/receivers/{id} write key

Delete a receiver. Checks stop alerting it.

Suppliers

GET /v1/supplier-catalog

Well-known suppliers whose status source we know. Make one with POST /v1/suppliers and its id as catalog.

GET /v1/suppliers

List suppliers with their status.

POST /v1/suppliers write key

Add a supplier to follow.

FieldType
namestring Supplier name. Required unless catalog is given.
kindstring How the supplier's status reaches us. Required unless catalog is given; cannot change later.
statuspage, feed, page, mail, manual
urlstring Status page, feed or web page to read, for statuspage, feed and page suppliers.
catalogstring Id of a well-known supplier to copy kind and URL from, when making a supplier.
rulesstring Rules for reading the supplier's mails and pages, one per line.
sendersstring Mail addresses or domains the supplier's mails come from, comma separated.
use_llmboolean Let AI read messages the rules do not understand (default true).
notifyboolean Alert the org's receivers when the supplier's status changes (default true).

GET /v1/suppliers/{id}

One supplier with its components and the incidents of the last 14 days.

PUT /v1/suppliers/{id} write key

Replace a supplier's settings. Its kind stays.

FieldType
namestring Supplier name. Required unless catalog is given.
kindstring How the supplier's status reaches us. Required unless catalog is given; cannot change later.
statuspage, feed, page, mail, manual
urlstring Status page, feed or web page to read, for statuspage, feed and page suppliers.
catalogstring Id of a well-known supplier to copy kind and URL from, when making a supplier.
rulesstring Rules for reading the supplier's mails and pages, one per line.
sendersstring Mail addresses or domains the supplier's mails come from, comma separated.
use_llmboolean Let AI read messages the rules do not understand (default true).
notifyboolean Alert the org's receivers when the supplier's status changes (default true).

DELETE /v1/suppliers/{id} write key

Stop following a supplier.

POST /v1/suppliers/{id}/reports write key

Report a supplier problem by hand, for example after a phone call.

FieldType
title requiredstring What is wrong, for example "Meter readings delayed".
status requiredstring How bad it is.
degraded, outage, maintenance
componentstring The supplier component it concerns, if any.
summarystring More detail.
starts_attime maintenance: when it starts.
ends_attime maintenance: when it ends.

POST /v1/suppliers/{id}/incidents/{iid}/resolve write key

Mark a supplier incident as over.

GET /v1/suppliers/{id}/dependencies

Which checks and systems need this supplier.

POST /v1/suppliers/{id}/dependencies write key

Say a check or a whole system needs this supplier, so its problems show as a possible cause.

FieldType
checkstring Id of the check that needs the supplier. Give check or system.
systemstring Id of a system that needs the supplier; all its checks inherit the dependency. Give check or system.
componentstring Supplier component the check or system needs; empty means the whole supplier.

DELETE /v1/suppliers/{id}/dependencies write key

Remove a dependency.

Parameter
checkId of the check (or give system).
systemId of the system (or give check).
componentThe supplier component, if the dependency has one.

Status pages

GET /v1/status-page

The main status page's settings.

PUT /v1/status-page write key

Replace the main status page's settings.

FieldType
slugstring Extra pages: short name in the page's address. Required when making one; cannot change later.
enabledboolean Whether the page is public.
titlestring Page title.
introstring Text under the title.
auto_incidentsboolean Main page only: open an incident when a component's check goes down and resolve it when it is back.
componentslist Extra pages only: ids of the components the page shows; empty shows every public component.

GET /v1/status-pages

List extra status pages.

POST /v1/status-pages write key

Make an extra status page showing chosen components.

FieldType
slugstring Extra pages: short name in the page's address. Required when making one; cannot change later.
enabledboolean Whether the page is public.
titlestring Page title.
introstring Text under the title.
auto_incidentsboolean Main page only: open an incident when a component's check goes down and resolve it when it is back.
componentslist Extra pages only: ids of the components the page shows; empty shows every public component.

GET /v1/status-pages/{id}

One extra status page.

PUT /v1/status-pages/{id} write key

Replace an extra status page's settings. Its slug stays.

FieldType
slugstring Extra pages: short name in the page's address. Required when making one; cannot change later.
enabledboolean Whether the page is public.
titlestring Page title.
introstring Text under the title.
auto_incidentsboolean Main page only: open an incident when a component's check goes down and resolve it when it is back.
componentslist Extra pages only: ids of the components the page shows; empty shows every public component.

DELETE /v1/status-pages/{id} write key

Delete an extra status page.

GET /v1/components

List status page components.

POST /v1/components write key

Add a component to the status pages.

FieldType
name requiredstring Name shown on status pages.
descriptionstring Text under the name.
checkstring Id of a check the component follows.
supplier_idstring Id of a supplier the component follows, instead of a check.
supplier_componentstring One of the supplier's components to follow instead of the whole supplier.
system_idstring Id of a system whose combined status the component follows, instead of a check or supplier. Left out, an update keeps the system unless check or supplier_id is given; "" removes it.
hiddenboolean Internal component: shown in the portal, not on public pages.
groupstring Heading the component shows under on status pages, with others in the same group. Left out, an update keeps the group; "" removes it.

GET /v1/components/{id}

One component.

PUT /v1/components/{id} write key

Replace a component's settings.

FieldType
name requiredstring Name shown on status pages.
descriptionstring Text under the name.
checkstring Id of a check the component follows.
supplier_idstring Id of a supplier the component follows, instead of a check.
supplier_componentstring One of the supplier's components to follow instead of the whole supplier.
system_idstring Id of a system whose combined status the component follows, instead of a check or supplier. Left out, an update keeps the system unless check or supplier_id is given; "" removes it.
hiddenboolean Internal component: shown in the portal, not on public pages.
groupstring Heading the component shows under on status pages, with others in the same group. Left out, an update keeps the group; "" removes it.

DELETE /v1/components/{id} write key

Delete a component.

Incidents and maintenance

GET /v1/incidents

Open incidents and those closed in the last 30 days.

Parameter
opentrue: only open ones.

POST /v1/incidents write key

Open an incident on the status pages.

FieldType
title requiredstring Short headline.
impact requiredstring How bad it is.
minor, major, critical
statusstring Where the work stands (investigating by default).
investigating, identified, monitoring
bodystring The first update, shown on the status page.
componentslist Ids of the affected components.
notifyboolean Tell the status pages' subscribers by mail and SMS.

GET /v1/incidents/{id}

One incident or maintenance window with all its updates.

POST /v1/incidents/{id}/updates write key

Post an update to an incident or maintenance window and set its status.

FieldType
status requiredstring New status. Incidents use investigating, identified, monitoring and resolved; maintenance uses scheduled, in_progress and completed. resolved and completed close it.
investigating, identified, monitoring, resolved, scheduled, in_progress, completed
bodystring The update's text.
notifyboolean Tell the status pages' subscribers by mail and SMS.

PATCH /v1/incidents/{id} write key

Change an incident's or maintenance window's title, impact or affected components.

FieldType
titlestring New headline. Left out: unchanged.
impactstring New impact; maintenance keeps its own. Left out: unchanged.
minor, major, critical
componentslist Ids of the affected components, replacing the current ones. Left out: unchanged.

DELETE /v1/incidents/{id} write key

Delete an incident or maintenance window.

GET /v1/maintenance

Open maintenance windows and those closed in the last 30 days.

Parameter
opentrue: only open ones.

POST /v1/maintenance write key

Schedule maintenance. Update or delete it under /v1/incidents/{id}.

FieldType
title requiredstring Short headline.
starts_at requiredtime When the window starts (RFC 3339).
ends_at requiredtime When the window ends (RFC 3339).
bodystring What will happen, shown on the status page.
componentslist Ids of the affected components.
notifyboolean Tell the status pages' subscribers by mail and SMS.

MCP server for AI assistants

AI assistants such as Claude can read the organisation's status through the MCP server (Model Context Protocol, streamable HTTP) and answer questions like "what is down, and is it Kamstrup?". It takes the same API keys. With a read key the assistant can only look. With a write key it can also open and update incidents, schedule maintenance, report supplier problems and pause alerts, and everything is written to the audit log.

https://api.deepalive.net/mcp

In Claude Code:

claude mcp add --transport http deepalive https://api.deepalive.net/mcp --header "Authorization: Bearer dak_..."

Other clients that speak MCP over HTTP:

{"mcpServers": {"deepalive": {"type": "http", "url": "https://api.deepalive.net/mcp", "headers": {"Authorization": "Bearer dak_..."}}}}
Tool
get_overviewStart here. Everything wrong right now: checks that are down or pending with the supplier problems that may cause them, suppliers with problems, open incidents and maintenance.
list_checksThe organisation's uptime checks with live status (ok, down, pending, unknown, paused), 90-day uptime and possible supplier causes.
get_checkOne check by its id, with live status and settings.
list_systemsSystems group checks that watch one thing, such as a server with an agent, an HTTP check and ping. Each has a combined status (ok, partial, down, ...), its checks and the suppliers it depends on.
list_suppliersSuppliers the organisation follows (for example Kamstrup or a cloud provider) and their current status: operational, degraded, outage or maintenance.
get_supplierOne supplier with its components and incidents from the last 14 days.
list_supplier_dependenciesWhich of the organisation's checks and systems depend on a supplier, so you can tell what a supplier outage affects.
list_incidentsIncidents on the organisation's status pages: open ones and those closed in the last 30 days.
get_incidentOne incident or maintenance window with all its updates.
list_maintenancePlanned maintenance: open windows and those closed in the last 30 days.
list_componentsComponents shown on the status pages, and which check or supplier each follows. Incidents refer to components by id.
create_incident write keyOpen an incident on the organisation's public status pages. Only do this when the user asks. Set notify to tell subscribers by mail and SMS.
update_incident write keyPost an update to an incident or maintenance window and set its status; resolved or completed closes it. Only do this when the user asks.
edit_incident write keyChange an incident's or maintenance window's title, impact or affected components without posting an update. Only do this when the user asks.
schedule_maintenance write keyAnnounce planned maintenance on the status pages. Only do this when the user asks.
report_supplier_problem write keyRecord a supplier problem the user heard about outside deepalive, for example by phone. It shows as a possible cause on the checks that depend on the supplier.
pause_check_alerts write keyHold a check's alerts for a number of minutes (0 resumes them), for example during work on the system. The check keeps running.
set_maintenance_mode write keyHold every alert in the organisation for a number of minutes, at most 480 (0 ends it), for example during a move or a large upgrade. Checks keep running.

Terraform

The Terraform provider manages checks, receivers, suppliers, dependencies, status pages and components as code. It uses the same API, so the key needs write access. Anything that already exists can be brought in with terraform import.

terraform {
  required_providers {
    deepalive = { source = "deepalive-net/deepalive" }
  }
}

provider "deepalive" {
  endpoint = "https://api.deepalive.net"
  # api_key from DEEPALIVE_API_KEY (a write key)
}

resource "deepalive_receiver" "ops" {
  name  = "ops"
  email = ["drift@example.com"]
}

resource "deepalive_check" "web" {
  name      = "Website"
  type      = "http"
  target    = "https://example.com/"
  receivers = [deepalive_receiver.ops.name]
}

resource "deepalive_component" "web" {
  name  = "Website"
  check = deepalive_check.web.id
}

The provider and a guide live in the terraform-provider-deepalive directory of the source code. Until it is published in the Terraform Registry, build it locally and use it with dev_overrides.