---
title: "Finds an object"
method: POST
path: "/uiDevice/findObject"
---

# Finds an object

`POST /uiDevice/findObject`

Finds an object. The object found, if any, can be later used in other call like API.click.

## Request body

- Selector
  - `checkable` boolean
  - `clazz` string
  - `clickable` boolean
  - `depth` integer
  - `desc` string
  - `pkg` string
  - `res` string
  - `scrollable` boolean
  - `text` string
  - `index` integer
  - `instance` integer

## Response `200`

Object found

- ObjectRef
  - `oid` integer, required
  - `className` string

## Other responses

- `404` — Object not found
- `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)
