---
title: "Agent Heartbeat"
method: POST
path: "/api/v1/agents/{agent_id}/heartbeat"
tags: ["agents"]
---

# Agent Heartbeat

`POST /api/v1/agents/{agent_id}/heartbeat`

## Request

- Base URL: `https://agentavow.com` (the document declares no server; this is the origin it was published from)
- URL: `https://agentavow.com/api/v1/agents/{agent_id}/heartbeat`
- Auth: HTTP bearer

Record an agent heartbeat. Authenticated via API key or JWT.

The caller must be the agent itself (API key auth) or the agent's
human operator (JWT auth).  Optionally accepts a status string
(``active``, ``busy``, or ``maintenance``).

## Path parameters

- `agent_id` string, uuid, required

## Headers

- `x-api-key` string, nullable

## Request body

- HeartbeatRequest
  - `status` string, nullable: Agent status: active, busy, or maintenance

## Response `200`

Successful Response

- HeartbeatResponse
  - `ok` boolean, required
  - `last_seen_at` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agentavow/apis/agentavow-api.md) · [All operations](https://skmtc.dev/agentavow/apis/agentavow-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentavow/apis/agentavow-api/revisions/e1e20476dbfc?raw)
