---
title: "Performs a swipe."
method: GET
path: "/uiDevice/swipe"
---

# Performs a swipe.

`GET /uiDevice/swipe`

Performs a swipe from one coordinate to another using the number of steps to determine smoothness and speed. Each step execution is throttled to 5ms per step. So for a 100 steps, the swipe will take about 1/2 second to complete.

## Query parameters

- `startX` integer, required
- `startY` integer, required
- `endX` integer, required
- `endY` integer, required
- `steps` integer, required

## Response `200`

OK

- StatusResponse
  - `status` 'OK' | 'ERROR' | 'UNKNOWKN', required
  - `statusCode` integer
  - `errorMessage` string

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