---
title: "Get next TUI request"
method: GET
path: "/tui/control/next"
---

# Get next TUI request

`GET /tui/control/next`

Retrieve the next TUI (Terminal User Interface) request from the queue for processing.

## Query parameters

- `directory` string
- `workspace` string

## Response `200`

Next TUI request

- object
  - `path` string, required
  - `body` unknown, required

---

[API](https://skmtc.net/kaaass/apis/opencode.md) · [All operations](https://skmtc.net/kaaass/apis/opencode/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kaaass/opencode/revisions/8bb9a15bd144/schema)
