---
title: "Host Heartbeat"
method: POST
path: "/cloud-computers/host/{computer_id}/heartbeat"
tags: ["cloud-computers"]
---

# Host Heartbeat

`POST /cloud-computers/host/{computer_id}/heartbeat`

## Request

- Base URL: `https://api.moda.app/v1`
- URL: `https://api.moda.app/v1/cloud-computers/host/{computer_id}/heartbeat`
- Auth: none declared

## Path parameters

- `computer_id` string, required

## Headers

- `X-Voyager-Cloud-Lease` string
- `X-Voyager-Cloud-Lease-Token` string
- `Moda-Version` '2026-04-12' | '2026-05-01'

## Request body

- CloudHeartbeatRequest
  - `busy` boolean, required
  - `busy_reason` string, nullable
  - `next_wake_at` string, date-time, nullable
  - `storage_bytes` integer, required
  - `connection` CloudConnection
    - `computer_id` string, nullable
    - `url` string, nullable
    - `public_key` string, nullable

## Response `200`

Successful Response

- CloudHeartbeatView
  - `accept_new_work` boolean, required
  - `blocked_reason` 'PLAN_REQUIRED' | 'INSUFFICIENT_CREDITS' | 'SPENDING_LIMIT_REACHED' | 'BILLING_UNAVAILABLE', nullable, required
  - `sleep_requested` boolean, required
  - `lease_expires_at` string, date-time, required

## Other responses

- `401`: Authentication required.
- `402`: Insufficient credits for a metered operation.
- `403`: Permission denied for this scope.
- `404`: Resource not found.
- `409`: Conflict (idempotency / resource state).
- `422`: Request validation failed.
- `429`: Rate limit exceeded.
- `500`: Internal error.

## Changes

- **2026-11-03** `9ac6a3abc0f8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/moda/apis/moda-public-api/changes/cloud-computers/host/:computer_id/heartbeat/post.md)

---

[API](https://skmtc.dev/moda/apis/moda-public-api.md) - [All operations](https://skmtc.dev/moda/apis/moda-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/moda/apis/moda-public-api/revisions/9ac6a3abc0f8?raw)
