---
title: "Gets the text content."
method: GET
path: "/uiObject2/{oid}/getText"
---

# Gets the text content.

`GET /uiObject2/{oid}/getText`

The target object should have been found using `findObject` with a `selector`.

## Path parameters

- `oid` integer, required

## Response `200`

OK

- Text
  - `text` string — the text in the object

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