---
title: "POST /workflow-runs/{run_id}/heartbeat"
method: POST
path: "/workflow-runs/{run_id}/heartbeat"
tags: ["Workflow Executor"]
---

# POST /workflow-runs/{run_id}/heartbeat

`POST /workflow-runs/{run_id}/heartbeat`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/workflow-runs/{run_id}/heartbeat`
- Auth: HTTP bearer

## Path parameters

- `run_id` string, uuid, required

## Response `200`

Lease extended, or `cancelled: true` to stop

- WorkflowHeartbeatResponse
  - `cancelled` boolean, required: True once an operator cancelled the run: stop at the next step.
  - `lease_expires_at` string, date-time, required

## Other responses

- `401`: Missing or invalid invocation token
- `404`: Run not found
- `409`: The token's lease is no longer current

## Changes

- **2026-11-15** `188ea295ffc6`: 1 info
  - endpoint added
- **2026-11-15** `72c32d8dee65`: 1 breaking
  - api path removed without deprecation
- **2026-11-14** `101ef74660bc`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/workflow-runs/:run_id/heartbeat/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
