Skip to main content
GET
/
v1
/
desktop
/
windows
/
focused
Get the currently focused desktop window.
curl --request GET \
  --url http://localhost:2468/v1/desktop/windows/focused
{
  "height": 1,
  "id": "<string>",
  "isActive": true,
  "title": "<string>",
  "width": 1,
  "x": 123,
  "y": 123
}

Response

Focused window info

height
integer<int32>
required
Required range: x >= 0
id
string
required
isActive
boolean
required
title
string
required
width
integer<int32>
required
Required range: x >= 0
x
integer<int32>
required
y
integer<int32>
required