# Send run heartbeat

```http
POST /runs/{run_id}/heartbeats
```

Renew the execution lease of the current run generation.

## Parameters

| Name                                  | In     | Required | Description                                                                                         |
| ------------------------------------- | ------ | -------- | --------------------------------------------------------------------------------------------------- |
| `run_id`                              | path   | Yes      |                                                                                                     |
| `x-veryfront-run-credential-rotation` | header |          | Opt in to atomic replacement of all five exact-child credentials on successful inherited heartbeat. |
| `x-veryfront-run-dispatch-acceptance` | header |          | Atomically accept this detached dispatch before starting execution. A duplicate returns 409.        |

## Request body

| Field                    | Type    | Required | Description |
| ------------------------ | ------- | -------- | ----------- |
| `lease_duration_seconds` | integer |          |             |

## Responses

| Status | Description             |
| ------ | ----------------------- |
| 200    | Execution lease renewed |
| 400    | Bad request             |
| 401    | Unauthorized            |
| 403    | Forbidden               |
| 404    | Not found               |
| 409    | Conflict                |
| 413    | Payload too large       |
| 429    | Rate limit exceeded     |
