---
title: "Submit TUI response"
method: POST
path: "/tui/control/response"
---

# Submit TUI response

`POST /tui/control/response`

Submit a response to the TUI request queue to complete a pending request.

## Query parameters

- `directory` string
- `workspace` string

## Request body

- unknown

## Response `200`

Response submitted successfully

- boolean

## Changes

- **2026-04-25** `0a2d50cb4204` — 1 info
  - added the new optional `query` request parameter `workspace`
- **2025-12-16** `dc065d96c390` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/kaaass/apis/opencode/changes/tui/control/response/post.md)

---

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