---
title: "Heartbeat a sync job to keep it alive"
method: POST
path: "/v1/jobs/sync/heartbeat"
tags: ["Jobs"]
---

# Heartbeat a sync job to keep it alive

`POST /v1/jobs/sync/heartbeat`

## Request

- Base URL: `https://docs.grepr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.grepr.ai/v1/jobs/sync/heartbeat`
- Auth: one of:
  - API key in header `GREPR-API-KEY`
  - OpenID Connect (`https://grepr-prod.us.auth0.com/.well-known/openid-configuration`)

Sends a heartbeat to a synchronous job to keep it alive. This is needed to keep the connection open and to prevent the server from closing it.

## Request body

- string

## Response `202`

Heartbeat submitted successfully

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

---

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