DorkOS
ApiSessionsIdStream health

Report a turn a window missed

POST
/api/sessions/{id}/stream-health

Called by the app when the fleet-wide /api/events stream says this session ran a turn and the window's own /api/sessions/{id}/events stream delivered none of it. The window reconnects on its own; the server only logs the report, beside its own count of open windows and live subscribers for the session, so the miss can be found later. Changes nothing.

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08/stream-health" \  -H "Content-Type: application/json" \  -d '{    "kind": "silent-turn",    "silentMs": 0,    "lastSeq": 0,    "connectionState": "connecting"  }'
Empty