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

# Finds an object

`GET /uiDevice/findObject`

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

## Query parameters

- `resourceId` string
- `uiSelector` string
- `bySelector` string

## 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)
