Skip to main content
GET
Get device UI state

Authorizations

X-Api-Key
string
header
required

Workspace API key, created in the dashboard under Settings → API Keys.

Path Parameters

workspaceId
string<uuid>
required

Workspace UUID. Caller must have access.

deviceId
string
required

Device id (paired into the workspace).

Response

Device state

deviceId
string
required
phoneState
object
required
deviceContext
object
required
a11yTree
string
required

Formatted UI element tree with 1-based interactive indices. Use [N] in POST /tap { index: N } to tap the Nth interactive element. On an iPhone it is the iOS accessibility tree, each frame {{x, y}, {width, height}} in points, and [N] taps the centre of that frame.