Skip to main content
GET
JavaScript
Alongside the main a11y_tree, the response carries a separate ime_tree for the on-screen keyboard window, phone_state (foreground app, focused element, keyboard visibility), and device_context (screen bounds, display density).
Element boundsInScreen values are in the same pixel space the tap and swipe endpoints use — read an element’s bounds and tap the center of its box for element-driven automation.

Authorizations

Authorization
string
header
required

Bearer token via Authorization header

Headers

X-Device-Display-ID
integer<int64>
default:0
Required range: x >= 0

Path Parameters

deviceId
string
required

Query Parameters

filter
boolean
default:false

Response

OK

a11y_tree
object
required
device_context
object
required
ime_tree
object
required
phone_state
object
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://example.com/schemas/AndroidState.json"