---
title: Heartbeat ping reference
description: Reference for the heartbeat ping URLs /h/{token}, /h/{token}/start and /h/{token}/fail, generated from the ZevSight OpenAPI file.
url: https://docs.zevsight.com/api/reference/heartbeats
---

# Heartbeat ping reference

> Reference for the heartbeat ping URLs /h/{token}, /h/{token}/start and /h/{token}/fail, generated from the ZevSight OpenAPI file.

Ping URLs for cron jobs and workers. The token in the URL is the credential.

No header is needed. Guides: [Heartbeats from cron](/send/heartbeats), [Heartbeat monitors](/monitor/heartbeats).

Base URL: `https://ingest.zevsight.com`. Machine-readable: [/openapi.yaml](/openapi.yaml).

## Ping: success

`GET https://ingest.zevsight.com/h/{token}`

Heartbeat ping (success). GET or POST, no auth beyond the token.

The token in the URL is the credential, as with every heartbeat
service, so a cron line can be `curl -fsS https://ingest.zevsight.com/h/<token>`.
An optional POST body (up to 8 KiB, text) is stored as the ping's note.
Pings are accepted at every quota level and subscription state.

**Authentication:** none. The token in the URL is the credential.

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `token` | path | string | yes |  |

### Responses

| Status | Description |
|---|---|
| `200` | Ping recorded. |
| `404` | No such object, or not visible to this credential (never 403 across tenants). |

### Example

```bash
curl -fsS https://ingest.zevsight.com/h/<PING_TOKEN>
```

Response: `200` with the text body `OK`.

## Ping: success with a note

`POST https://ingest.zevsight.com/h/{token}`

Heartbeat ping (success) with an optional note.

**Authentication:** none. The token in the URL is the credential.

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `token` | path | string | yes |  |

### Request body

Content type: `text/plain`. Optional.

### Responses

| Status | Description |
|---|---|
| `200` | Ping recorded. |
| `404` | No such object, or not visible to this credential (never 403 across tenants). |

### Example

```bash
curl -fsS -X POST https://ingest.zevsight.com/h/<PING_TOKEN> --data "exported 1,204 rows"
```

Response: `200` with the text body `OK`.

## Ping: job started

`GET https://ingest.zevsight.com/h/{token}/start`

Job started. The next ok or fail ping records its duration.

**Authentication:** none. The token in the URL is the credential.

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `token` | path | string | yes |  |

### Responses

| Status | Description |
|---|---|
| `200` | Ping recorded. |
| `404` | No such object, or not visible to this credential (never 403 across tenants). |

### Example

```bash
curl -fsS https://ingest.zevsight.com/h/<PING_TOKEN>/start
```

Response: `200` with the text body `OK`.

## Ping: job started with a note

`POST https://ingest.zevsight.com/h/{token}/start`

Job started, with an optional note (text, up to 8 KiB).

**Authentication:** none. The token in the URL is the credential.

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `token` | path | string | yes |  |

### Request body

Content type: `text/plain`. Optional.

### Responses

| Status | Description |
|---|---|
| `200` | Ping recorded. |
| `404` | No such object, or not visible to this credential (never 403 across tenants). |

### Example

```bash
curl -fsS -X POST https://ingest.zevsight.com/h/<PING_TOKEN>/start --data "run 2026-11-29"
```

Response: `200` with the text body `OK`.

## Ping: job failed

`GET https://ingest.zevsight.com/h/{token}/fail`

Job failed. Alerts immediately, without waiting for the grace period.

**Authentication:** none. The token in the URL is the credential.

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `token` | path | string | yes |  |

### Responses

| Status | Description |
|---|---|
| `200` | Ping recorded. |
| `404` | No such object, or not visible to this credential (never 403 across tenants). |

### Example

```bash
curl -fsS https://ingest.zevsight.com/h/<PING_TOKEN>/fail
```

Response: `200` with the text body `OK`.

## Ping: job failed with a note

`POST https://ingest.zevsight.com/h/{token}/fail`

Job failed, with an optional note such as the exit code or error (text, up to 8 KiB).

**Authentication:** none. The token in the URL is the credential.

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `token` | path | string | yes |  |

### Request body

Content type: `text/plain`. Optional.

### Responses

| Status | Description |
|---|---|
| `200` | Ping recorded. |
| `404` | No such object, or not visible to this credential (never 403 across tenants). |

### Example

```bash
curl -fsS -X POST https://ingest.zevsight.com/h/<PING_TOKEN>/fail --data "exit 1"
```

Response: `200` with the text body `OK`.
