---
title: "Report one desktop app launch"
method: POST
path: "/v1/diagnostics/desktop-startup"
tags: ["Diagnostics"]
---

# Report one desktop app launch

`POST /v1/diagnostics/desktop-startup`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/diagnostics/desktop-startup`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Sent by the signed-in desktop app once per launch (a failed launch may be sent on the next one). Step timings and a fixed failure code only: no hostnames, error text, paths or device identifiers. Attributed to the caller's active organization and membership. Idempotent per attemptId; launches more than 7 days old or more than 5 minutes in the future are ignored.

## Request body

- DesktopStartupReport
  - `attemptId` string, uuid, required
  - `appVersion` string, required
  - `platform` 'darwin' | 'win32' | 'linux' | 'other', required
  - `observedAt` string, date-time, required
  - `success` boolean, required
  - `steps` object, required
    - `window` integer, nullable, required
    - `engine` integer, nullable, required
    - `signed_in` integer, nullable, required
    - `org_tools` integer, nullable, required
  - `failedStep` 'window' | 'engine' | 'signed_in' | 'org_tools', nullable, required
  - `reason` 'certificate' | 'dns' | 'offline' | 'timeout' | 'connection_refused' | 'server_error' | 'signed_out' | 'session_expired' | 'engine_failed' | 'org_unavailable' | 'unknown', nullable, required

## Response `204`

Recorded, already recorded, or ignored.

## Other responses

- `400`: The report was invalid.
- `401`: The caller must be signed in.
- `404`: No active organization.
- `429`: Too many reports from this member; Retry-After says when to send again.

## Changes

- **2026-10-20** `352faa73c6a2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/diagnostics/desktop-startup/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) · [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/e6eb4e5ce8a3?raw)
