---
title: "Dumps the window hierarchy"
method: GET
path: "/uiDevice/dumpWindowHierarchy"
---

# Dumps the window hierarchy

`GET /uiDevice/dumpWindowHierarchy`

Dumps the window hierarchy

## Query parameters

- `format` string

## Response `200`

Window hierarchy

- WindowHierarchy
  - `id` string
  - `text` string
  - `timestamp` string
  - `children` WindowHierarchyChild[]
    - `id` integer
    - `parent` integer
    - `text` string
    - `package` string
    - `checkable` boolean
    - `clickable` boolean
    - `index` integer
    - `contentDescription` string
    - `focusable` boolean
    - `resourceId` string
    - `enabled` boolean
    - `password` boolean
    - `longClickable` boolean
    - `longText` string
    - `clazz` string
    - `scrollable` boolean
    - `selected` boolean
    - `checked` boolean
    - `focused` boolean
    - `bounds` integer[]
    - `children` WindowHierarchyChild[]

## Other responses

- `default` — Operation was not successful

---

[API](https://skmtc.net/ktorio/apis/culebratester.md) · [All operations](https://skmtc.net/ktorio/apis/culebratester/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ktorio/culebratester/versions/f43d87b86446/schema)
