---
title: "Uptime monitoring"
description: "Let your AI agent watch what it deploys with Edge Pulse: create uptime checks, alert channels and status pages through the Agent API, with the runs and cost known before anything is created."
url: "https://edge.network/docs/agent/pulse"
section: "Agent tooling"
---

# Uptime monitoring

"Watch the site you just deployed and email me if it goes down" is three API calls. Your agent tests the settings, creates an alert channel, and creates a check that runs from several locations. When you ask whether something is down, it reads the failing locations and the latest error.

## Why use Pulse through the Agent API

- **Monitoring belongs to the deploy:** the agent that put a site live is the one that knows its address, its health endpoint and what a good response looks like.
- **Cost before commitment:** a dry run returns the runs a check uses in a month and what that adds to the bill. The first 150,000 runs a month are free.
- **Test before saving:** the agent runs the settings once from a real location and sees the result before it creates anything.
- **Answers, not dashboards:** every response carries a `tell_user` sentence, such as which locations are failing and why.

## What it needs

An agent access code with the **Pulse** product. Reading needs no further permission. Creating, changing, pausing, running and testing need `manage`. Deleting needs `delete`.

A new access code starts with Pulse ticked. A code made before Pulse existed does not have it: edit the code in [Account → Agent Access](/console/agent-access) and tick Pulse.

> [!NOTE]
> Pulse is not available to a self-signed-up account until a human claims it. A check fetches an address the caller names, so the explore tier does not include it. See [Agent self-signup](/docs/agent/self-signup).

## API endpoints

```text
GET    /agent/pulse/overview                        # Checks by status, open incidents, runs this month, prices
GET    /agent/pulse/locations                       # Where checks can run from

GET    /agent/pulse/checks                          # List checks
POST   /agent/pulse/checks                          # Create a check (returns runs and cost a month)
POST   /agent/pulse/checks/test                     # Run settings once, without saving them
GET    /agent/pulse/checks/{id}                     # One check, with the state of each location
PATCH  /agent/pulse/checks/{id}                     # Change a check
DELETE /agent/pulse/checks/{id}                     # Delete a check and its results
POST   /agent/pulse/checks/{id}/pause               # Stop it running; no alerts until resumed
POST   /agent/pulse/checks/{id}/resume              # Start it again
POST   /agent/pulse/checks/{id}/run                 # Run it now from each location
GET    /agent/pulse/checks/{id}/results             # Single runs from the last 48 hours
GET    /agent/pulse/checks/{id}/metrics             # Uptime and response times over a period

GET    /agent/pulse/incidents                       # List incidents
GET    /agent/pulse/incidents/{id}                  # One incident and its timeline
PATCH  /agent/pulse/incidents/{id}                  # Set the public note status pages show

GET    /agent/pulse/channels                        # List alert channels
POST   /agent/pulse/channels                        # Create an alert channel
PATCH  /agent/pulse/channels/{id}                   # Change an alert channel
DELETE /agent/pulse/channels/{id}                   # Delete an alert channel
POST   /agent/pulse/channels/{id}/test              # Send a test alert
GET    /agent/pulse/alerts                          # Alerts sent in the last 30 days

GET    /agent/pulse/status-pages                    # List status pages
POST   /agent/pulse/status-pages                    # Create a status page
GET    /agent/pulse/status-pages/{id}               # One status page
PATCH  /agent/pulse/status-pages/{id}               # Change a status page
DELETE /agent/pulse/status-pages/{id}               # Delete a status page and its subscribers
POST   /agent/pulse/status-pages/{id}/verify-domain # Connect a custom domain
```

Every endpoint that changes something accepts `X-Dry-Run: true`. Requests take `snake_case` fields. A check, incident, channel or status page comes back as the [REST API](/docs/api/pulse) returns it.

## Testing settings

Run the settings once before saving them. The call waits for the result and is not billed.

```http
POST /agent/pulse/checks/test
Authorization: Bearer ea_live_...

{
  "type": "http",
  "target": "https://example.com/health"
}

# Response:
{
  "result": { "ok": true, "durationMs": 84.2 },
  "location": { "id": "ldn1", "name": "London" },
  "tell_user": "Passed from London in 84 ms."
}
```

## What to watch

`target` says what to watch in one line. `config` carries any further settings and is merged over it.

| Type | `target` | Checks that |
|---|---|---|
| `http` | `https://example.com/health` | A URL answers as expected |
| `api` | none: send `config.steps` | A workflow of up to 10 requests passes |
| `ssl` | `example.com` or `example.com:8443` | A certificate is valid and not about to expire |
| `dns` | `example.com` or `example.com MX` | A record resolves |
| `tcp`, `udp` | `db.example.com:5432` | A port answers |
| `ping` | `example.com` | A host answers |
| `browser` | `https://example.com` | Page speed in a real browser. Paid, never free |

The settings each type takes are on [Check types](/docs/pulse/check-types).

## Creating a check

Dry-run first. The plan says how many runs the check uses in a month and what it adds to the bill:

```http
POST /agent/pulse/checks
Authorization: Bearer ea_live_...
X-Dry-Run: true

{
  "name": "Website",
  "type": "http",
  "target": "https://example.com",
  "interval_sec": 60,
  "locations": 3,
  "channel_ids": ["chn_abc123"]
}

# Response:
{
  "dry_run": true,
  "would_create": { "type": "pulse_check", "check": { ... } },
  "estimate": {
    "runs_per_month": 129600,
    "page_speed": false,
    "account_runs_per_month": 129600,
    "free_runs_per_month": 150000,
    "estimated_monthly_usd": 0,
    "added_monthly_usd": 0
  },
  "tell_user": "Would create the http check \"Website\". About 129,600 runs
    a month. The account's 129,600 runs stay within the 150,000 free each month."
}
```

Send the same request without `X-Dry-Run` to create it. The response carries the check, the same estimate and a link to it in the console. Add an `Idempotency-Key` header to make a retry safe.

| Field | Meaning |
|---|---|
| `name`, `type` | Required. The type cannot be changed later |
| `target`, `config` | What to watch, as above |
| `interval_sec` | 30, 60, 120, 300, 600, 900, 1800, 3600, 21600 or 86400. Default 60. The shortest is 300 for `browser` and 3600 for `ssl` |
| `locations` | A number of locations for Pulse to choose (1 to 20, default 3), or a list of location ids |
| `timeout_ms` | 1000 to 30000, default 10000 |
| `alert_after` | Failures in a row, from one location, that open an incident. Default 2 |
| `recover_after` | Passes in a row before a location counts as recovered. Default 2 |
| `degraded_ms` | A passing run slower than this is marked slow |
| `channel_ids` | The alert channels to tell. Without one, nobody is told |
| `enabled` | `false` creates the check paused |

> [!WARNING]
> **A check with no alert channel tells nobody.** Create a channel first and pass its id in `channel_ids`, or add it afterwards with `PATCH`.

## Alert channels

Alerts are free. A channel is email, a webhook, Slack or PagerDuty:

```http
POST /agent/pulse/channels
Authorization: Bearer ea_live_...

{
  "type": "email",
  "name": "Ops team",
  "config": { "emails": ["ops@example.com"] }
}
```

| Type | `config` |
|---|---|
| `email` | `{ "emails": [...] }`, 1 to 10 addresses |
| `webhook` | `{ "url": "...", "secret": "..." }`. The secret is optional and signs each delivery |
| `slack` | `{ "url": "..." }`, a Slack incoming webhook |
| `pagerduty` | `{ "routingKey": "..." }`, an Events API v2 integration key |

`POST /agent/pulse/channels/{id}/test` sends a test alert, so the agent can confirm it arrives before relying on it.

## Is it down?

`GET /agent/pulse/checks/{id}` returns the check with the latest state of each location. The `tell_user` sentence names the locations that are failing and the latest error:

```text
"Website" (http, https://example.com) is down. It runs every 60 seconds
from 3 locations. Failing from London, Frankfurt: connection timed out.
```

For more, read the single runs and the figures over a period:

```text
GET /agent/pulse/checks/{id}/results?failed=true&limit=20
GET /agent/pulse/checks/{id}/metrics?hours=168
```

Results cover the last 48 hours. Metrics give uptime, the average and the p50, p95 and p99 response times for up to 90 days. Add `?series=true` for the figures per location in time steps.

## Changing, pausing and deleting

`PATCH` changes only the fields sent. A new `target` changes what is watched and keeps the other settings. `config` on its own replaces the settings whole. A dry run of a change says how the bill moves from now.

Pause a check for planned maintenance and resume it afterwards. A paused check watches nothing, sends no alerts and uses no runs.

Deleting a check removes its results and incidents, needs the `delete` permission and must be confirmed:

```http
DELETE /agent/pulse/checks/{id}
Authorization: Bearer ea_live_...
X-Confirm: delete
```

Without the header the request is refused with `CONFIRMATION_REQUIRED` and nothing is deleted. A status page is deleted the same way.

## Status pages

A status page shows the checks you choose, under the names you choose, at `pulse.edge.network/{slug}`. It is free and public as soon as it is created.

```http
POST /agent/pulse/status-pages
Authorization: Bearer ea_live_...

{
  "title": "Example status",
  "slug": "example",
  "components": [
    { "check_id": "chk_abc123", "name": "Website" },
    { "check_id": "chk_def456", "name": "API" }
  ]
}
```

To serve the page on a domain of your own, set `custom_domain`, point a CNAME at the `cnameTarget` in the response, then call `verify-domain`. A custom domain is $2 a month and needs a card on file.

During an incident, `PATCH /agent/pulse/incidents/{id}` with a `note` sets the public text the page shows for it. It is published at once, so the agent should agree the wording with you first.

## Budgets

| What | Price |
|---|---|
| Check runs | 150,000 a month free, then $0.01 per 1,000. A run is one scheduled test from one location |
| Page speed (`browser`) runs | $1.00 per 1,000, never free |
| Status page on your own domain | $2 a month |
| Alerts, tests, runs on demand, status pages on pulse.edge.network | Free |

An access code with a hard budget of $0 can create checks that stay within the free runs. Three things are refused with `BUDGET_EXCEEDED`: a page speed check, a status page on its own domain, and a check that would take an account with a card on file past its free runs. An account with no card is never charged: at the limit its checks pause instead.

## Typical agent workflow

1. **Test the settings:** `POST /agent/pulse/checks/test` against the address just deployed.
2. **Find or create an alert channel:** list the channels, and create one if there is none.
3. **Dry-run the check:** report the runs and cost a month.
4. **Create the check:** with the channel's id in `channel_ids`.
5. **Report back:** the check's name, what it watches, how often, and who is told when it fails.

## With MCP

The [MCP server](/docs/agent/mcp) has 18 Pulse tools that call these endpoints, from `edge_get_pulse_overview` and `edge_create_pulse_check` to `edge_create_pulse_status_page`. Each is listed with its parameters in the [MCP tool reference](/docs/agent/mcp-tools).

## See also

- [Edge Pulse docs](/docs/pulse): check types, incidents, alerts and status pages in full
- [Pulse API reference](/docs/api/pulse): the REST API the console and CLI use
- [Pulse commands](/docs/cli/pulse): the same from your terminal

## Next steps

- [Edge Pulse docs](/docs/pulse): Check types, incidents, alerts and status pages in full
- [MCP tool reference](/docs/agent/mcp-tools): The 18 Pulse tools, with their parameters
