---
title: "Window heartbeat"
method: POST
path: "/api/desktop/windows/{windowId}/heartbeat"
tags: ["desktop"]
---

# Window heartbeat

`POST /api/desktop/windows/{windowId}/heartbeat`

## Request

- The document declares no server URL.
- Auth: none declared

Tells the desktop app that a window is still open, and answers which workspaces of the session hold unsaved changes. The app shuts down once no window has sent one for a while. Only in the desktop app.

## Path parameters

- `windowId` string, required

## Response `200`

OK

- DesktopStatusDTO
  - `instanceId` string
  - `unsavedWorkspaces` string[]
  - `workspaceIds` object
  - `workspacesWithFile` string[]

## Changes

- **2026-12-03** `2154fa285897`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/soptim/apis/rdfarchitect-backend/changes/api/desktop/windows/:windowId/heartbeat/post.md)

---

[API](https://skmtc.dev/soptim/apis/rdfarchitect-backend.md) - [All operations](https://skmtc.dev/soptim/apis/rdfarchitect-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/soptim/apis/rdfarchitect-backend/revisions/21e6477d8dd8?raw)
