> ## Documentation Index
> Fetch the complete documentation index at: https://hebeat.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# API introduction

> Manage monitors, incidents and notification channels over a REST API.

The Hebeat API is a JSON REST API scoped to one workspace. Use it to create and update monitors, read check results and uptime, respond to incidents and manage notification channels from your own tools.

## Base URL

```text theme={null}
https://api.hebeat.com
```

There is no version prefix in the path. Versions are selected with the [`Hebeat-Version` header](https://hebeat.com/docs/api-reference/versioning).

## Make your first request

Create an [API key](https://hebeat.com/docs/knowledge-base/api-keys.md), then call `GET /me` to see the key's workspace, permissions and API version:

```bash theme={null}
curl https://api.hebeat.com/me \
  -H "Authorization: Bearer $HEBEAT_API_KEY"
```

List your monitors:

```bash theme={null}
curl "https://api.hebeat.com/monitors?status=error&per_page=10" \
  -H "Authorization: Bearer $HEBEAT_API_KEY"
```

## Conventions

* Requests and responses are JSON. Send `Content-Type: application/json` with a body.
* Request bodies are limited to 64 KB.
* Field names use `snake_case`. IDs are UUIDs.
* Timestamps are ISO 8601 strings in UTC.
* Lists are paginated with `page` and `per_page`.
* Every response carries `Cache-Control: no-store` and the `Hebeat-Version` that served it.

## What the API covers

| Resource | Operations |
| - | - |
| Monitors and heartbeats | List, create, read, update, delete, pause, resume, run a check now, checks, metrics, daily uptime, alerts, status changes, heartbeat pings and uptime, rotate the ping URL |
| Incidents | List, read, acknowledge, resolve, mark as duplicate, change severity and assignee |
| Notification channels | List, create, update, delete, test, resend the confirmation, rotate a webhook secret, link channels to a monitor |

Workspace settings, members, invitations, billing and API keys are managed only from the app.

## OpenAPI

The API is described by an OpenAPI 3.1 document, served at [`https://api.hebeat.com/openapi.json`](https://api.hebeat.com/openapi.json). The endpoint pages in this reference are generated from the same document.

> [!NOTE]
>
> Self-hosted installations serve the same API on their own API origin, configured by the operator, with their own `/openapi.json`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.