Skip to content
Docs

Pulse API

Manage Edge Pulse checks, incidents, alert channels and status pages under /api/pulse.

All endpoints require authentication. What each part of Edge Pulse does is described in its own docs; this page is the reference for /api/pulse. Every time in a response is in milliseconds since 1 January 1970 UTC.

Create a check

Terminal
curl -X POST https://edge.network/api/pulse/checks \
  -H "Authorization: Bearer ek_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Production API",
    "type": "http",
    "config": {
      "url": "https://api.example.com/health",
      "expectStatus": [200],
      "bodyContains": "\"status\":\"ok\""
    },
    "intervalSec": 60,
    "locations": { "mode": "auto", "count": 3 },
    "channelIds": ["chn_5d2e8a41c07b93f6"]
  }'

Response (201):

JSON
{
  "check": {
    "id": "chk_3f9a1c2b7d4e5a60",
    "name": "Production API",
    "type": "http",
    "config": {
      "url": "https://api.example.com/health",
      "method": "GET",
      "headers": {},
      "body": "",
      "followRedirects": true,
      "expectStatus": [200],
      "bodyContains": "\"status\":\"ok\"",
      "expectHeaders": {},
      "verifyTls": true
    },
    "intervalSec": 60,
    "timeoutMs": 10000,
    "locations": { "mode": "auto", "count": 3 },
    "alertAfter": 2,
    "recoverAfter": 2,
    "degradedMs": null,
    "channelIds": ["chn_5d2e8a41c07b93f6"],
    "enabled": true,
    "target": "https://api.example.com/health",
    "status": "pending",
    "pausedReason": null,
    "assignedLocations": [],
    "lastRunAt": null,
    "openIncidentId": null,
    "createdAt": 1795478417000,
    "updatedAt": 1795478417000
  }
}
FieldRequiredDescription
nameYesUp to 100 characters
typeYeshttp, api, ssl, dns, tcp, udp, ping or browser. It cannot be changed later.
configYesWhat to test. Its fields depend on the type: see below.
intervalSecNoOne of 30, 60, 120, 300, 600, 900, 1800, 3600, 21600, 86400. Default 60 (browser: 300, ssl: 3600, which are also their shortest).
timeoutMsNo1000 to 30000, default 10000 (browser: 5000 to 60000, default 30000). Must be shorter than the interval.
locationsNo{ "mode": "auto", "count": 3 } (the default; count 1 to 20), or { "mode": "manual", "nodes": ["..."] } with up to 20 ids from GET /api/pulse/locations
alertAfterNoFailures in a row, from one location, that open an incident. 1 to 10, default 2. See Incidents.
recoverAfterNoPasses in a row before a location counts as recovered. 1 to 10, default 2.
degradedMsNoSlow threshold: a passing run that takes longer is marked slow. 1 to 60000, or null for none.
channelIdsNoThe alert channels to tell, up to 20
enabledNofalse creates the check paused. Default true.

In the response, status is pending, up, degraded (slow), down or paused. When it is paused, pausedReason is user, allowance, needs_card, spend_cap, no_locations or suspended: see When a check is not running.

The config of each type

A field in bold is required. What each field does is on Check types.

TypeFields
httpurl, method (default GET), headers (object), body, followRedirects (default true), expectStatus (list of codes; empty means any 2xx or 3xx), bodyContains, expectHeaders (object), verifyTls (default true)
apisteps (1 to 10), variables (object). Each step: url, name, method, headers, body, expectStatus, bodyContains, assertJson (list of { path, op, value }; op is equals, not_equals, contains or exists), extract (list of { name, source, path }; source is json, header or regex)
sslhost, port (default 443), serverName
dnshostname, recordType (A, AAAA, CNAME, MX, TXT or NS; default A), resolver (a public IP address), expectValues (list)
tcphost, port, send, expect
udphost, port, send (text, or hex: and pairs of hexadecimal digits), expect
pinghost, count (1 to 5, default 3)
browserurl, viewport ({ width, height }, each 320 to 2560; default 1366 by 768). Needs a card on file.

Checks

EndpointDescription
GET /api/pulse/checksList checks. Each has a summary of the last 24 hours: runs24h, uptime24h, avgMs24h.
POST /api/pulse/checksCreate a check
GET /api/pulse/checks/:idOne check, with the latest state of each of its locations
PATCH /api/pulse/checks/:idChange any of the fields above except type. Fields left out keep their values. Send config whole.
DELETE /api/pulse/checks/:idDelete a check and its results
POST /api/pulse/checks/:id/pausePause a check. An open incident is closed as paused.
POST /api/pulse/checks/:id/resumeResume a paused check
POST /api/pulse/checks/:id/runRun a check now from each of its locations. Returns { "dispatched": 3 }; the results appear under results with kind: "test".
POST /api/pulse/checks/testRun settings once, without saving them
GET /api/pulse/checks/:id/resultsSingle results from the last 48 hours, newest first
GET /api/pulse/checks/:id/metrics?hours=24Uptime and response times over a period, for charts

Testing settings

Terminal
curl -X POST https://edge.network/api/pulse/checks/test \
  -H "Authorization: Bearer ek_live_..." \
  -H "Content-Type: application/json" \
  -d '{ "type": "tcp", "config": { "host": "db.example.com", "port": 5432 } }'

Send type and config, and optionally timeoutMs and a nodeId to choose the location. The request waits for the answer and returns { result, location }. Tests are not billed. An account can start 60 an hour, counting /run and channel tests.

Results

QueryDescription
limit1 to 500, default 100
beforeOnly results older than this time. Pass the at of the last result to get the next page.
nodeIdOnly results from one location
failed1 for failures only

Each result has id, nodeId, location, kind (scheduled, confirm for a re-check, or test), at, durationMs, ok, slow, errorCode, error, timings and detail.

Metrics

hours is 1 to 2160 (90 days), default 24. The response has totals (runs, ok, uptimePct, avgMs, p50, p95, p99), a series of the same figures per location in steps of bucketSec seconds, and daily uptime by day. Only scheduled runs are counted, and response times are those of passing runs. How far back the figures go depends on the account: see Limits and billing.

Incidents

EndpointDescription
GET /api/pulse/incidentsList incidents, newest first. Filter with status (open or resolved) and checkId; limit is 1 to 200, default 50.
GET /api/pulse/incidents/:idOne incident and its timeline of events
PATCH /api/pulse/incidents/:idSet the public note shown on status pages, up to 2,000 characters. Send an empty string to remove it.

An incident has id, checkId, checkName, status, scope (regional or global), cause, locations, note, resolution, startedAt, resolvedAt and durationSec. Once resolved, resolution is recovered, paused, edited, deleted or monitoring_stopped. Incidents cannot be opened or closed through the API: see Incidents.

Alert channels

Terminal
curl -X POST https://edge.network/api/pulse/channels \
  -H "Authorization: Bearer ek_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "type": "webhook",
    "name": "Ops webhook",
    "config": { "url": "https://ops.example.com/hooks/pulse", "secret": "a-long-random-string" }
  }'

Response (201). The secret is never returned:

JSON
{
  "channel": {
    "id": "chn_5d2e8a41c07b93f6",
    "type": "webhook",
    "name": "Ops webhook",
    "config": { "url": "https://ops.example.com/hooks/pulse", "hasSecret": true },
    "enabled": true,
    "createdAt": 1795478417000
  }
}
Typeconfig to sendconfig returned
emailemails: 1 to 10 addressesemails
webhookurl, and an optional secret for signingurl, hasSecret
slackurl: a Slack incoming webhook, starting https://urlHint
pagerdutyroutingKey: an Events API v2 integration keyroutingKeyHint
EndpointDescription
GET /api/pulse/channelsList channels
POST /api/pulse/channelsCreate a channel from type, name, config and an optional enabled
PATCH /api/pulse/channels/:idChange name, config or enabled. A secret, Slack URL or integration key left out or sent empty keeps its stored value.
DELETE /api/pulse/channels/:idDelete a channel and take it off every check that used it
POST /api/pulse/channels/:id/testSend a test alert. Returns { "ok": true, "error": "" }.
GET /api/pulse/alertsThe log of alerts sent in the last 30 days. Filter with checkId and incidentId; limit is 1 to 500, default 100.

What a channel receives, and how to check a webhook's signature, is on Alerts.

Status pages

Terminal
curl -X POST https://edge.network/api/pulse/status-pages \
  -H "Authorization: Bearer ek_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Acme status",
    "slug": "acme",
    "components": [
      { "checkId": "chk_3f9a1c2b7d4e5a60", "name": "API" }
    ]
  }'
FieldRequiredDescription
titleYesUp to 100 characters
slugYesThe address after pulse.edge.network/: 3 to 40 lowercase letters, numbers and hyphens
descriptionNoIntroduction under the title, up to 500 characters
componentsNoUp to 50 of { checkId, name }, in the order shown. name is the public name; empty uses the check's name.
customDomainNoYour own domain. Needs a card on file, and is served once verified.
logoUrlNoAn https:// link to an image
accentNoA hex colour such as #0ea5e9
hideBrandingNotrue removes "Monitored by Edge Pulse". Default false.
publishedNofalse takes the page offline. Default true.
EndpointDescription
GET /api/pulse/status-pagesList status pages
POST /api/pulse/status-pagesCreate a status page
GET /api/pulse/status-pages/:idOne status page
PATCH /api/pulse/status-pages/:idChange any of the fields above. Send components whole. Changing customDomain means verifying again.
DELETE /api/pulse/status-pages/:idDelete a status page and its subscribers
POST /api/pulse/status-pages/:id/verify-domainLook up the domain's DNS and connect it if it points at Pulse. Returns { "verified": true, "error": "" }.

A status page is returned with url (where it is served now), sharedUrl, domainVerified, cnameTarget (the value for the CNAME record) and a count of confirmed subscribers. The public page has its own JSON and RSS, which need no key: see Status pages.

Locations and usage

EndpointDescription
GET /api/pulse/locationsEvery location: id, name, city, country, region, online, and capabilities (the check types it can run)
GET /api/pulse/overviewCounts of checks by status, open incidents, this month's runs, the account's limits, and pricing
GET /api/pulse/usage?month=2026-11Runs for a month, by day, with an estimate of the cost. Leave month out for the current month.

Permissions and errors

An API key acts with the role of the person who made it. Reading works for every role. Creating and changing need a role that can create resources, and deleting needs one that can delete them. Creating a check, a channel or a status page also needs a verified email address on the account.

A request Pulse turns down returns a JSON body with a sentence in error that says what to change.

StatusMeaning
400A field is missing or not valid, or a limit on channels or status pages is reached
402Needs a card on file: a page speed check, a domain of your own, or more checks than the account may have
404No check, incident, channel or status page with that id on this account
409Cannot be done as things stand: the address or domain is taken, the check is paused, or no location that can run it is online
429More than 60 tests in an hour
502Pulse is unavailable right now. Try again in a minute.
504A test's location did not answer in time. Try again.

The limits that apply to every part of the API are on Errors.

Something unclear or out of date? Tell us, or read this page as Markdown.