---
title: "Add Heartbeat Task"
method: POST
path: "/api/agents/{agent_id}/heartbeat-tasks"
tags: ["agents"]
---

# Add Heartbeat Task

`POST /api/agents/{agent_id}/heartbeat-tasks`

## Request

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

Add a new heartbeat task. Uses LLM to clarify the instruction.

## Path parameters

- `agent_id` string, uuid, required

## Query parameters

- `skip_refresh` boolean: Skip workspace refresh (agent-side calls)

## Request body

- HeartbeatTaskAddRequest: Request to add a new heartbeat task via natural language.
  - `text` string, required

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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