> For the complete documentation index, see [llms.txt](https://docs.hydrozen.io/overview/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hydrozen.io/overview/api/heartbeat-monitors.md).

# Heartbeat Monitors

## GET /heartbeats

> List all heartbeat monitors

```json
{"openapi":"3.0.3","info":{"title":"Hydrozen.io API","version":"1.0.0"},"servers":[{"url":"https://app.hydrozen.io/api","description":"Production API server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"HeartbeatMonitor":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"expected_interval":{"type":"integer"},"last_ping":{"type":"string","format":"date-time"}}}}},"paths":{"/heartbeats":{"get":{"summary":"List all heartbeat monitors","tags":["Heartbeat Monitors"],"responses":{"200":{"description":"List of heartbeat monitors","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HeartbeatMonitor"}}}}}}}}}}
```

## POST /heartbeats

> Create a new heartbeat monitor

```json
{"openapi":"3.0.3","info":{"title":"Hydrozen.io API","version":"1.0.0"},"servers":[{"url":"https://app.hydrozen.io/api","description":"Production API server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"HeartbeatMonitor":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"expected_interval":{"type":"integer"},"last_ping":{"type":"string","format":"date-time"}}}}},"paths":{"/heartbeats":{"post":{"summary":"Create a new heartbeat monitor","tags":["Heartbeat Monitors"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"expected_interval":{"type":"integer"}}}}}},"responses":{"201":{"description":"Heartbeat monitor created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeartbeatMonitor"}}}}}}}}}
```

## GET /heartbeats/{id}

> Retrieve a heartbeat monitor

```json
{"openapi":"3.0.3","info":{"title":"Hydrozen.io API","version":"1.0.0"},"servers":[{"url":"https://app.hydrozen.io/api","description":"Production API server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"HeartbeatMonitor":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"expected_interval":{"type":"integer"},"last_ping":{"type":"string","format":"date-time"}}}}},"paths":{"/heartbeats/{id}":{"get":{"summary":"Retrieve a heartbeat monitor","tags":["Heartbeat Monitors"],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Heartbeat details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeartbeatMonitor"}}}}}}}}}
```

## DELETE /heartbeats/{id}

> Delete a heartbeat monitor

```json
{"openapi":"3.0.3","info":{"title":"Hydrozen.io API","version":"1.0.0"},"servers":[{"url":"https://app.hydrozen.io/api","description":"Production API server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/heartbeats/{id}":{"delete":{"summary":"Delete a heartbeat monitor","tags":["Heartbeat Monitors"],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted successfully"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hydrozen.io/overview/api/heartbeat-monitors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
