---
title: "Heartbeat push"
method: POST
path: "/api/v1/heartbeats/{token}"
tags: ["ingestion"]
---

# Heartbeat push

`POST /api/v1/heartbeats/{token}`

## Request

- Base URL: `https://monit.rs`
- URL: `https://monit.rs/api/v1/heartbeats/{token}`
- Auth: none declared

Cron-liveness ping. Token-in-URL (no Bearer auth needed). If no heartbeat received within `interval_seconds * 1.2`, monit.rs opens an incident. Accepts POST, GET, HEAD. Body up to 100kB stored as diagnostic.

## Path parameters

- `token` string, required

## Query parameters

- `state` 'ok' | 'fail'

## Response `204`

Heartbeat recorded.

## Other responses

- `404`: Token not recognized.
- `413`: Body exceeds 100kB.

---

[API](https://skmtc.dev/monit/apis/monit-rs-public-api.md) · [All operations](https://skmtc.dev/monit/apis/monit-rs-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/monit/apis/monit-rs-public-api/revisions/7e1923981112?raw)
